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 
82 
85 
89 
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
vtkRenderingAnnotationModule.h
vtkgl::b
GLboolean GLboolean GLboolean b
Definition: vtkgl.h:12312
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkgl::scale
GLenum GLenum GLenum GLenum GLenum scale
Definition: vtkgl.h:15942
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkSmartPointer< vtkAppendPolyData >
vtkGraphAnnotationLayersFilter::OutlineOn
void OutlineOn()
vtkGraphAnnotationLayersFilter::SetHullShapeToBoundingRectangle
void SetHullShapeToBoundingRectangle()
vtkGraphAnnotationLayersFilter::SetHullShapeToConvexHull
void SetHullShapeToConvexHull()
vtkGraphAnnotationLayersFilter::GetMTime
virtual unsigned long GetMTime()
vtkPolyDataAlgorithm.h
vtkAppendPolyData
appends one or more polygonal datasets together
Definition: vtkAppendPolyData.h:48
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkGraphAnnotationLayersFilter::New
static vtkGraphAnnotationLayersFilter * New()
vtkGraphAnnotationLayersFilter::SetMinHullSizeInWorld
void SetMinHullSizeInWorld(double size)
vtkGraphAnnotationLayersFilter::SetScaleFactor
void SetScaleFactor(double scale)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGraphAnnotationLayersFilter::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info)
vtkSmartPointer.h
vtkGraphAnnotationLayersFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkGraphAnnotationLayersFilter::SetRenderer
void SetRenderer(vtkRenderer *renderer)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkGraphAnnotationLayersFilter
Produce filled convex hulls around subsets of vertices in a vtkGraph.
Definition: vtkGraphAnnotationLayersFilter.h:64
vtkGraphAnnotationLayersFilter::SetOutline
void SetOutline(bool b)
vtkConvexHull2D
Produce filled convex hulls around a set of points.
Definition: vtkConvexHull2D.h:66
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:64
vtkGraphAnnotationLayersFilter::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkGraphAnnotationLayersFilter::~vtkGraphAnnotationLayersFilter
~vtkGraphAnnotationLayersFilter()
vtkGraphAnnotationLayersFilter::SetMinHullSizeInDisplay
void SetMinHullSizeInDisplay(int size)
vtkGraphAnnotationLayersFilter::OutlineOff
void OutlineOff()
vtkGraphAnnotationLayersFilter::vtkGraphAnnotationLayersFilter
vtkGraphAnnotationLayersFilter()
VTKRENDERINGANNOTATION_EXPORT
#define VTKRENDERINGANNOTATION_EXPORT
Definition: vtkRenderingAnnotationModule.h:15
vtkgl::size
GLsizeiptr size
Definition: vtkgl.h:11843
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:44