Go to the documentation of this file.
18 #ifndef viskores_filter_vector_analysis_SurfaceNormal_h
19 #define viskores_filter_vector_analysis_SurfaceNormal_h
28 namespace vector_analysis
132 bool GenerateCellNormals =
false;
133 bool NormalizeCellNormals =
true;
134 bool GeneratePointNormals =
true;
135 bool AutoOrientNormals =
false;
136 bool FlipNormals =
false;
137 bool Consistency =
true;
146 #endif // viskores_filter_vector_analysis_SurfaceNormal_h
const std::string & GetPointNormalsName() const
Specify the name of the point normals field.
Definition: SurfaceNormals.h:97
Contains and manages the geometric data structures that Viskores operates on.
Definition: DataSet.h:66
const std::string & GetCellNormalsName() const
Specify the name of the cell normals field.
Definition: SurfaceNormals.h:90
void SetConsistency(bool v)
Specify whtehr polygon winding should be made consistent with normal orientation.
Definition: SurfaceNormals.h:124
bool GetGeneratePointNormals() const
Specify whether the point normals should be generated.
Definition: SurfaceNormals.h:83
bool GetAutoOrientNormals() const
Specify whether to orient the normals outwards from the surface.
Definition: SurfaceNormals.h:107
bool GetGenerateCellNormals() const
Specify whether cell normals should be generated.
Definition: SurfaceNormals.h:65
Computes normals for polygonal mesh.
Definition: SurfaceNormals.h:52
void SetNormalizeCellNormals(bool value)
Specify whether the cell normals should be normalized.
Definition: SurfaceNormals.h:74
bool GetConsistency() const
Specify whtehr polygon winding should be made consistent with normal orientation.
Definition: SurfaceNormals.h:126
Base class for all filters.
Definition: Filter.h:171
void SetAutoOrientNormals(bool v)
Specify whether to orient the normals outwards from the surface.
Definition: SurfaceNormals.h:105
#define VISKORES_CONT
Definition: ExportMacros.h:65
Groups connected points that have the same field value.
Definition: Atomic.h:27
void SetGenerateCellNormals(bool value)
Specify whether cell normals should be generated.
Definition: SurfaceNormals.h:63
void SetFlipNormals(bool v)
Specify the direction to point normals when SetAutoOrientNormals() is true.
Definition: SurfaceNormals.h:114
void SetPointNormalsName(const std::string &name)
Specify the name of the point normals field.
Definition: SurfaceNormals.h:95
bool GetFlipNormals() const
Specify the direction to point normals when SetAutoOrientNormals() is true.
Definition: SurfaceNormals.h:116
bool GetNormalizeCellNormals() const
Specify whether the cell normals should be normalized.
Definition: SurfaceNormals.h:76
void SetGeneratePointNormals(bool value)
Specify whether the point normals should be generated.
Definition: SurfaceNormals.h:81
void SetCellNormalsName(const std::string &name)
Specify the name of the cell normals field.
Definition: SurfaceNormals.h:88
std::string CellNormalsName
Definition: SurfaceNormals.h:139
std::string PointNormalsName
Definition: SurfaceNormals.h:140