29 #ifndef vtkArraySort_h
30 #define vtkArraySort_h
33 #include "vtkCommonCoreModule.h"
37 VTK_ABI_NAMESPACE_BEGIN
102 std::vector<DimensionT> Storage;
105 VTK_ABI_NAMESPACE_END
Controls sorting of sparse array coordinates.
bool operator==(const vtkArraySort &rhs) const
Equality comparison.
VTKCOMMONCORE_EXPORT friend ostream & operator<<(ostream &stream, const vtkArraySort &rhs)
Serialization.
DimensionT GetDimensions() const
Return the number of dimensions for sorting.
vtkArraySort(DimensionT i, DimensionT j)
Sorts an array along two dimensions.
vtkArraySort(DimensionT i, DimensionT j, DimensionT k)
Sorts an array along three dimensions.
vtkArraySort()
Create an empty set of dimensions.
void SetDimensions(DimensionT dimensions)
Set the number of dimensions to be sorted.
const DimensionT & operator[](DimensionT i) const
Returns the i-th dimension to be sorted.
bool operator!=(const vtkArraySort &rhs) const
Inequality comparison.
vtkArrayCoordinates::DimensionT DimensionT
DimensionT & operator[](DimensionT i)
Returns the i-th dimension to be sorted.
vtkArraySort(DimensionT i)
Sorts an array along one dimension.