VTK  9.3.1
Public Member Functions | List of all members
vtkIndexedImplicitBackend< ValueType > Class Template Reference

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...

#include <vtkImplicitArray.h>

Public Member Functions

 ~vtkIndexedImplicitBackend ()
 
ValueType operator() (int idx) const
 Indexing operation for the indexed array respecting the backend expectations of vtkImplicitArray More...
 
 vtkIndexedImplicitBackend (vtkIdList *indexes, vtkDataArray *array)
 Constructor. More...
 
 vtkIndexedImplicitBackend (vtkDataArray *indexes, vtkDataArray *array)
 Constructor. More...
 

Detailed Description

template<typename ValueType>
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.

This structure can be classified as a closure and can be called using syntax similar to a function call.

An example of potential usage in a vtkImplicitArray:

Definition at line 508 of file vtkImplicitArray.h.

Constructor & Destructor Documentation

template<typename ValueType >
vtkIndexedImplicitBackend< ValueType >::vtkIndexedImplicitBackend ( vtkIdList indexes,
vtkDataArray array 
)

Constructor.

Parameters
indexeslist of indexes to use for indirection of the array
arraybase array of interest
template<typename ValueType >
vtkIndexedImplicitBackend< ValueType >::vtkIndexedImplicitBackend ( vtkDataArray indexes,
vtkDataArray array 
)

Constructor.

Parameters
indexeslist of indexes to use for indirection of the array
arraybase array of interest
template<typename ValueType >
vtkIndexedImplicitBackend< ValueType >::~vtkIndexedImplicitBackend ( )

Member Function Documentation

template<typename ValueType >
ValueType vtkIndexedImplicitBackend< ValueType >::operator() ( int  idx) const

Indexing operation for the indexed array respecting the backend expectations of vtkImplicitArray


The documentation for this class was generated from the following files: