Inviwo  0.9.10.1
Inviwo documentation
inviwo::plot::AxisRenderer Class Reference
+ Inheritance diagram for inviwo::plot::AxisRenderer:

Public Types

using Labels = detail::AxisLabels< ivec2 >
 

Public Member Functions

 AxisRenderer (const AxisSettings &settings)
 
 AxisRenderer (const AxisRenderer &rhs)=default
 
AxisRendereroperator= (const AxisRenderer &rhs)=delete
 
void render (const size2_t &outputDims, const size2_t &startPos, const size2_t &endPos, bool antialiasing=true)
 
std::pair< vec2, vec2 > boundingRect (const size2_t &startPos, const size2_t &endPos)
 
- Public Member Functions inherited from inviwo::plot::AxisRendererBase
 AxisRendererBase (const AxisSettings &settings)
 
 AxisRendererBase (const AxisRendererBase &rhs)
 
AxisRendererBaseoperator= (const AxisRendererBase &rhs)=delete
 
void setAxisPickingId (size_t id)
 
size_t getAxisPickingId () const
 

Additional Inherited Members

- Protected Member Functions inherited from inviwo::plot::AxisRendererBase
void renderAxis (Camera *camera, const vec3 &start, const vec3 &end, const vec3 &tickdir, const size2_t &outputDims, bool antialiasing)
 
- Static Protected Member Functions inherited from inviwo::plot::AxisRendererBase
static std::shared_ptr< MeshShaderCachegetShaders ()
 
- Protected Attributes inherited from inviwo::plot::AxisRendererBase
const AxisSettingssettings_
 
TextRenderer textRenderer_
 
TextureQuadRenderer quadRenderer_
 
size_t axisPickingId_ = std::numeric_limits<size_t>::max()
 
detail::AxisMeshes meshes_
 
detail::AxisCaption caption_
 
std::shared_ptr< MeshShaderCacheshaders_
 

Member Function Documentation

◆ boundingRect()

std::pair< vec2, vec2 > inviwo::plot::AxisRenderer::boundingRect ( const size2_t &  startPos,
const size2_t &  endPos 
)

Returns the bounding rect (lower left, upper right) of the axis in pixels.


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