VTK  9.3.1
Classes | Namespaces | Macros | Functions
vtkImplicitArray.h File Reference
#include "vtkCommonCoreModule.h"
#include "vtkGenericDataArray.h"
#include "vtkImplicitArrayTraits.h"
#include <memory>
#include <type_traits>
#include "vtkImplicitArray.txx"
#include <functional>
Include dependency graph for vtkImplicitArray.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vtkImplicitArray< BackendT >
 A read only array class that wraps an implicit function from integers to any value type supported by VTK. More...
 
struct  vtkAffineImplicitBackend< ValueType >
 A utility structure serving as a backend for affine (as a function of the index) implicit arrays. More...
 
class  vtkCompositeImplicitBackend< ValueType >
 A utility structure serving as a backend for composite arrays: an array composed of multiple arrays concatenated together. More...
 
struct  vtkConstantImplicitBackend< ValueType >
 A utility structure serving as a backend for constant implicit arrays. More...
 
class  vtkIndexedImplicitBackend< ValueType >
 A backend for the vtkImplicitArray framework allowing one to use a subset of a given data array, by providing a vtkIdList or vtkDataArray of indexes as indirection, as another vtkDataArray without any excess memory consumption. More...
 

Namespaces

 vtkDataArrayPrivate
 

Macros

#define vtkImplicitArrayTypeMacro(thisClass, superclass)
 
#define VTK_IMPLICIT_TEMPLATE_EXTERN
 
#define VTK_DECLARE_VALUERANGE_ARRAYTYPE(ArrayType, ValueType)
 
#define VTK_DECLARE_VALUERANGE_VALUETYPE(ValueType)
 
#define VTK_DECLARE_VALUERANGE_IMPLICIT_BACKENDTYPE(BackendT)
 

Functions

 vtkArrayDownCast_TemplateFastCastMacro (vtkImplicitArray)
 
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

#define vtkImplicitArrayTypeMacro (   thisClass,
  superclass 
)
Value:
vtkAbstractTypeMacroWithNewInstanceType(thisClass, superclass, \
\
protected: \
vtkObjectBase* NewInstanceInternal() const override \
{ \
} \
\
public:
static vtkAOSDataArrayTemplate * New()
Array-Of-Structs implementation of vtkGenericDataArray.

Definition at line 140 of file vtkImplicitArray.h.

#define VTK_IMPLICIT_TEMPLATE_EXTERN

Definition at line 492 of file vtkImplicitArray.h.

#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);
VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(A *, R *, T, const unsigned char *ghosts, unsigned char ghostsToSkip)
VTKCOMMONCORE_EXPORT bool DoComputeVectorRange(A *, R[2], AllValues, const unsigned char *ghosts, unsigned char ghostsToSkip)

Definition at line 527 of file vtkImplicitArray.h.

#define VTK_DECLARE_VALUERANGE_VALUETYPE (   ValueType)
Value:
A backend for the vtkImplicitArray framework allowing one to use a subset of a given data array...
#define VTK_DECLARE_VALUERANGE_ARRAYTYPE(ArrayType, ValueType)
A utility structure serving as a backend for constant implicit arrays.
A read only array class that wraps an implicit function from integers to any value type supported by ...
A utility structure serving as a backend for affine (as a function of the index) implicit arrays...
A utility structure serving as a backend for composite arrays: an array composed of multiple arrays c...

Definition at line 537 of file vtkImplicitArray.h.

#define VTK_DECLARE_VALUERANGE_IMPLICIT_BACKENDTYPE (   BackendT)
Value:
VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkImplicitArray<BackendT<signed char>>, double) \
VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkImplicitArray<BackendT<unsigned char>>, double) \
VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkImplicitArray<BackendT<unsigned short>>, double) \
VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkImplicitArray<BackendT<unsigned int>>, double) \
VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkImplicitArray<BackendT<unsigned long>>, double) \
VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkImplicitArray<BackendT<unsigned long long>>, double)
#define VTK_DECLARE_VALUERANGE_ARRAYTYPE(ArrayType, ValueType)
A read only array class that wraps an implicit function from integers to any value type supported by ...

Definition at line 548 of file vtkImplicitArray.h.

Function Documentation

vtkArrayDownCast_TemplateFastCastMacro ( vtkImplicitArray  )