VTK
Classes | Defines
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Common/Core/vtkDataArrayTemplate.h File Reference
#include "vtkCommonCoreModule.h"
#include "vtkTypedDataArray.h"
#include "vtkTypeTemplate.h"
#include <cassert>
Include dependency graph for vtkDataArrayTemplate.h:
This graph shows which files directly or indirectly include this file:

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 Documentation

Definition at line 360 of file vtkDataArrayTemplate.h.

Value:
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.