Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cx::Vector3DPropertyBase Class Referenceabstract

Abstract interface for interaction with internal Vector3D-valued data. More...

#include <cxVector3DPropertyBase.h>

Inheritance diagram for cx::Vector3DPropertyBase:
cx::Property cx::Vector3DProperty cx::Vector3DPropertyNull

Public Member Functions

virtual ~Vector3DPropertyBase ()
 
virtual QString getDisplayName () const =0
 name of data entity. Used for display to user. More...
 
virtual bool setValue (const Vector3D &value)=0
 set the data value. More...
 
virtual Vector3D getValue () const =0
 get the data value. More...
 
virtual QVariant getValueAsVariant () const
 
virtual void setValueFromVariant (QVariant value)
 
virtual QString getHelp () const
 return a descriptive help string for the data, used for example as a tool tip. More...
 
virtual DoubleRange getValueRange () const
 
virtual double convertInternal2Display (double internal)
 range of value More...
 
virtual double convertDisplay2Internal (double display)
 conversion from internal value to display value More...
 
virtual int getValueDecimals () const
 number of relevant decimals in value More...
 
- Public Member Functions inherited from cx::Property
 Property ()
 
virtual ~Property ()
 
virtual QString getUid () const =0
 
virtual bool getEnabled () const
 Get the enabled/disabled state of the Property. More...
 
virtual bool getAdvanced () const
 Get the advanced flag of the adapter. More...
 
virtual QString getGroup () const
 Flag the adapter as part of a group. More...
 

Additional Inherited Members

- Public Slots inherited from cx::Property
virtual bool setEnabled (bool enabled)
 Set the enabled/disabled state of the Property. More...
 
virtual bool setAdvanced (bool advanced)
 Set the advanced flag of the adapter. More...
 
virtual bool setGroup (QString name)
 Flag the adapter as part of a group. More...
 
- Signals inherited from cx::Property
void changed ()
 emit when the underlying data value is changed: The user interface will be updated. More...
 
- Static Public Member Functions inherited from cx::Property
static PropertyPtr findProperty (std::vector< PropertyPtr > properties, QString id)
 
- Protected Attributes inherited from cx::Property
bool mEnabled
 
bool mAdvanced
 
QString mGroup
 

Detailed Description

Abstract interface for interaction with internal Vector3D-valued data.

Refer to DoubleProperty for a description.

Definition at line 34 of file cxVector3DPropertyBase.h.

Constructor & Destructor Documentation

virtual cx::Vector3DPropertyBase::~Vector3DPropertyBase ( )
inlinevirtual

Definition at line 38 of file cxVector3DPropertyBase.h.

Member Function Documentation

virtual double cx::Vector3DPropertyBase::convertDisplay2Internal ( double  display)
inlinevirtual

conversion from internal value to display value

Reimplemented in cx::Vector3DProperty.

Definition at line 75 of file cxVector3DPropertyBase.h.

virtual double cx::Vector3DPropertyBase::convertInternal2Display ( double  internal)
inlinevirtual

range of value

conversion from internal value to display value (for example between 0..1 and percent)

Reimplemented in cx::Vector3DProperty.

Definition at line 71 of file cxVector3DPropertyBase.h.

virtual QString cx::Vector3DPropertyBase::getDisplayName ( ) const
pure virtual

name of data entity. Used for display to user.

Implements cx::Property.

Implemented in cx::Vector3DPropertyNull, and cx::Vector3DProperty.

virtual QString cx::Vector3DPropertyBase::getHelp ( ) const
inlinevirtual

return a descriptive help string for the data, used for example as a tool tip.

Reimplemented in cx::Vector3DProperty.

Definition at line 63 of file cxVector3DPropertyBase.h.

virtual Vector3D cx::Vector3DPropertyBase::getValue ( ) const
pure virtual

get the data value.

Implemented in cx::Vector3DPropertyNull, and cx::Vector3DProperty.

virtual QVariant cx::Vector3DPropertyBase::getValueAsVariant ( ) const
inlinevirtual

Implements cx::Property.

Definition at line 48 of file cxVector3DPropertyBase.h.

virtual int cx::Vector3DPropertyBase::getValueDecimals ( ) const
inlinevirtual

number of relevant decimals in value

Reimplemented in cx::Vector3DProperty.

Definition at line 79 of file cxVector3DPropertyBase.h.

virtual DoubleRange cx::Vector3DPropertyBase::getValueRange ( ) const
inlinevirtual

Reimplemented in cx::Vector3DProperty.

Definition at line 67 of file cxVector3DPropertyBase.h.

virtual bool cx::Vector3DPropertyBase::setValue ( const Vector3D value)
pure virtual

set the data value.

Implemented in cx::Vector3DPropertyNull, and cx::Vector3DProperty.

virtual void cx::Vector3DPropertyBase::setValueFromVariant ( QVariant  value)
inlinevirtual

Implements cx::Property.

Definition at line 55 of file cxVector3DPropertyBase.h.


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