Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
Loading...
Searching...
No Matches
QuantumVortexPlotWidget Class Referencefinal

Qt visualization component for Quantum Vortex Plot Widget. More...

#include <quantumvortexplotwidget.h>

Public Member Functions

 QuantumVortexPlotWidget (QWidget *parent=nullptr)
 Performs quantum vortex plot widget.
 
void setData (const qpe::QuantumVortexHistory2D &history, double mass, double hbar)
 Sets data.
 
void clear ()
 Performs clear.
 
QSize minimumSizeHint () const override
 Performs minimum size hint.
 

Protected Member Functions

void paintEvent (QPaintEvent *event) override
 Paints event.
 

Private Attributes

const qpe::QuantumVortexHistory2D * history_ = nullptr
 
double mass_ = 1.0
 
double hbar_ = 1.0
 

Detailed Description

Qt visualization component for Quantum Vortex Plot Widget.

The class presents computed state to the user and does not alter the propagated physical state.

Definition at line 25 of file quantumvortexplotwidget.h.

Constructor & Destructor Documentation

◆ QuantumVortexPlotWidget()

QuantumVortexPlotWidget::QuantumVortexPlotWidget ( QWidget * parent = nullptr)
explicit

Performs quantum vortex plot widget.

Parameters
parentOptional Qt parent object/widget.

Definition at line 36 of file quantumvortexplotwidget.cpp.

Member Function Documentation

◆ clear()

void QuantumVortexPlotWidget::clear ( )

Performs clear.

Definition at line 53 of file quantumvortexplotwidget.cpp.

References history_.

◆ minimumSizeHint()

QSize QuantumVortexPlotWidget::minimumSizeHint ( ) const
override

Performs minimum size hint.

Definition at line 59 of file quantumvortexplotwidget.cpp.

◆ paintEvent()

◆ setData()

void QuantumVortexPlotWidget::setData ( const qpe::QuantumVortexHistory2D & history,
double mass,
double hbar )

Sets data.

Parameters
historyThe history value used by the operation.
massThe mass value used by the operation.
hbarThe hbar value used by the operation.

Definition at line 43 of file quantumvortexplotwidget.cpp.

References hbar_, history_, and mass_.

Member Data Documentation

◆ hbar_

double QuantumVortexPlotWidget::hbar_ = 1.0
private

Definition at line 63 of file quantumvortexplotwidget.h.

Referenced by paintEvent(), and setData().

◆ history_

const qpe::QuantumVortexHistory2D* QuantumVortexPlotWidget::history_ = nullptr
private

Definition at line 61 of file quantumvortexplotwidget.h.

Referenced by clear(), paintEvent(), and setData().

◆ mass_

double QuantumVortexPlotWidget::mass_ = 1.0
private

Definition at line 62 of file quantumvortexplotwidget.h.

Referenced by paintEvent(), and setData().


The documentation for this class was generated from the following files: