VTK
Classes | Macros
vtkGenericDataArray.h File Reference
#include "vtkDataArray.h"
#include "vtkSmartPointer.h"
#include "vtkTypeTraits.h"
#include "vtkGenericDataArrayLookupHelper.h"
#include <cassert>
#include "vtkGenericDataArray.txx"
Include dependency graph for vtkGenericDataArray.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vtkGenericDataArray< DerivedT, ValueTypeT >
 Base interface for all typed vtkDataArray subclasses. More...
 

Macros

#define vtkAOSArrayNewInstanceMacro(thisClass)
 

Macro Definition Documentation

#define vtkAOSArrayNewInstanceMacro (   thisClass)
Value:
protected: \
vtkObjectBase *NewInstanceInternal() const override \
{ \
if (vtkDataArray *da = \
vtkDataArray::CreateDataArray(thisClass::VTK_DATA_TYPE)) \
{ \
return da; \
} \
return thisClass::New(); \
} \
public:
static vtkDataArray * CreateDataArray(int dataType)
Creates an array for dataType where dataType is one of VTK_BIT, VTK_CHAR, VTK_SIGNED_CHAR, VTK_UNSIGNED_CHAR, VTK_SHORT, VTK_UNSIGNED_SHORT, VTK_INT, VTK_UNSIGNED_INT, VTK_LONG, VTK_UNSIGNED_LONG, VTK_DOUBLE, VTK_DOUBLE, VTK_ID_TYPE.
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54

Definition at line 364 of file vtkGenericDataArray.h.