VTK: Common/Core/vtkGenericDataArray.h File Reference

| VTK 9.3.1

Classes | Namespaces | Macros | Functions
vtkGenericDataArray.h File Reference
`#include "vtkDataArray.h"`
`#include "vtkCompiler.h"`
`#include "vtkGenericDataArrayLookupHelper.h"`
`#include "vtkSmartPointer.h"`
`#include "vtkTypeTraits.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...

## Namespaces
| vtkDataArrayPrivate

## Macros
#define | vtkAOSArrayNewInstanceMacro(thisClass)
#define | VTK_GDA_TEMPLATE_EXTERN
#define | VTK_DECLARE_VALUERANGE_ARRAYTYPE(ArrayType, ValueType)
#define | VTK_DECLARE_VALUERANGE_VALUETYPE(ValueType)

## Functions
template<typename A , typename R , typename T >
VTKCOMMONCORE_EXPORT bool | vtkDataArrayPrivate::DoComputeScalarRange (A *, R *, T, const unsigned char *ghosts, unsigned char ghostsToSkip)
template<typename A , typename R >
VTKCOMMONCORE_EXPORT bool | vtkDataArrayPrivate::DoComputeVectorRange (A *, R[2], AllValues, const unsigned char *ghosts, unsigned char ghostsToSkip)
template<typename A , typename R >
VTKCOMMONCORE_EXPORT bool | vtkDataArrayPrivate::DoComputeVectorRange (A *, R[2], FiniteValues, const unsigned char *ghosts, unsigned char ghostsToSkip)

## Macro Definition Documentation

## ◆ vtkAOSArrayNewInstanceMacro

#define vtkAOSArrayNewInstanceMacro | ( |  | 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 456 of file vtkGenericDataArray.h.

## ◆ VTK_GDA_TEMPLATE_EXTERN

#define VTK_GDA_TEMPLATE_EXTERN

Definition at line 523 of file vtkGenericDataArray.h.

## ◆ VTK_DECLARE_VALUERANGE_ARRAYTYPE

#define VTK_DECLARE_VALUERANGE_ARRAYTYPE | ( |  | ArrayType,
|  |  | ValueType
| ) |  |

Value:
extern template VTKCOMMONCORE_EXPORT bool DoComputeScalarRange( \
ArrayType*, ValueType*, vtkDataArrayPrivate::AllValues, const unsigned char*, unsigned char); \
extern template VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(ArrayType*, ValueType*, \
vtkDataArrayPrivate::FiniteValues, const unsigned char*, unsigned char); \
extern template VTKCOMMONCORE_EXPORT bool DoComputeVectorRange(ArrayType*, ValueType[2], \
vtkDataArrayPrivate::AllValues, const unsigned char*, unsigned char); \
extern template VTKCOMMONCORE_EXPORT bool DoComputeVectorRange(ArrayType*, ValueType[2], \
vtkDataArrayPrivate::FiniteValues, const unsigned char*, unsigned char);
vtkDataArrayPrivate::DoComputeVectorRange
VTKCOMMONCORE_EXPORT bool DoComputeVectorRange(A *, R[2], FiniteValues, const unsigned char *ghosts, unsigned char ghostsToSkip)
vtkDataArrayPrivate::DoComputeScalarRange
VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(A *, R *, T, const unsigned char *ghosts, unsigned char ghostsToSkip)
vtkDataArrayPrivate::AllValues
Definition: vtkDataArray.h:723
vtkDataArrayPrivate::FiniteValues
Definition: vtkDataArray.h:726

Definition at line 560 of file vtkGenericDataArray.h.

## ◆ VTK_DECLARE_VALUERANGE_VALUETYPE

#define VTK_DECLARE_VALUERANGE_VALUETYPE | ( |  | ValueType | ) |

Value:
VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate<ValueType>, ValueType) \
VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate<ValueType>, ValueType)
vtkAOSDataArrayTemplate
Array-Of-Structs implementation of vtkGenericDataArray.
Definition: vtkAOSDataArrayTemplate.h:37
vtkSOADataArrayTemplate
Struct-Of-Arrays implementation of vtkGenericDataArray.
Definition: vtkSOADataArrayTemplate.h:36
VTK_DECLARE_VALUERANGE_ARRAYTYPE
#define VTK_DECLARE_VALUERANGE_ARRAYTYPE(ArrayType, ValueType)
Definition: vtkGenericDataArray.h:560

Definition at line 579 of file vtkGenericDataArray.h.