|
VTK-m
2.0
|
Orients normals to point outside of the dataset. More...
#include <OrientCellNormals.h>
Classes | |
| class | WorkletMarkActiveCells |
| class | WorkletMarkActivePoints |
| class | WorkletMarkSourcePoints |
| class | WorkletProcessCellNormals |
| class | WorkletProcessSourceCells |
Static Public Member Functions | |
| template<typename CellSetType , typename CoordsCompType , typename CoordsStorageType , typename CellNormalCompType , typename CellNormalStorageType > | |
| static VTKM_CONT void | Run (const CellSetType &cells, const vtkm::cont::ArrayHandle< vtkm::Vec< CoordsCompType, 3 >, CoordsStorageType > &coords, vtkm::cont::ArrayHandle< vtkm::Vec< CellNormalCompType, 3 >, CellNormalStorageType > &cellNormals) |
Static Private Member Functions | |
| template<typename T > | |
| static VTKM_EXEC bool | SameDirection (const vtkm::Vec< T, 3 > &v1, const vtkm::Vec< T, 3 > &v2) |
| template<typename T > | |
| static VTKM_EXEC bool | Align (vtkm::Vec< T, 3 > &normal, const vtkm::Vec< T, 3 > &ref) |
Static Private Attributes | |
| static constexpr vtkm::Id | INVALID_ID = -1 |
Orients normals to point outside of the dataset.
This requires a closed manifold surface or else the behavior is undefined. This requires an unstructured cellset as input.
|
inlinestaticprivate |
|
inlinestatic |
|
inlinestaticprivate |
|
staticconstexprprivate |
1.8.17