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

#include <TFOpacityInfoWidget.h>

Inheritance diagram for TFOpacityInfoWidget:
TFInfoWidget

Public Slots

void SetControlPoint (float value, float opacity)
 
void DeselectControlPoint ()
 

Signals

void ControlPointChanged (float value, float opacity)
 

Public Member Functions

 TFOpacityInfoWidget (const std::string &variableNameTag)
 
void SetOpacity (float opacity)
 
- Public Member Functions inherited from TFInfoWidget
 TFInfoWidget (const std::string &variableNameTag)
 
void Update (VAPoR::RenderParams *rParams)
 
void DeselectControlPoint ()
 
void SetNormalizedValue (float value)
 

Protected Member Functions

void updateOpacity ()
 
float getOpacityFromEdit () const
 
void controlPointChanged ()
 
- Protected Member Functions inherited from TFInfoWidget
void paintEvent (QPaintEvent *event)
 
void updateValue ()
 
void updateValueEditValidator ()
 
bool isUsingNormalizedValue () const
 
bool isUsingMappedValue () const
 
float toMappedValue (float normalized) const
 
float toNormalizedValue (float mapped) const
 
float getValueFromEdit () const
 
virtual void controlPointChanged ()
 

Additional Inherited Members

- Public Types inherited from TFInfoWidget
enum  ValueFormat { Mapped = 0 , Percent = 1 }
 
- Protected Attributes inherited from TFInfoWidget
VDoubleLineEdit_valueEdit
 
QComboBox * _valueEditType
 
float _min = 0
 
float _max = 1
 
float _value
 
const std::string _variableNameTag
 

Detailed Description

Definition at line 10 of file TFOpacityInfoWidget.h.

Constructor & Destructor Documentation

◆ TFOpacityInfoWidget()

TFOpacityInfoWidget::TFOpacityInfoWidget ( const std::string &  variableNameTag)

Member Function Documentation

◆ controlPointChanged()

void TFOpacityInfoWidget::controlPointChanged ( )
protectedvirtual

Reimplemented from TFInfoWidget.

◆ ControlPointChanged

void TFOpacityInfoWidget::ControlPointChanged ( float  value,
float  opacity 
)
signal

◆ DeselectControlPoint

void TFOpacityInfoWidget::DeselectControlPoint ( )
slot

◆ getOpacityFromEdit()

float TFOpacityInfoWidget::getOpacityFromEdit ( ) const
protected

◆ SetControlPoint

void TFOpacityInfoWidget::SetControlPoint ( float  value,
float  opacity 
)
slot

◆ SetOpacity()

void TFOpacityInfoWidget::SetOpacity ( float  opacity)

◆ updateOpacity()

void TFOpacityInfoWidget::updateOpacity ( )
protected

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