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::TextureAtlasgetAtlas (const AxisSettings &settings, const vec3 &start, const vec3 &end, TextRenderer &renderer)
 
const util::TextureAtlasgetCurrentAtlas () 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, MPLabelstartPos_
 
Guard< vec3, MPAtlas, MPLabelendPos_
 
Guard< dvec2, MPAtlas, MPLabelrange_
 
Guard< PlotTextData, MPAtlas, MPLabellabelsSettings_
 
Guard< std::vector< std::string >, MPAtlaslabels_
 
Guard< MajorTickData, MPAtlas, MPLabelmajor_
 
Guard< vec3, MPLabeltickDirection_
 
Guard< bool, MPLabelflipped_
 

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