VTK-m  2.2
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)
 
void AddLine (const vtkm::Vec3f_64 &point0, const vtkm::Vec3f_64 &point1, vtkm::Float32 lineWidth, const vtkm::rendering::Color &color, bool inFront=false) const
 
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
 
void BeginLineRenderingBatch () const
 
void EndLineRenderingBatch () const
 
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, vtkm::Float32 depth=0.f) const
 
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)
explicit

Member Function Documentation

◆ AddLine() [1/2]

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

◆ AddLine() [2/2]

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]

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,
vtkm::Float32  depth = 0.f 
) const

◆ AddText() [2/2]

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()

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

◆ EndLineRenderingBatch()

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
mutableprivate

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