VTK
|
These signatures must be reimplemented in subclasses as public, non-virtual methods. More...
Functions | |
ValueType | vtkGenericDataArray< DerivedT, ValueTypeT >::GetValue (vtkIdType valueIdx) const |
Get the value at valueIdx. More... | |
void | vtkGenericDataArray< DerivedT, ValueTypeT >::SetValue (vtkIdType valueIdx, ValueType value) |
Set the value at valueIdx to value. More... | |
void | vtkGenericDataArray< DerivedT, ValueTypeT >::GetTypedTuple (vtkIdType tupleIdx, ValueType *tuple) const |
Copy the tuple at tupleIdx into tuple. More... | |
void | vtkGenericDataArray< DerivedT, ValueTypeT >::SetTypedTuple (vtkIdType tupleIdx, const ValueType *tuple) |
Set this array's tuple at tupleIdx to the values in tuple. More... | |
ValueType | vtkGenericDataArray< DerivedT, ValueTypeT >::GetTypedComponent (vtkIdType tupleIdx, int compIdx) const |
Get component compIdx of the tuple at tupleIdx. More... | |
void | vtkGenericDataArray< DerivedT, ValueTypeT >::SetTypedComponent (vtkIdType tupleIdx, int compIdx, ValueType value) |
Set component compIdx of the tuple at tupleIdx to value. More... | |
bool | vtkGenericDataArray< DerivedT, ValueTypeT >::AllocateTuples (vtkIdType numTuples) |
Allocate space for numTuples. More... | |
bool | vtkGenericDataArray< DerivedT, ValueTypeT >::ReallocateTuples (vtkIdType numTuples) |
Allocate space for numTuples. More... | |
These signatures must be reimplemented in subclasses as public, non-virtual methods.
Ideally, they should be inlined and as efficient as possible to ensure the best performance possible.
|
inline |
Get the value at valueIdx.
valueIdx assumes AOS ordering.
Definition at line 104 of file vtkGenericDataArray.h.
|
inline |
Set the value at valueIdx to value.
valueIdx assumes AOS ordering.
Definition at line 116 of file vtkGenericDataArray.h.
|
inline |
Copy the tuple at tupleIdx into tuple.
Definition at line 130 of file vtkGenericDataArray.h.
|
inline |
Set this array's tuple at tupleIdx to the values in tuple.
Definition at line 144 of file vtkGenericDataArray.h.
|
inline |
Get component compIdx of the tuple at tupleIdx.
This is typically the fastest way to access array data.
Definition at line 155 of file vtkGenericDataArray.h.
|
inline |
Set component compIdx of the tuple at tupleIdx to value.
This is typically the fastest way to set array data.
Definition at line 168 of file vtkGenericDataArray.h.
|
inlineprotected |
Allocate space for numTuples.
Old data is not preserved. If numTuples == 0, all data is freed.
Definition at line 326 of file vtkGenericDataArray.h.
|
inlineprotected |
Allocate space for numTuples.
Old data is preserved. If numTuples == 0, all data is freed.
Definition at line 336 of file vtkGenericDataArray.h.