VTK  9.4.20241108
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
abstract base class for most VTK objects

Definition at line 142 of file vtkMappedDataArray.h.

◆ vtkMappedDataArrayTypeMacro

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

Definition at line 157 of file vtkMappedDataArray.h.

Function Documentation

◆ vtkArrayDownCast_TemplateFastCastMacro()

vtkArrayDownCast_TemplateFastCastMacro ( vtkMappedDataArray  )