VTK
Classes | Macros
vtkAOSDataArrayTemplate.h File Reference
#include "vtkCommonCoreModule.h"
#include "vtkGenericDataArray.h"
#include "vtkBuffer.h"
Include dependency graph for vtkAOSDataArrayTemplate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vtkAOSDataArrayTemplate< ValueTypeT >
 Array-Of-Structs implementation of vtkGenericDataArray. More...
 

Macros

#define vtkCreateWrappedArrayInterface(T)
 

Macro Definition Documentation

#define vtkCreateWrappedArrayInterface (   T)
Value:
int GetDataType(); \
void GetTypedTuple(vtkIdType i, T* tuple); \
void SetTypedTuple(vtkIdType i, const T* tuple); \
void InsertTypedTuple(vtkIdType i, const T* tuple); \
vtkIdType InsertNextTypedTuple(const T* tuple); \
T GetValue(vtkIdType id); \
void SetValue(vtkIdType id, T value); \
void SetNumberOfValues(vtkIdType number); \
void InsertValue(vtkIdType id, T f); \
vtkIdType InsertNextValue(T f); \
T *GetValueRange(int comp); \
T *GetValueRange(); \
T* WritePointer(vtkIdType id, vtkIdType number); \
T* GetPointer(vtkIdType id)/*; \
* These methods are not wrapped to avoid wrappers exposing these
* easy-to-get-wrong methods because passing in the wrong value for 'save' is
* guaranteed to cause a memory issue down the line. Either the wrappers
* didn't use malloc to allocate the memory or the memory isn't actually
* persisted because a temporary array is used that doesn't persist like this
* method expects.
void SetArray(T* array, vtkIdType size, int save); \
void SetArray(T* array, vtkIdType size, int save, int deleteMethod) */
int vtkIdType
Definition: vtkType.h:287