VTK  9.0.1
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 "vtkGraphAlgorithm.h"
28 #include "vtkInfovisCoreModule.h" // For export macro
29 
30 class VTKINFOVISCORE_EXPORT vtkThresholdGraph : public vtkGraphAlgorithm
31 {
32 public:
35 
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
39 
43  vtkGetMacro(LowerThreshold, double);
44  vtkSetMacro(LowerThreshold, double);
46 
48 
52  vtkGetMacro(UpperThreshold, double);
53  vtkSetMacro(UpperThreshold, double);
55 
56 protected:
58  ~vtkThresholdGraph() override;
59 
61 
62 private:
63  double LowerThreshold;
64  double UpperThreshold;
65 
66  vtkThresholdGraph(const vtkThresholdGraph&) = delete;
67  void operator=(const vtkThresholdGraph&) = delete;
68 };
69 
70 #endif // vtkThresholdGraph_h
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition: vtkGraphAlgorithm.h:52
vtkThresholdGraph::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:36
vtkThresholdGraph::~vtkThresholdGraph
~vtkThresholdGraph() override
vtkThresholdGraph
Returns a subgraph of a vtkGraph.
Definition: vtkThresholdGraph.h:31
vtkGraphAlgorithm.h
vtkThresholdGraph::vtkThresholdGraph
vtkThresholdGraph()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:34
vtkThresholdGraph::New
static vtkThresholdGraph * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:65
vtkThresholdGraph::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.