VTK-m
2.0
|
#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::Canvas * | Canvas |
vtkm::Matrix< vtkm::Float32, 4, 4 > | Transform |
vtkm::rendering::LineRendererBatcher * | LineBatcher |
VTKM_CONT vtkm::rendering::LineRenderer::LineRenderer | ( | const vtkm::rendering::Canvas * | canvas, |
vtkm::Matrix< vtkm::Float32, 4, 4 > | transform, | ||
vtkm::rendering::LineRendererBatcher * | lineBatcher | ||
) |
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 | ||
) |
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 | ||
) |
|
private |
|
private |
|
private |
|
private |