VTK
Classes | Macros
vtkMappedDataArray.h File Reference
#include "vtkTypedDataArray.h"
#include "vtkMappedDataArray.txx"
Include dependency graph for vtkMappedDataArray.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vtkMappedDataArray< Scalar >
 Map non-contiguous data structures into the vtkDataArray API. More...
 

Macros

#define vtkMappedDataArrayNewInstanceMacro(thisClass)
 
#define vtkMappedDataArrayTypeMacro(thisClass, superClass)
 

Macro Definition Documentation

#define vtkMappedDataArrayNewInstanceMacro (   thisClass)
Value:
protected: \
vtkObjectBase *NewInstanceInternal() const \
{ \
if (vtkDataArray *da = \
vtkDataArray::CreateDataArray(thisClass::VTK_DATA_TYPE)) \
{ \
return da; \
} \
return thisClass::New(); \
} \
public:
static VTK_NEWINSTANCE 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
#define vtkMappedDataArrayTypeMacro (   thisClass,
  superClass 
)
Value:
vtkAbstractTypeMacroWithNewInstanceType(thisClass, superClass, vtkDataArray) \
#define vtkMappedDataArrayNewInstanceMacro(thisClass)
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54