VTK
9.2.6
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Infovis
Core
vtkExtractSelectedGraph.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExtractSelectedGraph.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
=========================================================================*/
15
/*-------------------------------------------------------------------------
16
Copyright 2008 Sandia Corporation.
17
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18
the U.S. Government retains certain rights in this software.
19
-------------------------------------------------------------------------*/
40
#ifndef vtkExtractSelectedGraph_h
41
#define vtkExtractSelectedGraph_h
42
43
#include "
vtkGraphAlgorithm.h
"
44
#include "vtkInfovisCoreModule.h"
// For export macro
45
46
class
vtkSelection
;
47
class
vtkDataSet
;
48
49
class
VTKINFOVISCORE_EXPORT
vtkExtractSelectedGraph
:
public
vtkGraphAlgorithm
50
{
51
public
:
52
static
vtkExtractSelectedGraph
*
New
();
53
vtkTypeMacro(
vtkExtractSelectedGraph
,
vtkGraphAlgorithm
);
54
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
55
59
void
SetSelectionConnection
(
vtkAlgorithmOutput
* in);
60
64
void
SetAnnotationLayersConnection
(
vtkAlgorithmOutput
* in);
65
67
72
vtkSetMacro(RemoveIsolatedVertices,
bool
);
73
vtkGetMacro(RemoveIsolatedVertices,
bool
);
74
vtkBooleanMacro(RemoveIsolatedVertices,
bool
);
76
80
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
81
82
protected
:
83
vtkExtractSelectedGraph
();
84
~vtkExtractSelectedGraph
()
override
;
85
86
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
87
88
int
RequestDataObject
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
89
90
bool
RemoveIsolatedVertices
;
91
92
private
:
93
vtkExtractSelectedGraph
(
const
vtkExtractSelectedGraph
&) =
delete
;
94
void
operator=(
const
vtkExtractSelectedGraph
&) =
delete
;
95
};
96
97
#endif
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition
vtkAlgorithmOutput.h:43
vtkDataSet
abstract class to specify dataset behavior
Definition
vtkDataSet.h:63
vtkExtractSelectedGraph
return a subgraph of a vtkGraph
Definition
vtkExtractSelectedGraph.h:50
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:90
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:55
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:40
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:42
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:74
vtkSelection
data object that represents a "selection" in VTK.
Definition
vtkSelection.h:60
vtkGraphAlgorithm.h
Generated on Fri Nov 8 2024 00:00:00 for VTK by
1.12.0