VTK-m  2.0
Classes | Static Public Member Functions | List of all members
vtkm::worklet::TriangleWinding Class Reference

This worklet ensures that triangle windings are consistent with provided cell normals. More...

#include <TriangleWinding.h>

Classes

struct  Launcher
 
struct  WorkletGetCellShapesAndSizes
 
struct  WorkletWindToCellNormals
 
struct  WorkletWindToCellNormalsGeneric
 

Static Public Member Functions

template<typename CellSetType , typename CoordsType , typename CellNormalsType >
static VTKM_CONT vtkm::cont::UnknownCellSet Run (const CellSetType &cellSet, const CoordsType &coords, const CellNormalsType &cellNormals)
 

Detailed Description

This worklet ensures that triangle windings are consistent with provided cell normals.

The triangles are wound CCW around the cell normals, and all other cells are ignored.

The input cellset must be unstructured.

Member Function Documentation

◆ Run()

template<typename CellSetType , typename CoordsType , typename CellNormalsType >
static VTKM_CONT vtkm::cont::UnknownCellSet vtkm::worklet::TriangleWinding::Run ( const CellSetType &  cellSet,
const CoordsType &  coords,
const CellNormalsType &  cellNormals 
)
inlinestatic

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