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

#include <LineRenderer.h>

Public Member Functions

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

Private Member Functions

VTKM_CONT 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_CONT 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]

VTKM_CONT 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]

VTKM_CONT 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_CONT 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: