47#ifndef vtkTypedArray_h
48#define vtkTypedArray_h
78 const SizeT target_index)
override;
131#include "vtkTypedArray.txx"
Stores coordinate into an N-way array.
Abstract interface for N-dimensional arrays.
void SetVariantValue(CoordinateT i, const vtkVariant &value)
Overwrites the value stored in the array at the given coordinates.
vtkArrayExtents::SizeT SizeT
vtkArrayExtents::CoordinateT CoordinateT
vtkVariant GetVariantValue(CoordinateT i)
Returns the value stored in the array at the given coordinates.
a simple class to control print indentation
Provides a type-specific interface to N-way arrays.
virtual const T & GetValue(const vtkArrayCoordinates &coordinates)=0
Returns the value stored in the array at the given coordinates.
vtkVariant GetVariantValue(const vtkArrayCoordinates &coordinates) override
Returns the value stored in the array at the given coordinates.
virtual void SetValue(CoordinateT i, CoordinateT j, const T &value)=0
Overwrites the value stored in the array at the given coordinates.
virtual void SetValue(CoordinateT i, const T &value)=0
Overwrites the value stored in the array at the given coordinates.
vtkTemplateTypeMacro(vtkTypedArray< T >, vtkArray)
vtkArray::CoordinateT CoordinateT
~vtkTypedArray() override=default
vtkVariant GetVariantValueN(const SizeT n) override
Returns the n-th value stored in the array, where n is in the range [0, GetNonNullSize()).
void CopyValue(vtkArray *source, const SizeT source_index, const vtkArrayCoordinates &target_coordinates) override
Overwrites a value with a value retrieved from another array.
void SetVariantValueN(const SizeT n, const vtkVariant &value) override
Overwrites the n-th value stored in the array, where n is in the range [0, GetNonNullSize()).
virtual const T & GetValue(CoordinateT i, CoordinateT j, CoordinateT k)=0
Returns the value stored in the array at the given coordinates.
void CopyValue(vtkArray *source, const vtkArrayCoordinates &source_coordinates, const SizeT target_index) override
Overwrites a value with a value retrieved from another array.
virtual void SetValueN(const SizeT n, const T &value)=0
Overwrites the n-th value stored in the array, where n is in the range [0, GetNonNullSize()).
virtual void SetValue(const vtkArrayCoordinates &coordinates, const T &value)=0
Overwrites the value stored in the array at the given coordinates.
void CopyValue(vtkArray *source, const vtkArrayCoordinates &source_coordinates, const vtkArrayCoordinates &target_coordinates) override
Overwrites a value with a value retrieved from another array.
virtual const T & GetValue(CoordinateT i, CoordinateT j)=0
Returns the value stored in the array at the given coordinates.
virtual void SetValue(CoordinateT i, CoordinateT j, CoordinateT k, const T &value)=0
Overwrites the value stored in the array at the given coordinates.
virtual const T & GetValueN(const SizeT n)=0
Returns the n-th value stored in the array, where n is in the range [0, GetNonNullSize()).
virtual const T & GetValue(CoordinateT i)=0
Returns the value stored in the array at the given coordinates.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetVariantValue(const vtkArrayCoordinates &coordinates, const vtkVariant &value) override
Overwrites the value stored in the array at the given coordinates.
A atomic type representing the union of many types.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)