VTK
|
#include "vtkCommonCoreModule.h"
#include "vtkTypedDataArray.h"
#include "vtkTypeTemplate.h"
#include <cassert>
Go to the source code of this file.
Classes | |
class | vtkDataArrayTemplate< T > |
Implementation template for vtkDataArray. More... | |
Defines | |
#define | VTK_DATA_ARRAY_TEMPLATE_INSTANTIATE(T) template class VTKCOMMONCORE_EXPORT vtkDataArrayTemplate< T > |
#define | vtkCreateWrappedArrayInterface(T) |
#define VTK_DATA_ARRAY_TEMPLATE_INSTANTIATE | ( | T | ) | template class VTKCOMMONCORE_EXPORT vtkDataArrayTemplate< T > |
Definition at line 360 of file vtkDataArrayTemplate.h.
#define vtkCreateWrappedArrayInterface | ( | T | ) |
int GetDataType(); \ void GetTupleValue(vtkIdType i, T* tuple); \ void SetTupleValue(vtkIdType i, const T* tuple); \ void InsertTupleValue(vtkIdType i, const T* tuple); \ vtkIdType InsertNextTupleValue(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) */
Definition at line 370 of file vtkDataArrayTemplate.h.