VTK
vtkThresholdGraph.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCollapseVerticesByArray.h
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 =========================================================================*/
24 #ifndef vtkThresholdGraph_h
25 #define vtkThresholdGraph_h
26 
27 #include "vtkInfovisCoreModule.h" // For export macro
28 #include "vtkGraphAlgorithm.h"
29 
30 class VTKINFOVISCORE_EXPORT vtkThresholdGraph : public vtkGraphAlgorithm
31 {
32 public:
33 
34  static vtkThresholdGraph* New();
36 
37  void PrintSelf(ostream &os, vtkIndent indent) override;
38 
40 
44  vtkGetMacro(LowerThreshold, double);
45  vtkSetMacro(LowerThreshold, double);
47 
49 
53  vtkGetMacro(UpperThreshold, double);
54  vtkSetMacro(UpperThreshold, double);
56 
57 protected:
58 
60  ~vtkThresholdGraph() override;
61 
64  vtkInformationVector*) override;
65 
66 
67 private:
68 
69  double LowerThreshold;
70  double UpperThreshold;
71 
72 
73  vtkThresholdGraph(const vtkThresholdGraph&) = delete;
74  void operator =(const vtkThresholdGraph&) = delete;
75 
76 };
77 
78 #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:39
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.