Inviwo
0.9.10.1
Inviwo documentation
|
Public Types | |
using | Labels = detail::AxisLabels< ivec2 > |
Public Member Functions | |
AxisRenderer (const AxisSettings &settings) | |
AxisRenderer (const AxisRenderer &rhs)=default | |
AxisRenderer & | operator= (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) | |
AxisRendererBase & | operator= (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< MeshShaderCache > | getShaders () |
Protected Attributes inherited from inviwo::plot::AxisRendererBase | |
const AxisSettings & | settings_ |
TextRenderer | textRenderer_ |
TextureQuadRenderer | quadRenderer_ |
size_t | axisPickingId_ = std::numeric_limits<size_t>::max() |
detail::AxisMeshes | meshes_ |
detail::AxisCaption | caption_ |
std::shared_ptr< MeshShaderCache > | shaders_ |
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.