VTK  9.5.20251008
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
32VTK_ABI_NAMESPACE_BEGIN
33class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmThreshold : public vtkThreshold
34{
35public:
37#ifndef __VTK_WRAP__
38#undef vtkThreshold
39#endif
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41 static vtkmThreshold* New();
42
43protected:
45 ~vtkmThreshold() override;
46
48
49private:
50 vtkmThreshold(const vtkmThreshold&) = delete;
51 void operator=(const vtkmThreshold&) = delete;
52 vtkmInitializer Initializer;
53};
54
55VTK_ABI_NAMESPACE_END
56#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.