VAPOR3 3.9.4
Signals | Public Member Functions | Protected Member Functions | List of all members
TFHistogramMap Class Reference

#include <TFHistogramWidget.h>

Inheritance diagram for TFHistogramMap:
TFMap

Signals

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

Public Member Functions

 TFHistogramMap (const std::string &variableNameTag, TFMapWidget *parent=nullptr)
 
QSize minimumSizeHint () const
 
void LostFocus ()
 
void PopulateSettingsMenu (QMenu *menu) const
 
- 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)
 

Protected Member Functions

void paramsUpdate ()
 
TFInfoWidgetcreateInfoWidget ()
 
void paintEvent (QPainter &p)
 These map to the QWidget counterparts.
 
void mousePressEvent (QMouseEvent *event)
 
void mouseReleaseEvent (QMouseEvent *event)
 
void mouseMoveEvent (QMouseEvent *event)
 
- 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)
 

Additional Inherited Members

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

Detailed Description

Definition at line 11 of file TFHistogramWidget.h.

Constructor & Destructor Documentation

◆ TFHistogramMap()

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

Member Function Documentation

◆ createInfoWidget()

TFInfoWidget * TFHistogramMap::createInfoWidget ( )
protectedvirtual

Implements TFMap.

◆ InfoDeselected

void TFHistogramMap::InfoDeselected ( )
signal

◆ LostFocus()

void TFHistogramMap::LostFocus ( )
inlinevirtual

Implements TFMap.

Definition at line 20 of file TFHistogramWidget.h.

◆ minimumSizeHint()

QSize TFHistogramMap::minimumSizeHint ( ) const
virtual

Implements TFMap.

◆ mouseMoveEvent()

void TFHistogramMap::mouseMoveEvent ( QMouseEvent *  event)
protectedvirtual

Reimplemented from TFMap.

◆ mousePressEvent()

void TFHistogramMap::mousePressEvent ( QMouseEvent *  event)
protectedvirtual

Reimplemented from TFMap.

◆ mouseReleaseEvent()

void TFHistogramMap::mouseReleaseEvent ( QMouseEvent *  event)
protectedvirtual

Reimplemented from TFMap.

◆ paintEvent()

void TFHistogramMap::paintEvent ( QPainter &  p)
protectedvirtual

These map to the QWidget counterparts.

Implements TFMap.

◆ paramsUpdate()

void TFHistogramMap::paramsUpdate ( )
protectedvirtual

Implements TFMap.

◆ PopulateSettingsMenu()

void TFHistogramMap::PopulateSettingsMenu ( QMenu *  menu) const
virtual

Reimplemented from TFMap.

◆ UpdateInfo

void TFHistogramMap::UpdateInfo ( float  value)
signal

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