#include <vtkmAlgorithm.h>
template<class AlgorithmT>
class vtkmAlgorithm< AlgorithmT >
Base class for VTK-m algorithms.
This class is used to define methods and properties that are common to all VTK-m algorithms.
- Warning
- Python wrapping of subclasses require special handling. Here is an example ensuring wrapping works as expected, implementing a temporal algorithm as a
vtkPassInputTypeAlgorithm:
#ifndef __VTK_WRAP__
#define vtkPassInputTypeAlgorithm vtkmAlgorithm<vtkPassInputTypeAlgorithm>
#endif
{
public:
#ifndef __VTK_WRAP__
#undef vtkPassInputTypeAlgorithm
#endif
#define vtkPassInputTypeAlgorithm
- See also
- vtkTemporalAlgorithm
Definition at line 47 of file vtkmAlgorithm.h.
Inherits AlgorithmT.
|
|
| | vtkTemplateTypeMacro (vtkmAlgorithm, AlgorithmT) |
| | Standard methods for instantiation, type information, and printing.
|
| |
|
| virtual bool | GetForceVTKm () |
| | When this flag is off (the default), then the computation will fall back to the serial VTK version if Viskores fails to run.
|
| |
| virtual void | SetForceVTKm (bool) |
| | When this flag is off (the default), then the computation will fall back to the serial VTK version if Viskores fails to run.
|
| |
| virtual void | ForceVTKmOn () |
| | When this flag is off (the default), then the computation will fall back to the serial VTK version if Viskores fails to run.
|
| |
| virtual void | ForceVTKmOff () |
| | When this flag is off (the default), then the computation will fall back to the serial VTK version if Viskores fails to run.
|
| |
◆ vtkmAlgorithm()
template<class AlgorithmT>
◆ vtkTemplateTypeMacro()
template<class AlgorithmT>
Standard methods for instantiation, type information, and printing.
◆ GetForceVTKm()
template<class AlgorithmT>
When this flag is off (the default), then the computation will fall back to the serial VTK version if Viskores fails to run.
When the flag is on, the filter will generate an error if Viskores fails to run. This is mostly useful in testing to make sure the expected algorithm is run.
◆ SetForceVTKm()
template<class AlgorithmT>
When this flag is off (the default), then the computation will fall back to the serial VTK version if Viskores fails to run.
When the flag is on, the filter will generate an error if Viskores fails to run. This is mostly useful in testing to make sure the expected algorithm is run.
◆ ForceVTKmOn()
template<class AlgorithmT>
When this flag is off (the default), then the computation will fall back to the serial VTK version if Viskores fails to run.
When the flag is on, the filter will generate an error if Viskores fails to run. This is mostly useful in testing to make sure the expected algorithm is run.
◆ ForceVTKmOff()
template<class AlgorithmT>
When this flag is off (the default), then the computation will fall back to the serial VTK version if Viskores fails to run.
When the flag is on, the filter will generate an error if Viskores fails to run. This is mostly useful in testing to make sure the expected algorithm is run.
◆ ForceVTKm
template<class AlgorithmT>
The documentation for this class was generated from the following file: