63 #include "vtkCommonCoreModule.h" 97 static vtkArray* CreateArray(
int StorageType,
int ValueType);
104 virtual bool IsDense() = 0;
119 void Resize(
const CoordinateT i);
120 void Resize(
const CoordinateT i,
const CoordinateT j);
121 void Resize(
const CoordinateT i,
const CoordinateT j,
const CoordinateT k);
143 DimensionT GetDimensions();
160 virtual SizeT GetNonNullSize() = 0;
174 void SetDimensionLabel(DimensionT i,
const vtkStdString& label);
196 inline vtkVariant GetVariantValue(CoordinateT i);
197 inline vtkVariant GetVariantValue(CoordinateT i, CoordinateT j);
198 inline vtkVariant GetVariantValue(CoordinateT i, CoordinateT j, CoordinateT k);
209 virtual vtkVariant GetVariantValueN(
const SizeT n) = 0;
218 inline void SetVariantValue(CoordinateT i, CoordinateT j,
const vtkVariant&
value);
219 inline void SetVariantValue(CoordinateT i, CoordinateT j, CoordinateT k,
const vtkVariant&
value);
230 virtual void SetVariantValueN(
const SizeT n,
const vtkVariant&
value) = 0;
253 void operator=(
const vtkArray&) =
delete;
269 virtual void InternalSetDimensionLabel(DimensionT i,
const vtkStdString& label) = 0;
275 virtual vtkStdString InternalGetDimensionLabel(DimensionT i) = 0;
vtkVariant GetVariantValue(CoordinateT i)
Returns the value stored in the array at the given coordinates.
Stores coordinate into an N-way array.
Wrapper around std::string to keep symbols short.
abstract base class for most VTK objects
Stores the number of dimensions and valid coordinate ranges along each dimension for vtkArray...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Abstract interface for N-dimensional arrays.
Stores a half-open range of array coordinates.
A atomic type representing the union of many types.
vtkArrayExtents::DimensionT DimensionT
a simple class to control print indentation
void SetVariantValue(CoordinateT i, const vtkVariant &value)
Overwrites the value stored in the array at the given coordinates.
vtkArrayExtents::SizeT SizeT
vtkArrayCoordinates::CoordinateT CoordinateT
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
vtkArrayExtents::CoordinateT CoordinateT
vtkArrayCoordinates::DimensionT DimensionT