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

#include <LineRendererBatcher.h>

Public Member Functions

VTKM_CONT LineRendererBatcher ()
 
VTKM_CONT void BatchLine (const vtkm::Vec3f_64 &start, const vtkm::Vec3f_64 &end, const vtkm::rendering::Color &color)
 
VTKM_CONT void BatchLine (const vtkm::Vec3f_32 &start, const vtkm::Vec3f_32 &end, const vtkm::rendering::Color &color)
 
void Render (const vtkm::rendering::Canvas *canvas) const
 

Private Attributes

std::vector< vtkm::Vec3f_32Starts
 
std::vector< vtkm::Vec3f_32Ends
 
std::vector< vtkm::Vec4f_32Colors
 

Constructor & Destructor Documentation

◆ LineRendererBatcher()

VTKM_CONT vtkm::rendering::LineRendererBatcher::LineRendererBatcher ( )

Member Function Documentation

◆ BatchLine() [1/2]

VTKM_CONT void vtkm::rendering::LineRendererBatcher::BatchLine ( const vtkm::Vec3f_32 start,
const vtkm::Vec3f_32 end,
const vtkm::rendering::Color color 
)

◆ BatchLine() [2/2]

VTKM_CONT void vtkm::rendering::LineRendererBatcher::BatchLine ( const vtkm::Vec3f_64 start,
const vtkm::Vec3f_64 end,
const vtkm::rendering::Color color 
)

◆ Render()

void vtkm::rendering::LineRendererBatcher::Render ( const vtkm::rendering::Canvas canvas) const

Member Data Documentation

◆ Colors

std::vector<vtkm::Vec4f_32> vtkm::rendering::LineRendererBatcher::Colors
private

◆ Ends

std::vector<vtkm::Vec3f_32> vtkm::rendering::LineRendererBatcher::Ends
private

◆ Starts

std::vector<vtkm::Vec3f_32> vtkm::rendering::LineRendererBatcher::Starts
private

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