4 #ifndef vtkCompositeImplicitBackend_h
5 #define vtkCompositeImplicitBackend_h
41 #include "vtkCommonCoreModule.h"
48 VTK_ABI_NAMESPACE_BEGIN
50 template <
typename ValueType>
79 #if defined(VTK_COMPOSITE_BACKEND_INSTANTIATING)
81 #define VTK_INSTANTIATE_COMPOSITE_BACKEND(ValueType) \
82 VTK_ABI_NAMESPACE_BEGIN \
83 template class VTKCOMMONCORE_EXPORT vtkCompositeImplicitBackend<ValueType>; \
86 #elif defined(VTK_USE_EXTERN_TEMPLATE)
88 #ifndef VTK_COMPOSITE_BACKEND_TEMPLATE_EXTERN
89 #define VTK_COMPOSITE_BACKEND_TEMPLATE_EXTERN
92 #pragma warning(disable : 4910)
94 VTK_ABI_NAMESPACE_BEGIN
A utility structure serving as a backend for composite arrays: an array composed of multiple arrays c...
~vtkCompositeImplicitBackend()
vtkCompositeImplicitBackend(const std::vector< vtkDataArray * > &arrays)
Constructor for the backend.
std::unique_ptr< Internals > Internal
ValueType operator()(int idx) const
Indexing operator for the composite of the two arrays respecting the vtkImplicitArray expectations.
abstract superclass for arrays of numeric data
vtkExternTemplateMacro(extern template class VTKCOMMONCORE_EXPORT vtkCompositeImplicitBackend)