Go to the documentation of this file.
51 #ifndef vtkDenseArray_h
52 #define vtkDenseArray_h
193 std::vector<vtkStdString> DimensionLabels;
206 std::vector<vtkIdType> Offsets;
209 std::vector<vtkIdType> Strides;
213 #include "vtkDenseArray.txx"
void SetValue(CoordinateT i, const T &value)
StaticMemoryBlock(T *const storage)
vtkArrayExtents::SizeT SizeT
void Fill(const T &value)
virtual ~HeapMemoryBlock()
void SetValue(CoordinateT i, CoordinateT j, const T &value)
static vtkDenseArray< T > * New()
void SetValueN(const SizeT n, const T &value)
void SetValue(const vtkArrayCoordinates &coordinates, const T &value)
const T * GetStorage() const
Contiguous storage for N-way arrays.
T & operator[](const vtkArrayCoordinates &coordinates)
GLsizei const GLfloat * value
a simple class to control print indentation
virtual T * GetAddress()=0
HeapMemoryBlock(const vtkArrayExtents &extents)
void GetCoordinatesN(const SizeT n, vtkArrayCoordinates &coordinates)
Abstract interface for N-dimensional arrays.
void PrintSelf(ostream &os, vtkIndent indent)
const vtkArrayExtents & GetExtents()
void ExternalStorage(const vtkArrayExtents &extents, MemoryBlock *storage)
const T & GetValue(CoordinateT i)
const T & GetValue(const vtkArrayCoordinates &coordinates)
void SetValue(CoordinateT i, CoordinateT j, CoordinateT k, const T &value)
const T & GetValueN(const SizeT n)
vtkArray::DimensionT DimensionT
Wrapper around std::string to keep symbols short.
const T & GetValue(CoordinateT i, CoordinateT j)
vtkArrayExtents::CoordinateT CoordinateT
Stores the number of dimensions and valid coordinate ranges along each dimension for vtkArray.
vtkArray::CoordinateT CoordinateT
Stores coordinate into an N-way array.
const T & GetValue(CoordinateT i, CoordinateT j, CoordinateT k)
vtkArrayExtents::DimensionT DimensionT
Provides the equivalent of vtkTypeMacro for use with template classes.