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