VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
vtkGraphAnnotationLayersFilter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGraphAnnotationLayersFilter.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
51
#ifndef __vtkGraphAnnotationLayersFilter_h
52
#define __vtkGraphAnnotationLayersFilter_h
53
54
#include "
vtkPolyDataAlgorithm.h
"
55
#include "
vtkSmartPointer.h
"
// needed for ivars
56
57
class
vtkAppendPolyData
;
58
class
vtkConvexHull2D
;
59
class
vtkRenderer
;
60
61
62
class
VTK_INFOVIS_EXPORT
vtkGraphAnnotationLayersFilter
:
public
vtkPolyDataAlgorithm
63
{
64
public
:
65
static
vtkGraphAnnotationLayersFilter
*
New
();
66
vtkTypeMacro(
vtkGraphAnnotationLayersFilter
,
vtkPolyDataAlgorithm
);
67
void
PrintSelf
(ostream& os,
vtkIndent
indent);
68
70
71
void
OutlineOn();
72
void
OutlineOff();
73
void
SetOutline(
bool
b);
75
77
void
SetScaleFactor(
double
scale
);
78
80
void
SetHullShapeToBoundingRectangle();
81
83
void
SetHullShapeToConvexHull();
84
87
void
SetMinHullSizeInWorld(
double
size
);
88
91
void
SetMinHullSizeInDisplay(
int
size
);
92
95
void
SetRenderer(
vtkRenderer
* renderer);
96
98
virtual
unsigned
long
GetMTime
();
99
100
protected
:
101
vtkGraphAnnotationLayersFilter
();
102
~
vtkGraphAnnotationLayersFilter
();
103
105
107
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
108
vtkInformationVector
*);
110
112
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
113
114
private
:
115
vtkGraphAnnotationLayersFilter
(
const
vtkGraphAnnotationLayersFilter
&);
// Not implemented.
116
void
operator=(
const
vtkGraphAnnotationLayersFilter
&);
// Not implemented.
117
118
vtkSmartPointer<vtkAppendPolyData>
HullAppend;
119
vtkSmartPointer<vtkAppendPolyData>
OutlineAppend;
120
vtkSmartPointer<vtkConvexHull2D>
ConvexHullFilter;
121
};
122
123
#endif // __vtkGraphAnnotationLayersFilter_h
Generated on Tue Jan 8 2013 05:45:34 for VTK by
1.8.1.2