VTK-m  2.0
Classes | Public Member Functions | List of all members
vtkm::rendering::Triangulator Class Reference

Triangulator creates a minimal set of triangles from a cell set. More...

#include <Triangulator.h>

Classes

class  CountTriangles
 
struct  IndicesLessThan
 
class  IndicesSort
 
class  Triangulate
 
class  TriangulateStructured
 
class  UniqueTriangles
 

Public Member Functions

VTKM_CONT Triangulator ()
 
VTKM_CONT void ExternalTriangles (vtkm::cont::ArrayHandle< vtkm::Id4 > &outputIndices, vtkm::Id &outputTriangles)
 
VTKM_CONT void Run (const vtkm::cont::UnknownCellSet &cellset, vtkm::cont::ArrayHandle< vtkm::Id4 > &outputIndices, vtkm::Id &outputTriangles)
 

Detailed Description

Triangulator creates a minimal set of triangles from a cell set.

This class creates a array of triangle indices from both 3D and 2D explicit cell sets. This list can serve as input to opengl and the ray tracer scene renderers.

Constructor & Destructor Documentation

◆ Triangulator()

VTKM_CONT vtkm::rendering::Triangulator::Triangulator ( )
inline

Member Function Documentation

◆ ExternalTriangles()

VTKM_CONT void vtkm::rendering::Triangulator::ExternalTriangles ( vtkm::cont::ArrayHandle< vtkm::Id4 > &  outputIndices,
vtkm::Id outputTriangles 
)
inline

◆ Run()

VTKM_CONT void vtkm::rendering::Triangulator::Run ( const vtkm::cont::UnknownCellSet cellset,
vtkm::cont::ArrayHandle< vtkm::Id4 > &  outputIndices,
vtkm::Id outputTriangles 
)
inline

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