45 #include "vtkCommonCoreModule.h"
50 VTK_ABI_NAMESPACE_BEGIN
85 virtual bool IsDense() = 0;
100 void Resize(CoordinateT i);
101 void Resize(CoordinateT i, CoordinateT j);
102 void Resize(CoordinateT i, CoordinateT j, CoordinateT k);
124 DimensionT GetDimensions();
141 virtual SizeT GetNonNullSize() = 0;
155 void SetDimensionLabel(DimensionT i,
const vtkStdString& label);
177 inline vtkVariant GetVariantValue(CoordinateT i);
178 inline vtkVariant GetVariantValue(CoordinateT i, CoordinateT j);
179 inline vtkVariant GetVariantValue(CoordinateT i, CoordinateT j, CoordinateT k);
190 virtual vtkVariant GetVariantValueN(SizeT n) = 0;
199 inline void SetVariantValue(CoordinateT i, CoordinateT j,
const vtkVariant&
value);
200 inline void SetVariantValue(CoordinateT i, CoordinateT j, CoordinateT k,
const vtkVariant&
value);
220 virtual void CopyValue(
222 virtual void CopyValue(
237 void operator=(
const vtkArray&) =
delete;
253 virtual void InternalSetDimensionLabel(DimensionT i,
const vtkStdString& label) = 0;
259 virtual vtkStdString InternalGetDimensionLabel(DimensionT i) = 0;
293 VTK_ABI_NAMESPACE_END
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 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
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
vtkArrayCoordinates::CoordinateT CoordinateT
vtkSmartPointer< vtkDataArray > CreateArray(const Ioss::Field &field)
Create an array for the given field.
vtkArrayExtents::CoordinateT CoordinateT
vtkArrayCoordinates::DimensionT DimensionT