VTK
vtkFixedSizeHandleRepresentation3D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkFixedSizeHandleRepresentation.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 =========================================================================*/
35 #ifndef vtkFixedSizeHandleRepresentation3D_h
36 #define vtkFixedSizeHandleRepresentation3D_h
37 
38 #include "vtkInteractionWidgetsModule.h" // For export macro
40 
41 class vtkSphereSource;
42 
44 {
45 public:
46 
49 
51 
54  void PrintSelf(ostream& os, vtkIndent indent);
56 
58 
61 
63 
65  vtkSetMacro( HandleSizeInPixels, double );
66  vtkGetMacro( HandleSizeInPixels, double );
68 
70 
75  vtkSetMacro( HandleSizeToleranceInPixels, double );
76  vtkGetMacro( HandleSizeToleranceInPixels, double );
78 
79 protected:
82 
84  virtual void BuildRepresentation();
85 
87  void WorldToDisplay( double w[4], double d[4] );
88 
90  void DisplayToWorld( double d[4], double w[4] );
91 
95 
96 private:
98  void operator=(const vtkFixedSizeHandleRepresentation3D&); //Not implemented
99 };
100 
101 #endif
vtkFixedSizeHandleRepresentation3D::DisplayToWorld
void DisplayToWorld(double d[4], double w[4])
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkPolygonalHandleRepresentation3D
represent a user defined handle geometry in 3D space
Definition: vtkPolygonalHandleRepresentation3D.h:38
vtkFixedSizeHandleRepresentation3D::HandleSizeInPixels
double HandleSizeInPixels
Definition: vtkFixedSizeHandleRepresentation3D.h:93
vtkPolygonalHandleRepresentation3D.h
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkInteractionWidgetsModule.h
vtkFixedSizeHandleRepresentation3D::New
static vtkFixedSizeHandleRepresentation3D * New()
vtkSphereSource
create a polygonal sphere centered at the origin
Definition: vtkSphereSource.h:46
vtkFixedSizeHandleRepresentation3D::BuildRepresentation
virtual void BuildRepresentation()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkFixedSizeHandleRepresentation3D::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkFixedSizeHandleRepresentation3D::SphereSource
vtkSphereSource * SphereSource
Definition: vtkFixedSizeHandleRepresentation3D.h:92
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkFixedSizeHandleRepresentation3D::vtkFixedSizeHandleRepresentation3D
vtkFixedSizeHandleRepresentation3D()
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
VTKINTERACTIONWIDGETS_EXPORT
#define VTKINTERACTIONWIDGETS_EXPORT
Definition: vtkInteractionWidgetsModule.h:15
vtkFixedSizeHandleRepresentation3D::~vtkFixedSizeHandleRepresentation3D
~vtkFixedSizeHandleRepresentation3D()
vtkFixedSizeHandleRepresentation3D::WorldToDisplay
void WorldToDisplay(double w[4], double d[4])
vtkgl::w
GLubyte GLubyte GLubyte GLubyte w
Definition: vtkgl.h:12054
vtkFixedSizeHandleRepresentation3D::HandleSizeToleranceInPixels
double HandleSizeToleranceInPixels
Definition: vtkFixedSizeHandleRepresentation3D.h:94
vtkFixedSizeHandleRepresentation3D
Definition: vtkFixedSizeHandleRepresentation3D.h:44