Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::plot::PlotTextData Class Reference
+ Inheritance diagram for inviwo::plot::PlotTextData:

Public Member Functions

 PlotTextData (const PlotTextSettings &s)
 
 PlotTextData (const PlotTextData &)=default
 
 PlotTextData (PlotTextData &&) noexcept=default
 
PlotTextDataoperator= (const PlotTextData &)=default
 
PlotTextDataoperator= (PlotTextData &&)=default
 
virtual bool isEnabled () const override
 
virtual LabelPlacement getPlacement () const override
 
virtual vec4 getColor () const override
 
virtual float getPosition () const override
 position along axis [0,1]
 
virtual vec2 getOffset () const override
 offset from axis
 
virtual float getRotation () const override
 Degrees of rotation.
 
virtual const FontSettingsgetFont () const override
 
- Public Member Functions inherited from inviwo::plot::PlotTextSettings
 operator bool () const
 

Public Attributes

bool enabled = true
 
LabelPlacement placement = LabelPlacement::Outside
 
vec4 color = vec4{0.0f, 0.0f, 0.0f, 1.0f}
 
float position = 0.5f
 
vec2 offset = vec2{10.0f, 0.0f}
 
float rotation = 0.0f
 
FontData font
 

Member Function Documentation

◆ getColor()

virtual vec4 inviwo::plot::PlotTextData::getColor ( ) const
overridevirtual

◆ getFont()

virtual const FontSettings & inviwo::plot::PlotTextData::getFont ( ) const
overridevirtual

◆ getOffset()

virtual vec2 inviwo::plot::PlotTextData::getOffset ( ) const
overridevirtual

offset from axis

Implements inviwo::plot::PlotTextSettings.

◆ getPlacement()

virtual LabelPlacement inviwo::plot::PlotTextData::getPlacement ( ) const
overridevirtual

◆ getPosition()

virtual float inviwo::plot::PlotTextData::getPosition ( ) const
overridevirtual

position along axis [0,1]

Implements inviwo::plot::PlotTextSettings.

◆ getRotation()

virtual float inviwo::plot::PlotTextData::getRotation ( ) const
overridevirtual

Degrees of rotation.

Implements inviwo::plot::PlotTextSettings.

◆ isEnabled()

virtual bool inviwo::plot::PlotTextData::isEnabled ( ) const
overridevirtual

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