VAPOR3 3.9.4
Public Slots | Signals | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
TFIsoValueMap Class Reference

#include <TFIsoValueWidget.h>

Inheritance diagram for TFIsoValueMap:
TFMap

Public Slots

void DeselectControlPoint ()
 
void UpdateFromInfo (float value)
 
- Public Slots inherited from TFMap
void update ()
 These map to the QWidget counterparts.
 
void show ()
 
void hide ()
 

Signals

void ControlPointDeselected ()
 
void UpdateInfo (float value)
 
- Signals inherited from TFMap
void Activated (TFMap *who)
 Emittend when focus was gained.
 

Public Member Functions

 TFIsoValueMap (const std::string &variableNameTag, TFMapWidget *parent=nullptr)
 
void PopulateContextMenu (QMenu *menu, const glm::vec2 &p) override
 (Right-click menu)
 
QSize minimumSizeHint () const override
 
void LostFocus () override
 
TFIsoValueMapSetEquidistantIsoValues (bool b)
 
- Public Member Functions inherited from TFMap
 TFMap (const std::string &variableNameTag, TFMapWidget *parent=nullptr)
 
TFInfoWidgetGetInfoWidget ()
 
void Update (VAPoR::DataMgr *dataMgr, VAPoR::ParamsMgr *paramsMgr, VAPoR::RenderParams *rParams)
 
bool HasValidParams () const
 
bool IsShown () const
 
virtual void LostFocus ()=0
 
virtual QSize minimumSizeHint () const =0
 
virtual void PopulateContextMenu (QMenu *menu, const glm::vec2 &p)
 (Right-click menu)
 
virtual void PopulateSettingsMenu (QMenu *menu) const
 
int width () const
 
int height () const
 
void resize (int width, int height)
 
bool isLargeEnoughToPaint () const
 Sometimes Qt tries painting a 0 sized widget.
 
QRect paddedRect () const
 Returns the rect of the internal padded area.
 
QRect rect () const
 
const QFont getFont () const
 
virtual void paintEvent (QPainter &p)=0
 These map to the QWidget counterparts.
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void mouseDoubleClickEvent (QMouseEvent *event)
 

Public Attributes

bool BottomPadding = false
 

Protected Member Functions

void paramsUpdate () override
 
TFInfoWidgetcreateInfoWidget () override
 
void paintEvent (QPainter &p) override
 These map to the QWidget counterparts.
 
void drawControl (QPainter &p, const QPointF &pos, bool selected=false, bool invalid=false) const
 
float GetControlPointTriangleHeight () const
 
float GetControlPointSquareHeight () const
 
QRect GetControlPointArea (const QPoint &p) const
 
void mousePressEvent (QMouseEvent *event) override
 
void mouseReleaseEvent (QMouseEvent *event) override
 
void mouseMoveEvent (QMouseEvent *event) override
 
void mouseDoubleClickEvent (QMouseEvent *event) override
 
QMargins GetPadding () const override
 
- Protected Member Functions inherited from TFMap
virtual void paramsUpdate ()=0
 
VAPoR::DataMgrgetDataMgr () const
 
VAPoR::ParamsMgrgetParamsMgr () const
 
VAPoR::RenderParamsgetRenderParams () const
 
VAPoR::MapperFunctiongetMapperFunction () const
 
std::string getVariableName () const
 
const std::string & getVariableNameTag () const
 
void drawControl (QPainter &p, const QPointF &pos, bool selected=false) const
 
virtual TFInfoWidgetcreateInfoWidget ()=0
 
glm::vec2 NDCToPixel (const glm::vec2 &v) const
 
QPointF NDCToQPixel (const glm::vec2 &v) const
 
QPointF NDCToQPixel (float x, float y) const
 
glm::vec2 PixelToNDC (const QPointF &p) const
 
glm::vec2 PixelToNDC (const glm::vec2 &p) const
 
