Go to the documentation of this file.
11 #ifndef vtk_m_filter_geometry_refinement_Shrink_h
12 #define vtk_m_filter_geometry_refinement_Shrink_h
21 namespace geometry_refinement
39 this->ShrinkFactor = vtkm::Min(vtkm::Max(0, factor), 1);
53 #endif // vtk_m_filter_geometry_refinement_Shrink_h
Groups connected points that have the same field value.
Definition: Atomic.h:19
Contains and manages the geometric data structures that VTK-m operates on.
Definition: DataSet.h:57
void SetShrinkFactor(vtkm::FloatDefault factor)
Specify the scale factor to size each cell.
Definition: Shrink.h:37
Shrink cells of an arbitrary dataset by a constant factor.
Definition: Shrink.h:29
#define VTKM_FILTER_GEOMETRY_REFINEMENT_EXPORT
Definition: vtkm_filter_geometry_refinement_export.h:44
vtkm::FloatDefault GetShrinkFactor() const
Specify the scale factor to size each cell.
Definition: Shrink.h:43
Base class for all filters.
Definition: Filter.h:163
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::Float32 FloatDefault
The floating point type to use when no other precision is specified.
Definition: Types.h:236