VTK: Common/Core/vtkMappedDataArray.h File Reference

| VTK 9.3.1

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:
vtkDataArray
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
vtkDataArray::CreateDataArray
static vtkDataArray * CreateDataArray(int dataType)
Creates an array for dataType where dataType is one of VTK_BIT, VTK_CHAR, VTK_SIGNED_CHAR,...

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 |  | ) |