3#ifndef vtkStridedImplicitBackend_h 
    4#define vtkStridedImplicitBackend_h 
   20#include "vtkCommonCoreModule.h" 
   24VTK_ABI_NAMESPACE_BEGIN
 
   26template <
typename ValueType>
 
   69  const ValueType* Buffer = 
nullptr;
 
   72  int NumberOfComponents = 1;
 
   78#if defined(VTK_STRIDED_BACKEND_INSTANTIATING) 
   80#define VTK_INSTANTIATE_STRIDED_BACKEND(ValueType)                                                 \ 
   81  VTK_ABI_NAMESPACE_BEGIN                                                                          \ 
   82  template class VTKCOMMONCORE_EXPORT vtkStridedImplicitBackend<ValueType>;                        \ 
   85#elif defined(VTK_USE_EXTERN_TEMPLATE) 
   87#ifndef VTK_STRIDED_BACKEND_TEMPLATE_EXTERN 
   88#define VTK_STRIDED_BACKEND_TEMPLATE_EXTERN 
   91#pragma warning(disable : 4910)  
   93VTK_ABI_NAMESPACE_BEGIN
 
list of point or cell ids
 
A backend for the vtkImplicitArray framework to give a strided view on a buffer.
 
vtkStridedImplicitBackend(const ValueType *buffer, vtkIdType stride, int components, vtkIdType offset)
Constructors.
 
ValueType mapComponent(vtkIdType tupleIdx, int compIdx) const
Return the specified component value.
 
void mapTuple(vtkIdType tupleIdx, ValueType *tuple) const
Fill tuple with the content of the tupleIdx of the array.
 
ValueType operator()(vtkIdType idx) const
Return the value at the given flat idx.
 
vtkStridedImplicitBackend(const ValueType *buffer, vtkIdType stride, int components)
Constructors.
 
vtkStridedImplicitBackend(const ValueType *buffer, vtkIdType stride)
Constructors.
 
~vtkStridedImplicitBackend()
 
#define vtkExternTemplateMacro(decl)
A macro to declare extern templates for all numerical types.