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

#include <WorldAnnotator.h>

Public Member Functions

 WorldAnnotator (const vtkm::rendering::Canvas *canvas)
 
virtual ~WorldAnnotator ()
 
virtual void AddLine (const vtkm::Vec3f_64 &point0, const vtkm::Vec3f_64 &point1, vtkm::Float32 lineWidth, const vtkm::rendering::Color &color, bool inFront=false) const
 
VTKM_CONT void AddLine (vtkm::Float64 x0, vtkm::Float64 y0, vtkm::Float64 z0, vtkm::Float64 x1, vtkm::Float64 y1, vtkm::Float64 z1, vtkm::Float32 lineWidth, const vtkm::rendering::Color &color, bool inFront=false) const
 
VTKM_CONT void BeginLineRenderingBatch () const
 
VTKM_CONT void EndLineRenderingBatch () const
 
virtual void AddText (const vtkm::Vec3f_32 &origin, const vtkm::Vec3f_32 &right, const vtkm::Vec3f_32 &up, vtkm::Float32 scale, const vtkm::Vec2f_32 &anchor, const vtkm::rendering::Color &color, const std::string &text, const vtkm::Float32 depth=0.f) const
 
VTKM_CONT void AddText (vtkm::Float32 originX, vtkm::Float32 originY, vtkm::Float32 originZ, vtkm::Float32 rightX, vtkm::Float32 rightY, vtkm::Float32 rightZ, vtkm::Float32 upX, vtkm::Float32 upY, vtkm::Float32 upZ, vtkm::Float32 scale, vtkm::Float32 anchorX, vtkm::Float32 anchorY, const vtkm::rendering::Color &color, const std::string &text) const
 

Private Attributes

const vtkm::rendering::CanvasCanvas
 
vtkm::rendering::LineRendererBatcher LineBatcher
 

Constructor & Destructor Documentation

◆ WorldAnnotator()

vtkm::rendering::WorldAnnotator::WorldAnnotator ( const vtkm::rendering::Canvas canvas)

◆ ~WorldAnnotator()

virtual vtkm::rendering::WorldAnnotator::~WorldAnnotator ( )
virtual

Member Function Documentation

◆ AddLine() [1/2]

virtual void vtkm::rendering::WorldAnnotator::AddLine ( const vtkm::Vec3f_64 point0,
const vtkm::Vec3f_64 point1,
vtkm::Float32  lineWidth,
const vtkm::rendering::Color color,
bool  inFront = false 
) const
virtual

◆ AddLine() [2/2]

VTKM_CONT void vtkm::rendering::WorldAnnotator::AddLine ( vtkm::Float64  x0,
vtkm::Float64  y0,
vtkm::Float64  z0,
vtkm::Float64  x1,
vtkm::Float64  y1,
vtkm::Float64  z1,
vtkm::Float32  lineWidth,
const vtkm::rendering::Color color,
bool  inFront = false 
) const
inline

◆ AddText() [1/2]

virtual void vtkm::rendering::WorldAnnotator::AddText ( const vtkm::Vec3f_32 origin,
const vtkm::Vec3f_32 right,
const vtkm::Vec3f_32 up,
vtkm::Float32  scale,
const vtkm::Vec2f_32 anchor,
const vtkm::rendering::Color color,
const std::string &  text,
const vtkm::Float32  depth = 0.f 
) const
virtual

◆ AddText() [2/2]

VTKM_CONT void vtkm::rendering::WorldAnnotator::AddText ( vtkm::Float32  originX,
vtkm::Float32  originY,
vtkm::Float32  originZ,
vtkm::Float32  rightX,
vtkm::Float32  rightY,
vtkm::Float32  rightZ,
vtkm::Float32  upX,
vtkm::Float32  upY,
vtkm::Float32  upZ,
vtkm::Float32  scale,
vtkm::Float32  anchorX,
vtkm::Float32  anchorY,
const vtkm::rendering::Color color,
const std::string &  text 
) const
inline

◆ BeginLineRenderingBatch()

VTKM_CONT void vtkm::rendering::WorldAnnotator::BeginLineRenderingBatch ( ) const

◆ EndLineRenderingBatch()

VTKM_CONT void vtkm::rendering::WorldAnnotator::EndLineRenderingBatch ( ) const

Member Data Documentation

◆ Canvas

const vtkm::rendering::Canvas* vtkm::rendering::WorldAnnotator::Canvas
private

◆ LineBatcher

vtkm::rendering::LineRendererBatcher vtkm::rendering::WorldAnnotator::LineBatcher
private

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