VTK  9.7.1
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 "vtkmAlgorithm.h" // For vtkmAlgorithm
26 #include "vtkmlib/vtkmInitializer.h" // Need for initializing viskores
27 
28 #ifndef __VTK_WRAP__
29 #define vtkThreshold vtkmAlgorithm<vtkThreshold>
30 #endif
31 
32 VTK_ABI_NAMESPACE_BEGIN
33 class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmThreshold : public vtkThreshold
34 {
35 public:
36  vtkTypeMacro(vtkmThreshold, vtkThreshold);
37 #ifndef __VTK_WRAP__
38 #undef vtkThreshold
39 #endif
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41  static vtkmThreshold* New();
42 
43 protected:
44  vtkmThreshold();
45  ~vtkmThreshold() override;
46 
48 
49 private:
50  vtkmThreshold(const vtkmThreshold&) = delete;
51  void operator=(const vtkmThreshold&) = delete;
52  vtkmInitializer Initializer;
53 };
54 
55 VTK_ABI_NAMESPACE_END
56 #endif // vtkmThreshold_h
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
extracts cells where scalar value in cell satisfies threshold criterion
Definition: vtkmThreshold.h:33
static vtkThreshold * New()
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
extracts cells where scalar value in cell satisfies threshold criterion
Definition: vtkThreshold.h:62
a simple class to control print indentation
Definition: vtkIndent.h:28
Store zero or more vtkInformation instances.