VTK-m
2.0
|
Orients normals to point outside of the dataset. More...
#include <OrientPointNormals.h>
Classes | |
class | WorkletMarkActiveCells |
class | WorkletMarkActivePoints |
class | WorkletMarkSourcePoints |
class | WorkletProcessNormals |
Static Public Member Functions | |
template<typename CellSetType , typename CoordsCompType , typename CoordsStorageType , typename PointNormalCompType , typename PointNormalStorageType > | |
static VTKM_CONT void | Run (const CellSetType &cells, const vtkm::cont::ArrayHandle< vtkm::Vec< CoordsCompType, 3 >, CoordsStorageType > &coords, vtkm::cont::ArrayHandle< vtkm::Vec< PointNormalCompType, 3 >, PointNormalStorageType > &pointNormals) |
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 |