Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::plot::detail::AxisTickLabels< P > Struct Template Reference

Public Member Functions

 AxisTickLabels (AxisTickLabels &&) noexcept=default
 
 AxisTickLabels (const AxisTickLabels &)=delete
 
util::TextureAtlas & getAtlas (const AxisData &settings, TextRenderer &renderer)
 
const std::vector< double > & getAxisTicks (const AxisData &settings)
 
const std::vector< P > & getLabelPos (const AxisData &data, const vec3 &start, const vec3 &end, const vec3 &tickDirection)
 
AxisTickLabels & operator= (AxisTickLabels &&) noexcept=default
 
AxisTickLabels & operator= (const AxisTickLabels &)=delete
 

Protected Types

using MPAtlas = MemPtr<AxisTickLabels, bool, &AxisTickLabels::validAtlas_>
 
using MPPositions = MemPtr<AxisTickLabels, std::vector<P>, &AxisTickLabels::positions_>
 

Protected Attributes

util::TextureAtlas atlas_
 
Guard< vec4, MPAtlas > color_
 
Guard< vec3, MPPositions > endPos_
 
Guard< std::filesystem::path, MPAtlas > fontFace_
 
Guard< int, MPAtlas > fontSize_
 
Guard< std::vector< std::string >, MPAtlas > labels_
 
Guard< float, MPAtlas > lineSpacing_
 
Guard< std::vector< double >, MPPositions > majorPositions_
 
Guard< bool, MPPositions > mirrored_
 
Guard< vec2, MPPositions > offset_
 
std::vector< P > positions_
 
Guard< dvec2, MPPositions > range_
 
Guard< vec3, MPPositions > startPos_
 
Guard< vec3, MPPositions > tickDirection_
 
bool validAtlas_ = false
 

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