3#ifndef vtkStructuredPointArray_h
4#define vtkStructuredPointArray_h
6#ifdef VTK_STRUCTURED_POINT_ARRAY_INSTANTIATING
7#define VTK_IMPLICIT_VALUERANGE_INSTANTIATING
8#include "vtkDataArrayPrivate.txx"
11#include "vtkCommonCoreModule.h"
16#ifdef VTK_STRUCTURED_POINT_ARRAY_INSTANTIATING
17#undef VTK_IMPLICIT_VALUERANGE_INSTANTIATING
31VTK_ABI_NAMESPACE_BEGIN
32template <
typename ValueType>
38VTK_ABI_NAMESPACE_BEGIN
45template <
typename ValueType>
48 int dataDescription,
double dirMatrix[9]);
54#ifdef VTK_STRUCTURED_POINT_ARRAY_INSTANTIATING
57#define VTK_INSTANTIATE_STRUCTURED_POINT_ARRAY_EXPORT(ValueType) \
58 VTK_ABI_NAMESPACE_BEGIN \
59 template class VTKCOMMONCORE_EXPORT vtkImplicitArray<vtkStructuredPointBackend<ValueType>>; \
62#define VTK_INSTANTIATE_STRUCTURED_POINT_ARRAY_FUNCTIONS(ValueType) \
65 VTK_ABI_NAMESPACE_BEGIN \
66 template VTKCOMMONCORE_EXPORT \
67 vtkSmartPointer<vtkImplicitArray<vtkStructuredPointBackend<ValueType>>> \
68 CreateStructuredPointArray(vtkDataArray* xCoords, vtkDataArray* yCoords, \
69 vtkDataArray* zCoords, int extent[6], int dataDescription, double dirMatrix[9]); \
70 VTK_ABI_NAMESPACE_END \
72 namespace vtkDataArrayPrivate \
74 VTK_ABI_NAMESPACE_BEGIN \
75 VTK_INSTANTIATE_VALUERANGE_ARRAYTYPE( \
76 vtkImplicitArray<vtkStructuredPointBackend<ValueType>>, double) \
77 VTK_ABI_NAMESPACE_END \
80#elif defined(VTK_USE_EXTERN_TEMPLATE)
81#ifndef VTK_STRUCTURED_POINT_ARRAY_TEMPLATE_EXTERN
82#define VTK_STRUCTURED_POINT_ARRAY_TEMPLATE_EXTERN
87#pragma warning(disable : 4910)
89VTK_ABI_NAMESPACE_BEGIN
98#elif defined(_MSC_VER) && !defined(VTK_BUILD_SHARED_LIBS)
101#pragma warning(disable : 4091)
104#pragma warning(disable : 4231)
117#pragma warning(disable : 4910)
121VTK_ABI_NAMESPACE_BEGIN
abstract superclass for arrays of numeric data
A read only array class that wraps an implicit function from integers to any value type supported by ...
Hold a reference to a vtkObjectBase instance.
An structured point array used by structured datasets subclasses.
A backend for the vtkImplicitArray to query structured points efficiently.
Specialization of tuple ranges and iterators for vtkAOSDataArrayTemplate.
vtkSmartPointer< vtkImplicitArray< vtkStructuredPointBackend< ValueType > > > CreateStructuredPointArray(vtkDataArray *xCoords, vtkDataArray *yCoords, vtkDataArray *zCoords, int extent[6], int dataDescription, double dirMatrix[9])
Create an implicit point array from the given coordinates and direction matrix which is optional.
#define vtkInstantiateSecondOrderTemplateMacro(decl0, decl1)
#define vtkExternSecondOrderTemplateMacro(decl0, decl1)