Go to the documentation of this file.
10 #ifndef vtk_m_filter_vector_analysis_SurfaceNormal_h
11 #define vtk_m_filter_vector_analysis_SurfaceNormal_h
14 #include <vtkm/filter/vector_analysis/vtkm_filter_vector_analysis_export.h>
20 namespace vector_analysis
100 bool GenerateCellNormals =
false;
101 bool NormalizeCellNormals =
true;
102 bool GeneratePointNormals =
true;
103 bool AutoOrientNormals =
false;
104 bool FlipNormals =
false;
105 bool Consistency =
true;
114 #endif // vtk_m_filter_vector_analysis_SurfaceNormal_h
const std::string & GetPointNormalsName() const
Set/Get the name of the point normals field.
Definition: SurfaceNormals.h:67
Groups connected points that have the same field value.
Definition: Atomic.h:19
void SetPointNormalsName(const std::string &name)
Set/Get the name of the point normals field.
Definition: SurfaceNormals.h:66
bool GetGeneratePointNormals() const
Set/Get if the point normals should be generated.
Definition: SurfaceNormals.h:55
std::string CellNormalsName
Definition: SurfaceNormals.h:107
void SetConsistency(bool v)
Ensure that polygon winding is consistent with normal orientation.
Definition: SurfaceNormals.h:93
bool GetGenerateCellNormals() const
Set/Get if cell normals should be generated.
Definition: SurfaceNormals.h:39
bool GetFlipNormals() const
Reverse the normals to point inward when AutoOrientNormals is true.
Definition: SurfaceNormals.h:84
void SetNormalizeCellNormals(bool value)
Set/Get if the cell normals should be normalized.
Definition: SurfaceNormals.h:48
void SetGeneratePointNormals(bool value)
Set/Get if the point normals should be generated.
Definition: SurfaceNormals.h:54
Definition: FilterField.h:21
compute normals for polygonal mesh
Definition: SurfaceNormals.h:28
std::string PointNormalsName
Definition: SurfaceNormals.h:108
void SetGenerateCellNormals(bool value)
Set/Get if cell normals should be generated.
Definition: SurfaceNormals.h:38
bool GetNormalizeCellNormals() const
Set/Get if the cell normals should be normalized.
Definition: SurfaceNormals.h:49
#define VTKM_CONT
Definition: ExportMacros.h:57
const std::string & GetCellNormalsName() const
Set/Get the name of the cell normals field.
Definition: SurfaceNormals.h:61
void SetFlipNormals(bool v)
Reverse the normals to point inward when AutoOrientNormals is true.
Definition: SurfaceNormals.h:83
bool GetConsistency() const
Ensure that polygon winding is consistent with normal orientation.
Definition: SurfaceNormals.h:94
void SetCellNormalsName(const std::string &name)
Set/Get the name of the cell normals field.
Definition: SurfaceNormals.h:60
void SetAutoOrientNormals(bool v)
If true, the normals will be oriented to face outwards from the surface.
Definition: SurfaceNormals.h:76
bool GetAutoOrientNormals() const
If true, the normals will be oriented to face outwards from the surface.
Definition: SurfaceNormals.h:77