VTK
dox
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
-------------------------------------------------------------------------*/
43
#ifndef vtkExtractSelectedGraph_h
44
#define vtkExtractSelectedGraph_h
45
46
#include "vtkInfovisCoreModule.h"
// For export macro
47
#include "
vtkGraphAlgorithm.h
"
48
49
class
vtkSelection
;
50
class
vtkDataSet
;
51
52
class
VTKINFOVISCORE_EXPORT
vtkExtractSelectedGraph
:
public
vtkGraphAlgorithm
53
{
54
public
:
55
static
vtkExtractSelectedGraph
*
New
();
56
vtkTypeMacro(
vtkExtractSelectedGraph
,
vtkGraphAlgorithm
);
57
void
PrintSelf
(ostream& os,
vtkIndent
indent);
58
62
void
SetSelectionConnection
(
vtkAlgorithmOutput
* in);
63
67
void
SetAnnotationLayersConnection
(
vtkAlgorithmOutput
* in);
68
70
75
vtkSetMacro
(RemoveIsolatedVertices,
bool
);
76
vtkGetMacro(RemoveIsolatedVertices,
bool
);
77
vtkBooleanMacro
(RemoveIsolatedVertices,
bool
);
79
83
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
84
85
protected
:
86
vtkExtractSelectedGraph
();
87
~vtkExtractSelectedGraph
();
88
89
int
RequestData
(
90
vtkInformation
*,
91
vtkInformationVector
**,
92
vtkInformationVector
*);
93
94
int
RequestDataObject
(
95
vtkInformation
*,
96
vtkInformationVector
**,
97
vtkInformationVector
*);
98
99
bool
RemoveIsolatedVertices
;
100
101
private
:
102
vtkExtractSelectedGraph
(
const
vtkExtractSelectedGraph
&) VTK_DELETE_FUNCTION;
103
void
operator=(
const
vtkExtractSelectedGraph
&) VTK_DELETE_FUNCTION;
104
};
105
106
#endif
107
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition:
vtkGraphAlgorithm.h:55
vtkExtractSelectedGraph::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkExtractSelectedGraph::New
static vtkExtractSelectedGraph * New()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:42
vtkExtractSelectedGraph::SetSelectionConnection
void SetSelectionConnection(vtkAlgorithmOutput *in)
A convenience method for setting the second input (i.e.
vtkSelection
A node in a selection tree.
Definition:
vtkSelection.h:44
vtkExtractSelectedGraph::vtkExtractSelectedGraph
vtkExtractSelectedGraph()
vtkX3D::port
@ port
Definition:
vtkX3D.h:447
vtkExtractSelectedGraph::RemoveIsolatedVertices
bool RemoveIsolatedVertices
Definition:
vtkExtractSelectedGraph.h:99
vtkGraphAlgorithm.h
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkExtractSelectedGraph::RequestDataObject
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkExtractSelectedGraph::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkDataSet
abstract class to specify dataset behavior
Definition:
vtkDataSet.h:63
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:87
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkExtractSelectedGraph::~vtkExtractSelectedGraph
~vtkExtractSelectedGraph()
vtkX3D::info
@ info
Definition:
vtkX3D.h:376
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:40
vtkExtractSelectedGraph::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info)
Specify the first vtkGraph input and the second vtkSelection input.
vtkExtractSelectedGraph
return a subgraph of a vtkGraph
Definition:
vtkExtractSelectedGraph.h:53
Generated by
1.8.20