4#ifndef vtkIndexedImplicitBackend_h
5#define vtkIndexedImplicitBackend_h
45#include "vtkCommonCoreModule.h"
49VTK_ABI_NAMESPACE_BEGIN
52template <
typename ValueType>
81 std::unique_ptr<Internals> Internal;
87#if defined(VTK_INDEXED_BACKEND_INSTANTIATING)
89#define VTK_INSTANTIATE_INDEXED_BACKEND(ValueType) \
90 VTK_ABI_NAMESPACE_BEGIN \
91 template class VTKCOMMONCORE_EXPORT vtkIndexedImplicitBackend<ValueType>; \
94#elif defined(VTK_USE_EXTERN_TEMPLATE)
96#ifndef VTK_INDEXED_BACKEND_TEMPLATE_EXTERN
97#define VTK_INDEXED_BACKEND_TEMPLATE_EXTERN
100#pragma warning(disable : 4910)
102VTK_ABI_NAMESPACE_BEGIN
abstract superclass for arrays of numeric data
list of point or cell ids
A backend for the vtkImplicitArray framework allowing one to use a subset of a given data array,...
unsigned long getMemorySize() const
Returns the smallest integer memory size in KiB needed to store the array.
~vtkIndexedImplicitBackend()
vtkIndexedImplicitBackend(vtkDataArray *indexes, vtkDataArray *array)
Constructor.
ValueType operator()(int idx) const
Indexing operation for the indexed array respecting the backend expectations of vtkImplicitArray
vtkIndexedImplicitBackend(vtkIdList *indexes, vtkDataArray *array)
Constructor.
#define vtkExternTemplateMacro(decl)
A macro to declare extern templates for all numerical types.