Inviwo  0.9.10.1
Inviwo documentation
inviwo::plot::detail::AxisLabels< P > Struct Template Reference
+ Inheritance diagram for inviwo::plot::detail::AxisLabels< P >:

Public Types

using LabelPos = std::vector< P >
 
using Updater = std::function< void(LabelPos &, util::TextureAtlas &, const AxisSettings &, const vec3 &, const vec3 &, const vec3 &)>
 

Public Member Functions

 AxisLabels (Updater updatePos)
 
util::TextureAtlas & getAtlas (const AxisSettings &settings, const vec3 &start, const vec3 &end, TextRenderer &renderer)
 
const util::TextureAtlas & getCurrentAtlas () const
 
const LabelPos & getLabelPos (const AxisSettings &settings, const vec3 &start, const vec3 &end, TextRenderer &renderer, const vec3 &tickDirection)
 

Protected Types

using MPAtlas = MemPtr< AxisLabels, bool, &AxisLabels::validAtlas_ >
 
using MPLabel = MemPtr< AxisLabels, LabelPos, &AxisLabels::positions_ >
 

Protected Attributes

Updater updatePos_
 
util::TextureAtlas atlas_
 
bool validAtlas_ = false
 
LabelPos positions_
 
Guard< vec3, MPAtlas, MPLabel > startPos_
 
Guard< vec3, MPAtlas, MPLabel > endPos_
 
Guard< dvec2, MPAtlas, MPLabel > range_
 
Guard< PlotTextData, MPAtlas, MPLabel > labelsSettings_
 
Guard< std::vector< std::string >, MPAtlas > labels_
 
Guard< MajorTickData, MPAtlas, MPLabel > major_
 
Guard< vec3, MPLabel > tickDirection_
 
Guard< bool, MPLabel > flipped_
 

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