VTK-m
2.2
|
#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::Canvas * | Canvas |
vtkm::Matrix< vtkm::Float32, 4, 4 > | Transform |
vtkm::rendering::LineRendererBatcher * | LineBatcher |
vtkm::rendering::LineRenderer::LineRenderer | ( | const vtkm::rendering::Canvas * | canvas, |
vtkm::Matrix< vtkm::Float32, 4, 4 > | transform, | ||
vtkm::rendering::LineRendererBatcher * | lineBatcher | ||
) |
void vtkm::rendering::LineRenderer::RenderLine | ( | const vtkm::Vec2f_64 & | point0, |
const vtkm::Vec2f_64 & | point1, | ||
vtkm::Float32 | lineWidth, | ||
const vtkm::rendering::Color & | color | ||
) |
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 |