VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
Core
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 "vtkInfovisCoreModule.h"
// For export macro
55
#include "
vtkPolyDataAlgorithm.h
"
56
#include "
vtkSmartPointer.h
"
// needed for ivars
57
58
class
vtkAppendPolyData
;
59
class
vtkConvexHull2D
;
60
class
vtkRenderer
;
61
62
63
class
VTKINFOVISCORE_EXPORT
vtkGraphAnnotationLayersFilter
:
public
vtkPolyDataAlgorithm
64
{
65
public
:
66
static
vtkGraphAnnotationLayersFilter
*
New
();
67
vtkTypeMacro(
vtkGraphAnnotationLayersFilter
,
vtkPolyDataAlgorithm
);
68
void
PrintSelf
(ostream& os,
vtkIndent
indent);
69
71
72
void
OutlineOn();
73
void
OutlineOff();
74
void
SetOutline(
bool
b);
76
78
void
SetScaleFactor(
double
scale
);
79
81
void
SetHullShapeToBoundingRectangle();
82
84
void
SetHullShapeToConvexHull();
85
88
void
SetMinHullSizeInWorld(
double
size
);
89
92
void
SetMinHullSizeInDisplay(
int
size
);
93
96
void
SetRenderer(
vtkRenderer
* renderer);
97
99
virtual
unsigned
long
GetMTime
();
100
101
protected
:
102
vtkGraphAnnotationLayersFilter
();
103
~
vtkGraphAnnotationLayersFilter
();
104
106
108
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
109
vtkInformationVector
*);
111
113
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
114
115
private
:
116
vtkGraphAnnotationLayersFilter
(
const
vtkGraphAnnotationLayersFilter
&);
// Not implemented.
117
void
operator=(
const
vtkGraphAnnotationLayersFilter
&);
// Not implemented.
118
119
vtkSmartPointer<vtkAppendPolyData>
HullAppend;
120
vtkSmartPointer<vtkAppendPolyData>
OutlineAppend;
121
vtkSmartPointer<vtkConvexHull2D>
ConvexHullFilter;
122
};
123
124
#endif // __vtkGraphAnnotationLayersFilter_h
Generated on Thu May 24 2012 22:22:26 for VTK by
1.8.1