VTK
dox
Infovis
Core
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
();
35
vtkTypeMacro(
vtkThresholdGraph
,
vtkGraphAlgorithm
);
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
59
vtkThresholdGraph
();
60
~
vtkThresholdGraph
()
override
;
61
62
int
RequestData
(
vtkInformation
*,
63
vtkInformationVector
**,
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
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition:
vtkGraphAlgorithm.h:54
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
vtkThresholdGraph
Returns a subgraph of a vtkGraph.
Definition:
vtkThresholdGraph.h:30
vtkGraphAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGraphAlgorithm.h
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkGraphAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkGraphAlgorithm::New
static vtkGraphAlgorithm * New()
Generated by
1.8.16