33 #ifndef vtkTypedDataArray_h
34 #define vtkTypedDataArray_h
44 template <
class Scalar>
141 template <
class Scalar>
inline
147 template <
class Scalar>
inline
150 return Iterator(
this, this->MaxId + 1);
153 #include "vtkTypedDataArray.txx"
155 #endif //vtkTypedDataArray_h
virtual int GetArrayType()
Provides the equivalent of vtkTypeMacro for use with template classes.
Abstract superclass for all arrays.
virtual void SetTupleValue(vtkIdType i, const ValueType *t)=0
virtual vtkIdType InsertNextValue(ValueType v)=0
static vtkTypedDataArray< Scalar > * FastDownCast(vtkAbstractArray *source)
virtual vtkIdType InsertNextTupleValue(const ValueType *t)=0
virtual void InsertValue(vtkIdType idx, ValueType v)=0
list of point or cell ids
virtual void InsertTupleValue(vtkIdType i, const ValueType *t)=0
virtual ValueType GetValue(vtkIdType idx)=0
virtual vtkIdType LookupTypedValue(ValueType value)=0
virtual ValueType & GetValueReference(vtkIdType idx)=0
Extend vtkDataArray with abstract type-specific API.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
virtual void SetNumberOfValues(vtkIdType num)
virtual void GetTupleValue(vtkIdType idx, ValueType *t)=0
virtual void SetValue(vtkIdType idx, ValueType value)=0
STL-style random access iterator for vtkTypedDataArrays.
Template defining traits of native types used by VTK.
vtkTypedDataArrayIterator< ValueType > Iterator