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

#include <LineRenderer.h>

Public Member Functions

 LineRenderer (const vtkm::rendering::Canvas *canvas, vtkm::Matrix< vtkm::Float32, 4, 4 > transform, vtkm::rendering::LineRendererBatcher *lineBatcher)
 
void RenderLine (const vtkm::Vec2f_64 &point0, const vtkm::Vec2f_64 &point1, vtkm::Float32 lineWidth, const vtkm::rendering::Color &color)
 
void RenderLine (const vtkm::Vec3f_64 &point0, const vtkm::Vec3f_64 &point1, vtkm::Float32 lineWidth, const vtkm::rendering::Color &color)
 

Private Member Functions

vtkm::Vec3f_32 TransformPoint (const vtkm::Vec3f_64 &point) const
 

Private Attributes

const vtkm::rendering::CanvasCanvas
 
vtkm::Matrix< vtkm::Float32, 4, 4 > Transform
 
vtkm::rendering::LineRendererBatcherLineBatcher
 

Constructor & Destructor Documentation

◆ LineRenderer()

vtkm::rendering::LineRenderer::LineRenderer ( const vtkm::rendering::Canvas canvas,
vtkm::Matrix< vtkm::Float32, 4, 4 >  transform,
vtkm::rendering::LineRendererBatcher lineBatcher 
)

Member Function Documentation

◆ RenderLine() [1/2]

void vtkm::rendering::LineRenderer::RenderLine ( const vtkm::Vec2f_64 point0,
const vtkm::Vec2f_64 point1,
vtkm::Float32  lineWidth,
const vtkm::rendering::Color color 
)

◆ RenderLine() [2/2]

void vtkm::rendering::LineRenderer::RenderLine ( const vtkm::Vec3f_64 point0,
const vtkm::Vec3f_64 point1,
vtkm::Float32  lineWidth,
const vtkm::rendering::Color color 
)

◆ TransformPoint()

vtkm::Vec3f_32 vtkm::rendering::LineRenderer::TransformPoint ( const vtkm::Vec3f_64 point) const
private

Member Data Documentation

◆ Canvas

const vtkm::rendering::Canvas* vtkm::rendering::LineRenderer::Canvas
private

◆ LineBatcher

vtkm::rendering::LineRendererBatcher* vtkm::rendering::LineRenderer::LineBatcher
private

◆ Transform

vtkm::Matrix<vtkm::Float32, 4, 4> vtkm::rendering::LineRenderer::Transform
private

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