71 #ifndef __vtkSparseArray_h
72 #define __vtkSparseArray_h
221 vtkstd::vector<vtkStdString> DimensionLabels;
226 vtkstd::vector<vtkstd::vector<CoordinateT> > Coordinates;
229 vtkstd::vector<T> Values;
238 #include "vtkSparseArray.txx"
Controls sorting of sparse array coordinates.
Stores coordinate into an N-way array.
Wrapper around vtkstd::string to keep symbols short.
Provides the equivalent of vtkTypeMacro for use with template classes.
const T & GetValue(CoordinateT i)
Stores the number of dimensions and valid coordinate ranges along each dimension for vtkArray...
Sparse, independent coordinate storage for N-way arrays.
void GetCoordinatesN(const SizeT n, vtkArrayCoordinates &coordinates)
Abstract interface for N-dimensional arrays.
vtkstd::vector< CoordinateT > GetUniqueCoordinates(DimensionT dimension)
void SetExtents(const vtkArrayExtents &extents)
vtkArray::DimensionT DimensionT
void SetNullValue(const T &value)
static vtkSparseArray< T > * New()
void Sort(const vtkArraySort &sort)
vtkArrayExtents::DimensionT DimensionT
const T & GetValueN(const SizeT n)
void SetValue(CoordinateT i, const T &value)
a simple class to control print indentation
const T * GetValueStorage() const
vtkArrayExtents::SizeT SizeT
void SetValueN(const SizeT n, const T &value)
const CoordinateT * GetCoordinateStorage(DimensionT dimension) const
void SetExtentsFromContents()
vtkArray::CoordinateT CoordinateT
void AddValue(CoordinateT i, const T &value)
void ReserveStorage(const SizeT value_count)
void PrintSelf(ostream &os, vtkIndent indent)
const vtkArrayExtents & GetExtents()
vtkArrayExtents::CoordinateT CoordinateT