VTK
9.4.20241223
|
Go to the source code of this file.
Macros | |
#define | VTK_STD_FUNCTION_ARRAY_TEMPLATE_EXTERN |
Typedefs | |
template<typename T > | |
using | vtkStdFunctionArray = vtkImplicitArray< std::function< T(int)> > |
A utility alias for wrapping std::function in implicit arrays. | |
Functions | |
vtkExternStdFunctionTemplateMacro (extern template class VTKCOMMONCORE_EXPORT vtkImplicitArray, std::function, int) | |
#define VTK_STD_FUNCTION_ARRAY_TEMPLATE_EXTERN |
Definition at line 58 of file vtkStdFunctionArray.h.
vtkStdFunctionArray |
A utility alias for wrapping std::function in implicit arrays.
The main goal behind this alias is to be able to offer some semi-flexible instantiations of implicit arrays that can work with the vtkArrayDispatch mechanisms.
In order to be usefully included in the dispatchers, these arrays need to be instantiated at the vtk library compile time. As such, they need to be compilable without knowing the exact function/mapping to include in the backend. This is why std::function is used as the backend here.
Definition at line 39 of file vtkStdFunctionArray.h.
vtkExternStdFunctionTemplateMacro | ( | extern template class VTKCOMMONCORE_EXPORT | vtkImplicitArray, |
std::function | , | ||
int | |||
) |