VTK-m  2.0
Public Member Functions | Protected Attributes | List of all members
vtkm::rendering::AxisAnnotation3D Class Reference

#include <AxisAnnotation3D.h>

Inheritance diagram for vtkm::rendering::AxisAnnotation3D:
vtkm::rendering::AxisAnnotation

Public Member Functions

 AxisAnnotation3D ()
 
 ~AxisAnnotation3D ()
 
 AxisAnnotation3D (const AxisAnnotation3D &)=delete
 
AxisAnnotation3Doperator= (const AxisAnnotation3D &)=delete
 
VTKM_CONT void SetMoreOrLessTickAdjustment (int offset)
 
VTKM_CONT void SetColor (vtkm::rendering::Color c)
 
VTKM_CONT void SetAxis (int a)
 
void SetTickInvert (bool x, bool y, bool z)
 
VTKM_CONT void SetMajorTickSize (vtkm::Float64 size, vtkm::Float64 offset)
 offset of 0 means the tick is inside the frame offset of 1 means the tick is outside the frame offset of 0.5 means the tick is centered on the frame More...
 
VTKM_CONT void SetMinorTickSize (vtkm::Float64 size, vtkm::Float64 offset)
 
VTKM_CONT void SetWorldPosition (const vtkm::Vec3f_64 &point0, const vtkm::Vec3f_64 &point1)
 
VTKM_CONT void SetWorldPosition (vtkm::Float64 x0, vtkm::Float64 y0, vtkm::Float64 z0, vtkm::Float64 x1, vtkm::Float64 y1, vtkm::Float64 z1)
 
void SetLabelFontScale (vtkm::Float64 s)
 
void SetLabelFontOffset (vtkm::Float32 off)
 
void SetRange (const vtkm::Range &range)
 
void SetRange (vtkm::Float64 lower, vtkm::Float64 upper)
 
virtual void Render (const vtkm::rendering::Camera &camera, const vtkm::rendering::WorldAnnotator &worldAnnotator, vtkm::rendering::Canvas &canvas) override
 
- Public Member Functions inherited from vtkm::rendering::AxisAnnotation
 AxisAnnotation ()
 
virtual ~AxisAnnotation ()
 

Protected Attributes

vtkm::Float64 TickMajorSize
 
vtkm::Float64 TickMajorOffset
 
vtkm::Float64 TickMinorSize
 
vtkm::Float64 TickMinorOffset
 
int Axis
 
vtkm::Vec3f_32 Invert
 
vtkm::Vec3f_64 Point0
 
vtkm::Vec3f_64 Point1
 
vtkm::Range Range
 
vtkm::Float64 FontScale
 
vtkm::Float32 FontOffset
 
vtkm::Float32 LineWidth
 
vtkm::rendering::Color Color
 
std::vector< std::unique_ptr< TextAnnotationBillboard > > Labels
 
int MoreOrLessTickAdjustment
 

Additional Inherited Members

- Protected Member Functions inherited from vtkm::rendering::AxisAnnotation
void CalculateTicks (const vtkm::Range &range, bool minor, std::vector< vtkm::Float64 > &positions, std::vector< vtkm::Float64 > &proportions, int modifyTickQuantity) const
 
void CalculateTicksLogarithmic (const vtkm::Range &range, bool minor, std::vector< vtkm::Float64 > &positions, std::vector< vtkm::Float64 > &proportions) const
 

Constructor & Destructor Documentation

◆ AxisAnnotation3D() [1/2]

vtkm::rendering::AxisAnnotation3D::AxisAnnotation3D ( )

◆ ~AxisAnnotation3D()

vtkm::rendering::AxisAnnotation3D::~AxisAnnotation3D ( )

◆ AxisAnnotation3D() [2/2]

vtkm::rendering::AxisAnnotation3D::AxisAnnotation3D ( const AxisAnnotation3D )
delete

Member Function Documentation

◆ operator=()

AxisAnnotation3D& vtkm::rendering::AxisAnnotation3D::operator= ( const AxisAnnotation3D )
delete

◆ Render()

virtual void vtkm::rendering::AxisAnnotation3D::Render ( const vtkm::rendering::Camera camera,
const vtkm::rendering::WorldAnnotator worldAnnotator,
vtkm::rendering::Canvas canvas 
)
overridevirtual

◆ SetAxis()

VTKM_CONT void vtkm::rendering::AxisAnnotation3D::SetAxis ( int  a)
inline

◆ SetColor()

VTKM_CONT void vtkm::rendering::AxisAnnotation3D::SetColor ( vtkm::rendering::Color  c)
inline

◆ SetLabelFontOffset()

void vtkm::rendering::AxisAnnotation3D::SetLabelFontOffset ( vtkm::Float32  off)
inline

◆ SetLabelFontScale()

void vtkm::rendering::AxisAnnotation3D::SetLabelFontScale ( vtkm::Float64  s)

◆ SetMajorTickSize()

VTKM_CONT void vtkm::rendering::AxisAnnotation3D::SetMajorTickSize ( vtkm::Float64  size,
vtkm::Float64  offset 
)
inline

offset of 0 means the tick is inside the frame offset of 1 means the tick is outside the frame offset of 0.5 means the tick is centered on the frame

◆ SetMinorTickSize()

VTKM_CONT void vtkm::rendering::AxisAnnotation3D::SetMinorTickSize ( vtkm::Float64  size,
vtkm::Float64  offset 
)
inline

◆ SetMoreOrLessTickAdjustment()

VTKM_CONT void vtkm::rendering::AxisAnnotation3D::SetMoreOrLessTickAdjustment ( int  offset)
inline

◆ SetRange() [1/2]

void vtkm::rendering::AxisAnnotation3D::SetRange ( const vtkm::Range range)
inline

◆ SetRange() [2/2]

void vtkm::rendering::AxisAnnotation3D::SetRange ( vtkm::Float64  lower,
vtkm::Float64  upper 
)
inline

◆ SetTickInvert()

void vtkm::rendering::AxisAnnotation3D::SetTickInvert ( bool  x,
bool  y,
bool  z 
)

◆ SetWorldPosition() [1/2]

VTKM_CONT void vtkm::rendering::AxisAnnotation3D::SetWorldPosition ( const vtkm::Vec3f_64 point0,
const vtkm::Vec3f_64 point1 
)
inline

◆ SetWorldPosition() [2/2]

VTKM_CONT void vtkm::rendering::AxisAnnotation3D::SetWorldPosition ( vtkm::Float64  x0,
vtkm::Float64  y0,
vtkm::Float64  z0,
vtkm::Float64  x1,
vtkm::Float64  y1,
vtkm::Float64  z1 
)
inline

Member Data Documentation

◆ Axis

int vtkm::rendering::AxisAnnotation3D::Axis
protected

◆ Color

vtkm::rendering::Color vtkm::rendering::AxisAnnotation3D::Color
protected

◆ FontOffset

vtkm::Float32 vtkm::rendering::AxisAnnotation3D::FontOffset
protected

◆ FontScale

vtkm::Float64 vtkm::rendering::AxisAnnotation3D::FontScale
protected

◆ Invert

vtkm::Vec3f_32 vtkm::rendering::AxisAnnotation3D::Invert
protected

◆ Labels

std::vector<std::unique_ptr<TextAnnotationBillboard> > vtkm::rendering::AxisAnnotation3D::Labels
protected

◆ LineWidth

vtkm::Float32 vtkm::rendering::AxisAnnotation3D::LineWidth
protected

◆ MoreOrLessTickAdjustment

int vtkm::rendering::AxisAnnotation3D::MoreOrLessTickAdjustment
protected

◆ Point0

vtkm::Vec3f_64 vtkm::rendering::AxisAnnotation3D::Point0
protected

◆ Point1

vtkm::Vec3f_64 vtkm::rendering::AxisAnnotation3D::Point1
protected

◆ Range

vtkm::Range vtkm::rendering::AxisAnnotation3D::Range
protected

◆ TickMajorOffset

vtkm::Float64 vtkm::rendering::AxisAnnotation3D::TickMajorOffset
protected

◆ TickMajorSize

vtkm::Float64 vtkm::rendering::AxisAnnotation3D::TickMajorSize
protected

◆ TickMinorOffset

vtkm::Float64 vtkm::rendering::AxisAnnotation3D::TickMinorOffset
protected

◆ TickMinorSize

vtkm::Float64 vtkm::rendering::AxisAnnotation3D::TickMinorSize
protected

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