VTK-m  2.2
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
 
struct  InterleaveArrays12
 
struct  InterleaveArrays2
 
class  Triangulate
 
class  TriangulateStructured
 
class  UniqueTriangles
 

Public Member Functions

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

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::rendering::Triangulator::Triangulator ( )
inline

Member Function Documentation

◆ ExternalTriangles()

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

◆ Run()

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

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