VTK  9.4.20241104
vtkmThreshold.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-FileCopyrightText: Copyright (c) Kitware, Inc.
3// SPDX-FileCopyrightText: Copyright 2012 Sandia Corporation.
4// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
20#ifndef vtkmThreshold_h
21#define vtkmThreshold_h
22
23#include "vtkAcceleratorsVTKmFiltersModule.h" //required for correct implementation
24#include "vtkThreshold.h"
25#include "vtkmlib/vtkmInitializer.h" // Need for initializing vtk-m
26
27VTK_ABI_NAMESPACE_BEGIN
28class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmThreshold : public vtkThreshold
29{
30public:
32 void PrintSelf(ostream& os, vtkIndent indent) override;
33
34 static vtkmThreshold* New();
35
37
43 vtkGetMacro(ForceVTKm, vtkTypeBool);
44 vtkSetMacro(ForceVTKm, vtkTypeBool);
45 vtkBooleanMacro(ForceVTKm, vtkTypeBool);
47
48protected:
50 ~vtkmThreshold() override;
51
53
54 vtkTypeBool ForceVTKm = false;
55
56private:
57 vtkmThreshold(const vtkmThreshold&) = delete;
58 void operator=(const vtkmThreshold&) = delete;
59 vtkmInitializer Initializer;
60};
61
62VTK_ABI_NAMESPACE_END
63#endif // vtkmThreshold_h
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
extracts cells where scalar value in cell satisfies threshold criterion
extracts cells where scalar value in cell satisfies threshold criterion
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkmThreshold * New()
~vtkmThreshold() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int vtkTypeBool
Definition vtkABI.h:64