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 "vtkPolyDataAlgorithm.h"
55 #include "vtkSmartPointer.h" // needed for ivars
56 
57 class vtkAppendPolyData;
58 class vtkConvexHull2D;
59 class vtkRenderer;
60 
61 
63 {
64 public:
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:
103 
105 
110 
113 
114 private:
116  void operator=(const vtkGraphAnnotationLayersFilter&); // Not implemented.
117 
120  vtkSmartPointer<vtkConvexHull2D> ConvexHullFilter;
121 };
122 
123 #endif // __vtkGraphAnnotationLayersFilter_h