VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
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
-------------------------------------------------------------------------*/
42
#ifndef __vtkExtractSelectedGraph_h
43
#define __vtkExtractSelectedGraph_h
44
45
#include "
vtkGraphAlgorithm.h
"
46
47
class
vtkSelection
;
48
class
vtkDataSet
;
49
50
class
VTK_INFOVIS_EXPORT
vtkExtractSelectedGraph
:
public
vtkGraphAlgorithm
51
{
52
public
:
53
static
vtkExtractSelectedGraph
*
New
();
54
vtkTypeMacro(
vtkExtractSelectedGraph
,
vtkGraphAlgorithm
);
55
void
PrintSelf
(ostream& os,
vtkIndent
indent);
56
59
void
SetSelectionConnection(
vtkAlgorithmOutput
* in);
60
63
void
SetAnnotationLayersConnection(
vtkAlgorithmOutput
* in);
64
66
69
vtkSetMacro(RemoveIsolatedVertices,
bool
);
70
vtkGetMacro(RemoveIsolatedVertices,
bool
);
71
vtkBooleanMacro(RemoveIsolatedVertices,
bool
);
73
75
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
76
77
protected
:
78
vtkExtractSelectedGraph
();
79
~
vtkExtractSelectedGraph
();
80
81
int
RequestData
(
82
vtkInformation
*,
83
vtkInformationVector
**,
84
vtkInformationVector
*);
85
86
int
RequestDataObject
(
87
vtkInformation
*,
88
vtkInformationVector
**,
89
vtkInformationVector
*);
90
91
bool
RemoveIsolatedVertices
;
92
93
private
:
94
vtkExtractSelectedGraph
(
const
vtkExtractSelectedGraph
&);
// Not implemented
95
void
operator=(
const
vtkExtractSelectedGraph
&);
// Not implemented
96
};
97
98
#endif
99
Generated on Wed Nov 21 2012 21:33:57 for VTK by
1.8.2