VTK  9.4.20241221
vtkmFilterOverrides.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#ifndef vtkmFilterOverrides_h
4#define vtkmFilterOverrides_h
5
6#include "vtkAcceleratorsVTKmFiltersModule.h" //required for correct implementation
7
10VTK_ABI_NAMESPACE_BEGIN
11class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmFilterOverrides
12{
13public:
15
21 static void SetEnabled(bool value);
22 static bool GetEnabled();
26};
27
28VTK_ABI_NAMESPACE_END
29#endif // vtkmFilterOverrides_h
30// VTK-HeaderTest-Exclude: vtkmFilterOverrides.h
A class with static methods to turn vtkm filter overrides on/off at runtime.
static bool GetEnabled()
Runtime enable/disable for VTK-m filter overrides using the object factory.
static void EnabledOff()
Runtime enable/disable for VTK-m filter overrides using the object factory.
static void EnabledOn()
Runtime enable/disable for VTK-m filter overrides using the object factory.
static void SetEnabled(bool value)
Runtime enable/disable for VTK-m filter overrides using the object factory.