VTK
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 "vtkRenderingAnnotationModule.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 
64 {
65 public:
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:
104 
106 
111 
114 
115 private:
117  void operator=(const vtkGraphAnnotationLayersFilter&); // Not implemented.
118 
121  vtkSmartPointer<vtkConvexHull2D> ConvexHullFilter;
122 };
123 
124 #endif // vtkGraphAnnotationLayersFilter_h
virtual int FillInputPortInformation(int port, vtkInformation *info)
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
abstract specification for renderers
Definition: vtkRenderer.h:63
#define VTKRENDERINGANNOTATION_EXPORT
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
virtual unsigned long GetMTime()
a simple class to control print indentation
Definition: vtkIndent.h:38
appends one or more polygonal datasets together
Store zero or more vtkInformation instances.
Produce filled convex hulls around subsets of vertices in a vtkGraph.
Produce filled convex hulls around a set of points.