VTK
9.3.1
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Infovis
Core
vtkExtractSelectedGraph.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3
// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
24
#ifndef vtkExtractSelectedGraph_h
25
#define vtkExtractSelectedGraph_h
26
27
#include "
vtkGraphAlgorithm.h
"
28
#include "vtkInfovisCoreModule.h"
// For export macro
29
30
VTK_ABI_NAMESPACE_BEGIN
31
class
vtkSelection
;
32
class
vtkDataSet
;
33
34
class
VTKINFOVISCORE_EXPORT
vtkExtractSelectedGraph
:
public
vtkGraphAlgorithm
35
{
36
public
:
37
static
vtkExtractSelectedGraph
*
New
();
38
vtkTypeMacro(
vtkExtractSelectedGraph
,
vtkGraphAlgorithm
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
40
44
void
SetSelectionConnection
(
vtkAlgorithmOutput
* in);
45
49
void
SetAnnotationLayersConnection
(
vtkAlgorithmOutput
* in);
50
52
57
vtkSetMacro(RemoveIsolatedVertices,
bool
);
58
vtkGetMacro(RemoveIsolatedVertices,
bool
);
59
vtkBooleanMacro(RemoveIsolatedVertices,
bool
);
61
65
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
66
67
protected
:
68
vtkExtractSelectedGraph
();
69
~vtkExtractSelectedGraph
()
override
;
70
71
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
72
73
int
RequestDataObject
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
74
75
bool
RemoveIsolatedVertices
;
76
77
private
:
78
vtkExtractSelectedGraph
(
const
vtkExtractSelectedGraph
&) =
delete
;
79
void
operator=(
const
vtkExtractSelectedGraph
&) =
delete
;
80
};
81
82
VTK_ABI_NAMESPACE_END
83
#endif
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition
vtkAlgorithmOutput.h:32
vtkDataSet
abstract class to specify dataset behavior
Definition
vtkDataSet.h:53
vtkExtractSelectedGraph
return a subgraph of a vtkGraph
Definition
vtkExtractSelectedGraph.h:35
vtkExtractSelectedGraph::SetAnnotationLayersConnection
void SetAnnotationLayersConnection(vtkAlgorithmOutput *in)
A convenience method for setting the third input (i.e.
vtkExtractSelectedGraph::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Specify the first vtkGraph input and the second vtkSelection input.
vtkExtractSelectedGraph::RemoveIsolatedVertices
bool RemoveIsolatedVertices
Definition
vtkExtractSelectedGraph.h:75
vtkExtractSelectedGraph::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkExtractSelectedGraph::vtkExtractSelectedGraph
vtkExtractSelectedGraph()
vtkExtractSelectedGraph::~vtkExtractSelectedGraph
~vtkExtractSelectedGraph() override
vtkExtractSelectedGraph::SetSelectionConnection
void SetSelectionConnection(vtkAlgorithmOutput *in)
A convenience method for setting the second input (i.e.
vtkExtractSelectedGraph::New
static vtkExtractSelectedGraph * New()
vtkExtractSelectedGraph::RequestDataObject
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkExtractSelectedGraph::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition
vtkGraphAlgorithm.h:40
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:29
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:31
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:63
vtkSelection
data object that represents a "selection" in VTK.
Definition
vtkSelection.h:50
vtkGraphAlgorithm.h
Generated on Tue Jul 9 2024 00:00:00 for VTK by
1.11.0