VTK
9.0.1
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
-------------------------------------------------------------------------*/
37
#ifndef vtkExtractSelectedGraph_h
38
#define vtkExtractSelectedGraph_h
39
40
#include "
vtkGraphAlgorithm.h
"
41
#include "vtkInfovisCoreModule.h"
// For export macro
42
43
class
vtkSelection
;
44
class
vtkDataSet
;
45
46
class
VTKINFOVISCORE_EXPORT
vtkExtractSelectedGraph
:
public
vtkGraphAlgorithm
47
{
48
public
:
49
static
vtkExtractSelectedGraph
*
New
();
50
vtkTypeMacro(
vtkExtractSelectedGraph
,
vtkGraphAlgorithm
);
51
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
52
56
void
SetSelectionConnection
(
vtkAlgorithmOutput
* in);
57
61
void
SetAnnotationLayersConnection
(
vtkAlgorithmOutput
* in);
62
64
69
vtkSetMacro(RemoveIsolatedVertices,
bool
);
70
vtkGetMacro(RemoveIsolatedVertices,
bool
);
71
vtkBooleanMacro(RemoveIsolatedVertices,
bool
);
73
77
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
)
override
;
78
79
protected
:
80
vtkExtractSelectedGraph
();
81
~vtkExtractSelectedGraph
()
override
;
82
83
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
84
85
int
RequestDataObject
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
86
87
bool
RemoveIsolatedVertices
;
88
89
private
:
90
vtkExtractSelectedGraph
(
const
vtkExtractSelectedGraph
&) =
delete
;
91
void
operator=(
const
vtkExtractSelectedGraph
&) =
delete
;
92
};
93
94
#endif
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition:
vtkGraphAlgorithm.h:52
vtkExtractSelectedGraph::New
static vtkExtractSelectedGraph * New()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:36
vtkExtractSelectedGraph::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkExtractSelectedGraph::SetSelectionConnection
void SetSelectionConnection(vtkAlgorithmOutput *in)
A convenience method for setting the second input (i.e.
vtkExtractSelectedGraph::RequestDataObject
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkExtractSelectedGraph::~vtkExtractSelectedGraph
~vtkExtractSelectedGraph() override
vtkSelection
data object that represents a "selection" in VTK.
Definition:
vtkSelection.h:58
vtkExtractSelectedGraph::vtkExtractSelectedGraph
vtkExtractSelectedGraph()
vtkX3D::port
@ port
Definition:
vtkX3D.h:453
vtkExtractSelectedGraph::RemoveIsolatedVertices
bool RemoveIsolatedVertices
Definition:
vtkExtractSelectedGraph.h:87
vtkGraphAlgorithm.h
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:34
vtkDataSet
abstract class to specify dataset behavior
Definition:
vtkDataSet.h:57
vtkExtractSelectedGraph::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:65
vtkX3D::info
@ info
Definition:
vtkX3D.h:382
vtkExtractSelectedGraph::SetAnnotationLayersConnection
void SetAnnotationLayersConnection(vtkAlgorithmOutput *in)
A convenience method for setting the third input (i.e.
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition:
vtkAlgorithmOutput.h:37
vtkExtractSelectedGraph::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Specify the first vtkGraph input and the second vtkSelection input.
vtkExtractSelectedGraph
return a subgraph of a vtkGraph
Definition:
vtkExtractSelectedGraph.h:47
Generated on Mon Jan 4 2021 21:12:05 for VTK by
1.8.20