VTK: Infovis/Core/vtkThresholdGraph.h Source File

| 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();
23 vtkTypeMacro(vtkThresholdGraph, vtkGraphAlgorithm);
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:
46 vtkThresholdGraph();
47 ~vtkThresholdGraph() override;
48
49 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
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
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition: vtkGraphAlgorithm.h:49
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkThresholdGraph
Returns a subgraph of a vtkGraph.
Definition: vtkThresholdGraph.h:20
vtkThresholdGraph::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkThresholdGraph::New
static vtkThresholdGraph * New()
vtkThresholdGraph::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkThresholdGraph::~vtkThresholdGraph
~vtkThresholdGraph() override
vtkThresholdGraph::vtkThresholdGraph
vtkThresholdGraph()
vtkGraphAlgorithm.h