VTK  9.1.0
Classes | Macros | Functions
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)
 

Functions

 vtkArrayDownCast_TemplateFastCastMacro (vtkMappedDataArray)
 

Macro Definition Documentation

◆ vtkMappedDataArrayNewInstanceMacro

#define vtkMappedDataArrayNewInstanceMacro (   thisClass)
Value:
protected: \
vtkObjectBase* NewInstanceInternal() const override \
{ \
if (vtkDataArray* da = vtkDataArray::CreateDataArray(thisClass::VTK_DATA_TYPE)) \
{ \
return da; \
} \
return thisClass::New(); \
} \
\
public:
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:159
static vtkDataArray * CreateDataArray(int dataType)
Creates an array for dataType where dataType is one of VTK_BIT, VTK_CHAR, VTK_SIGNED_CHAR,...
abstract base class for most VTK objects
Definition: vtkObjectBase.h:70

Definition at line 152 of file vtkMappedDataArray.h.

◆ vtkMappedDataArrayTypeMacro

#define vtkMappedDataArrayTypeMacro (   thisClass,
  superClass 
)
Value:
vtkAbstractTypeMacroWithNewInstanceType(thisClass, superClass, vtkDataArray); \
vtkMappedDataArrayNewInstanceMacro(thisClass)

Definition at line 167 of file vtkMappedDataArray.h.

Function Documentation

◆ vtkArrayDownCast_TemplateFastCastMacro()

vtkArrayDownCast_TemplateFastCastMacro ( vtkMappedDataArray  )