VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Widgets
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 "
vtkPolygonalHandleRepresentation3D.h
"
39
40
class
vtkSphereSource
;
41
42
class
VTK_WIDGETS_EXPORT
vtkFixedSizeHandleRepresentation3D
:
public
vtkPolygonalHandleRepresentation3D
43
{
44
public
:
45
47
static
vtkFixedSizeHandleRepresentation3D
*
New
();
48
50
51
vtkTypeMacro(
vtkFixedSizeHandleRepresentation3D
,
52
vtkPolygonalHandleRepresentation3D
);
53
void
PrintSelf
(ostream& os,
vtkIndent
indent);
55
57
58
vtkGetObjectMacro( SphereSource,
vtkSphereSource
);
60
62
64
vtkSetMacro( HandleSizeInPixels,
double
);
65
vtkGetMacro( HandleSizeInPixels,
double
);
67
69
74
vtkSetMacro( HandleSizeToleranceInPixels,
double
);
75
vtkGetMacro( HandleSizeToleranceInPixels,
double
);
77
78
protected
:
79
vtkFixedSizeHandleRepresentation3D
();
80
~
vtkFixedSizeHandleRepresentation3D
();
81
83
virtual
void
BuildRepresentation
();
84
86
void
WorldToDisplay(
double
w[4],
double
d[4] );
87
89
void
DisplayToWorld(
double
d[4],
double
w[4] );
90
91
vtkSphereSource
*
SphereSource
;
92
double
HandleSizeInPixels
;
93
double
HandleSizeToleranceInPixels
;
94
95
private
:
96
vtkFixedSizeHandleRepresentation3D
(
const
vtkFixedSizeHandleRepresentation3D
&);
//Not implemented
97
void
operator=(
const
vtkFixedSizeHandleRepresentation3D
&);
//Not implemented
98
};
99
100
#endif
Generated on Tue Jan 8 2013 05:45:40 for VTK by
1.8.1.2