VTK  9.3.1
vtkThresholdGraph.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
12 #ifndef vtkThresholdGraph_h
13 #define vtkThresholdGraph_h
14 
15 #include "vtkGraphAlgorithm.h"
16 #include "vtkInfovisCoreModule.h" // For export macro
17 
18 VTK_ABI_NAMESPACE_BEGIN
19 class VTKINFOVISCORE_EXPORT vtkThresholdGraph : public vtkGraphAlgorithm
20 {
21 public:
22  static vtkThresholdGraph* New();
24 
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
28 
32  vtkGetMacro(LowerThreshold, double);
33  vtkSetMacro(LowerThreshold, double);
35 
37 
41  vtkGetMacro(UpperThreshold, double);
42  vtkSetMacro(UpperThreshold, double);
44 
45 protected:
47  ~vtkThresholdGraph() override;
48 
50 
51 private:
52  double LowerThreshold;
53  double UpperThreshold;
54 
55  vtkThresholdGraph(const vtkThresholdGraph&) = delete;
56  void operator=(const vtkThresholdGraph&) = delete;
57 };
58 
59 VTK_ABI_NAMESPACE_END
60 #endif // vtkThresholdGraph_h
static vtkGraphAlgorithm * New()
Store vtkAlgorithm input/output information.
Returns a subgraph of a vtkGraph.
Superclass for algorithms that produce only graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:28
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store zero or more vtkInformation instances.