VTK
9.5.20251109
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Accelerators
Vtkm
Filters
vtkmAlgorithm.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-License-Identifier: BSD-3-Clause
3
39
#ifndef vtkmAlgorithm_h
40
#define vtkmAlgorithm_h
41
42
#include "
vtkAlgorithm.h
"
43
44
VTK_ABI_NAMESPACE_BEGIN
45
46
template
<
class
AlgorithmT>
47
class
vtkmAlgorithm
:
public
AlgorithmT
48
{
49
public
:
51
54
vtkTemplateTypeMacro
(
vtkmAlgorithm
, AlgorithmT);
56
57
static_assert
(std::is_base_of<vtkAlgorithm, AlgorithmT>::value,
58
"Template argument must inherit vtkAlgorithm"
);
59
61
67
vtkGetMacro(
ForceVTKm
,
bool
);
68
vtkSetMacro(
ForceVTKm
,
bool
);
69
vtkBooleanMacro(
ForceVTKm
,
bool
);
71
72
protected
:
73
vtkmAlgorithm
() =
default
;
74
75
bool
ForceVTKm
=
false
;
76
77
private
:
78
vtkmAlgorithm
(
const
vtkmAlgorithm
&) =
delete
;
79
void
operator=(
const
vtkmAlgorithm
&) =
delete
;
80
};
81
VTK_ABI_NAMESPACE_END
82
83
#endif
// vtkmAlgorithm_h
vtkmAlgorithm
Base class for VTK-m algorithms.
Definition
vtkmAlgorithm.h:48
vtkmAlgorithm::vtkTemplateTypeMacro
vtkTemplateTypeMacro(vtkmAlgorithm, AlgorithmT)
Standard methods for instantiation, type information, and printing.
vtkmAlgorithm::vtkmAlgorithm
vtkmAlgorithm()=default
vtkmAlgorithm::ForceVTKm
bool ForceVTKm
Definition
vtkmAlgorithm.h:75
vtkAlgorithm.h
Generated on Sun Nov 9 2025 08:22:57 for VTK by
1.9.7