Go to the documentation of this file.
19 #ifndef viskores_filter_mesh_info_CellMeasures_h
20 #define viskores_filter_mesh_info_CellMeasures_h
52 return static_cast<IntegrationType>(
static_cast<int>(left) &
static_cast<int>(right));
56 return static_cast<IntegrationType>(
static_cast<int>(left) |
static_cast<int>(right));
83 this->Measure = measure;
127 #endif // viskores_filter_mesh_info_CellMeasures_h
void SetMeasureToArea()
Compute the area of 2D elements.
Definition: CellMeasures.h:96
@ Area
Compute the area of 2D elements.
Contains and manages the geometric data structures that Viskores operates on.
Definition: DataSet.h:66
viskores::filter::mesh_info::IntegrationType GetMeasure() const
Specify the type of integrations to support.
Definition: CellMeasures.h:86
Base class for all filters.
Definition: Filter.h:171
#define VISKORES_EXEC_CONT
Definition: ExportMacros.h:60
#define VISKORES_CONT
Definition: ExportMacros.h:65
Groups connected points that have the same field value.
Definition: Atomic.h:27
void SetCellMeasureName(const std::string &name)
Specify the name of the field generated.
Definition: CellMeasures.h:114
@ ArcLength
Compute the length of 1D elements.
IntegrationType operator|(IntegrationType left, IntegrationType right)
Definition: CellMeasures.h:54
Compute the size measure of each cell in a dataset.
Definition: CellMeasures.h:66
void SetMeasureToArcLength()
Compute the length of 1D elements.
Definition: CellMeasures.h:91
@ Volume
Compute the volume of 3D elements.
#define VISKORES_DEPRECATED(...)
Definition: Deprecated.h:156
IntegrationType operator&(IntegrationType left, IntegrationType right)
Definition: CellMeasures.h:50
IntegrationType
Specifies over what types of mesh elements CellMeasures will operate.
Definition: CellMeasures.h:37
void SetMeasure(viskores::filter::mesh_info::IntegrationType measure)
Specify the type of integrations to support.
Definition: CellMeasures.h:81
void SetMeasureToAll()
Compute the size of all types of elements.
Definition: CellMeasures.h:106
const std::string & GetCellMeasureName() const
Specify the name of the field generated.
Definition: CellMeasures.h:116
void SetMeasureToVolume()
Compute the volume of 3D elements.
Definition: CellMeasures.h:101
@ AllMeasures
Compute the size of all types of elements.