VAPOR3 3.9.4
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TFInfoWidget Class Reference

#include <TFInfoWidget.h>

Inheritance diagram for TFInfoWidget:
TFColorInfoWidget TFHistogramInfoWidget TFIsoValueInfoWidget TFOpacityInfoWidget

Public Types

enum  ValueFormat { Mapped = 0 , Percent = 1 }
 

Public Member Functions

 TFInfoWidget (const std::string &variableNameTag)
 
void Update (VAPoR::RenderParams *rParams)
 
void DeselectControlPoint ()
 
void SetNormalizedValue (float value)
 

Protected Member Functions

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 ()
 

Protected Attributes

VDoubleLineEdit_valueEdit
 
QComboBox * _valueEditType
 
float _min = 0
 
float _max = 1
 
float _value
 
const std::string _variableNameTag
 

Detailed Description

The TFInfoWidget displays details and allow users to manually edit values for the control points used by the TFMapWidget

Definition at line 16 of file TFInfoWidget.h.

Member Enumeration Documentation

◆ ValueFormat

Enumerator
Mapped 
Percent 

Definition at line 20 of file TFInfoWidget.h.

Constructor & Destructor Documentation

◆ TFInfoWidget()

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

Member Function Documentation

◆ controlPointChanged()

virtual void TFInfoWidget::controlPointChanged ( )
inlineprotectedvirtual

Reimplemented in TFColorInfoWidget, TFIsoValueInfoWidget, and TFOpacityInfoWidget.

Definition at line 38 of file TFInfoWidget.h.

◆ DeselectControlPoint()

void TFInfoWidget::DeselectControlPoint ( )

◆ getValueFromEdit()

float TFInfoWidget::getValueFromEdit ( ) const
protected

◆ isUsingMappedValue()

bool TFInfoWidget::isUsingMappedValue ( ) const
protected

◆ isUsingNormalizedValue()

bool TFInfoWidget::isUsingNormalizedValue ( ) const
protected

◆ paintEvent()

void TFInfoWidget::paintEvent ( QPaintEvent *  event)
protected

◆ SetNormalizedValue()

void TFInfoWidget::SetNormalizedValue ( float  value)

◆ toMappedValue()

float TFInfoWidget::toMappedValue ( float  normalized) const
protected

◆ toNormalizedValue()

float TFInfoWidget::toNormalizedValue ( float  mapped) const
protected

◆ Update()

void TFInfoWidget::Update ( VAPoR::RenderParams rParams)

◆ updateValue()

void TFInfoWidget::updateValue ( )
protected

◆ updateValueEditValidator()

void TFInfoWidget::updateValueEditValidator ( )
protected

Member Data Documentation

◆ _max

float TFInfoWidget::_max = 1
protected

Definition at line 45 of file TFInfoWidget.h.

◆ _min

float TFInfoWidget::_min = 0
protected

Definition at line 44 of file TFInfoWidget.h.

◆ _value

float TFInfoWidget::_value
protected

Definition at line 48 of file TFInfoWidget.h.

◆ _valueEdit

VDoubleLineEdit* TFInfoWidget::_valueEdit
protected

Definition at line 41 of file TFInfoWidget.h.

◆ _valueEditType

QComboBox* TFInfoWidget::_valueEditType
protected

Definition at line 42 of file TFInfoWidget.h.

◆ _variableNameTag

const std::string TFInfoWidget::_variableNameTag
protected

Definition at line 49 of file TFInfoWidget.h.


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