Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::plot::AxisRendererBase Class Reference

Renders an axis based on AxisData. More...

#include <modules/plottinggl/utils/axisrenderer.h>

+ Inheritance diagram for inviwo::plot::AxisRendererBase:

Public Member Functions

 AxisRendererBase (AxisData data={})
 
 AxisRendererBase (AxisRendererBase &&rhs) noexcept=default
 
 AxisRendererBase (const AxisRendererBase &rhs)=delete
 
size_t getAxisPickingId () const
 
AxisDatagetData ()
 
const AxisDatagetData () const
 
AxisRendererBaseoperator= (AxisRendererBase &&rhs) noexcept=default
 
AxisRendererBaseoperator= (const AxisRendererBase &rhs)=delete
 
void setAxisPickingId (size_t id)
 

Protected Member Functions

ShadergetShader ()
 
void renderAxis (Camera *camera, const vec3 &start, const vec3 &end, const vec3 &tickdir, const size2_t &outputDims, bool antialiasing)
 

Protected Attributes

size_t axisPickingId_ = std::numeric_limits<size_t>::max()
 
detail::AxisCaption caption_
 
AxisData data_
 
detail::TickMesh majorMesh_
 
detail::TickMesh minorMesh_
 
TextureQuadRenderer quadRenderer_
 
TextRenderer textRenderer_
 

Detailed Description

Renders an axis based on AxisData.

See also
AxisData AxisProperty CategoricalAxisProperty

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