virtual QMargins GetPadding () const
 
int GetControlPointRadius () const
 
void BeginSaveStateGroup (VAPoR::ParamsMgr *paramsMgr, const std::string &description="")
 
void EndSaveStateGroup (VAPoR::ParamsMgr *paramsMgr)
 
void CancelSaveStateGroup (VAPoR::ParamsMgr *paramsMgr)
 

Detailed Description

Definition at line 11 of file TFIsoValueWidget.h.

Constructor & Destructor Documentation

◆ TFIsoValueMap()

TFIsoValueMap::TFIsoValueMap ( const std::string &  variableNameTag,
TFMapWidget parent = nullptr 
)

Member Function Documentation

◆ ControlPointDeselected

void TFIsoValueMap::ControlPointDeselected ( )
signal

◆ createInfoWidget()

TFInfoWidget * TFIsoValueMap::createInfoWidget ( )
overrideprotectedvirtual

Implements TFMap.

◆ DeselectControlPoint

void TFIsoValueMap::DeselectControlPoint ( )
slot

◆ drawControl()

void TFIsoValueMap::drawControl ( QPainter &  p,
const QPointF &  pos,
bool  selected = false,
bool  invalid = false 
) const
protected

◆ GetControlPointArea()

QRect TFIsoValueMap::GetControlPointArea ( const QPoint &  p) const
protected

◆ GetControlPointSquareHeight()

float TFIsoValueMap::GetControlPointSquareHeight ( ) const
protected

◆ GetControlPointTriangleHeight()

float TFIsoValueMap::GetControlPointTriangleHeight ( ) const
protected

◆ GetPadding()

QMargins TFIsoValueMap::GetPadding ( ) const
overrideprotectedvirtual

Reimplemented from TFMap.

◆ LostFocus()

void TFIsoValueMap::LostFocus ( )
overridevirtual

Implements TFMap.

◆ minimumSizeHint()

QSize TFIsoValueMap::minimumSizeHint ( ) const
overridevirtual

Implements TFMap.

◆ mouseDoubleClickEvent()

void TFIsoValueMap::mouseDoubleClickEvent ( QMouseEvent *  event)
overrideprotectedvirtual

Reimplemented from TFMap.

◆ mouseMoveEvent()

void TFIsoValueMap::mouseMoveEvent ( QMouseEvent *  event)
overrideprotectedvirtual

Reimplemented from TFMap.

◆ mousePressEvent()

void TFIsoValueMap::mousePressEvent ( QMouseEvent *  event)
overrideprotectedvirtual

Reimplemented from TFMap.

◆ mouseReleaseEvent()

void TFIsoValueMap::mouseReleaseEvent ( QMouseEvent *  event)
overrideprotectedvirtual

Reimplemented from TFMap.

◆ paintEvent()

void TFIsoValueMap::paintEvent ( QPainter &  p)
overrideprotectedvirtual

These map to the QWidget counterparts.

Implements TFMap.

◆ paramsUpdate()

void TFIsoValueMap::paramsUpdate ( )
overrideprotectedvirtual

Implements TFMap.

◆ PopulateContextMenu()

void TFIsoValueMap::PopulateContextMenu ( QMenu *  menu,
const glm::vec2 &  p 
)
overridevirtual

(Right-click menu)

Reimplemented from TFMap.

◆ SetEquidistantIsoValues()

TFIsoValueMap * TFIsoValueMap::SetEquidistantIsoValues ( bool  b)
inline

Definition at line 23 of file TFIsoValueWidget.h.

◆ UpdateFromInfo

void TFIsoValueMap::UpdateFromInfo ( float  value)
slot

◆ UpdateInfo

void TFIsoValueMap::UpdateInfo ( float  value)
signal

Member Data Documentation

◆ BottomPadding

bool TFIsoValueMap::BottomPadding = false

Definition at line 15 of file TFIsoValueWidget.h.


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