VTK  9.2.6
vtkmFilterOverrides.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: ObjectFactory.cxx
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
15#ifndef vtkmFilterOverrides_h
16#define vtkmFilterOverrides_h
17
18#include "vtkAcceleratorsVTKmFiltersModule.h" //required for correct implementation
19
22class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmFilterOverrides
23{
24public:
26
32 static void SetEnabled(bool value);
33 static bool GetEnabled();
37};
38
39#endif // vtkmFilterOverrides_h
40// 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.