Go to the documentation of this file.
11 #ifndef vtk_m_filter_mesh_info_CellMeasures_h
12 #define vtk_m_filter_mesh_info_CellMeasures_h
44 return static_cast<IntegrationType>(
static_cast<int>(left) &
static_cast<int>(right));
48 return static_cast<IntegrationType>(
static_cast<int>(left) |
static_cast<int>(right));
63 VTKM_DEPRECATED(2.2,
"Use default constructor and `SetIntegrationType`.")
75 this->Measure = measure;
116 #endif // vtk_m_filter_mesh_info_CellMeasures_h
Groups connected points that have the same field value.
Definition: Atomic.h:19
IntegrationType operator|(IntegrationType left, IntegrationType right)
Definition: CellMeasures.h:46
#define VTKM_FILTER_MESH_INFO_EXPORT
Definition: vtkm_filter_mesh_info_export.h:44
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
const std::string & GetCellMeasureName() const
Specify the name of the field generated.
Definition: CellMeasures.h:105
@ ArcLength
Compute the length of 1D elements.
void SetCellMeasureName(const std::string &name)
Specify the name of the field generated.
Definition: CellMeasures.h:103
Contains and manages the geometric data structures that VTK-m operates on.
Definition: DataSet.h:57
void SetMeasureToVolume()
Compute the volume of 3D elements.
Definition: CellMeasures.h:90
@ Area
Compute the area of 2D elements.
@ Volume
Compute the volume of 3D elements.
Base class for all filters.
Definition: Filter.h:163
#define VTKM_CONT
Definition: ExportMacros.h:57
void SetMeasureToAll()
Compute the size of all types of elements.
Definition: CellMeasures.h:95
Compute the size measure of each cell in a dataset.
Definition: CellMeasures.h:58
@ AllMeasures
Compute the size of all types of elements.
void SetMeasureToArcLength()
Compute the length of 1D elements.
Definition: CellMeasures.h:80
void SetMeasureToArea()
Compute the area of 2D elements.
Definition: CellMeasures.h:85
vtkm::filter::mesh_info::IntegrationType GetMeasure() const
Specify the type of integrations to support.
Definition: CellMeasures.h:78
void SetMeasure(vtkm::filter::mesh_info::IntegrationType measure)
Specify the type of integrations to support.
Definition: CellMeasures.h:73
IntegrationType operator&(IntegrationType left, IntegrationType right)
Definition: CellMeasures.h:42
#define VTKM_DEPRECATED(...)
Definition: Deprecated.h:145
IntegrationType
Specifies over what types of mesh elements CellMeasures will operate.
Definition: CellMeasures.h:29