1SbCylinderSheetProjector(3IV)() SbCylinderSheetProjector(3IV)()
2
3
4
6 SbCylinderSheetProjector — cylinder-sheet projector
7
9 SbProjector > SbCylinderProjector > SbCylinderSheetProjector
10
12 #include <Inventor/projectors/SbCylinderSheetProjector.h>
13
14 Methods from class SbCylinderSheetProjector:
15
16 SbCylinderSheetProjector(SbBool orientToEye = TRUE)
17 SbCylinderSheetProjector(const SbCylinder &cyl,
18 SbBool orientToEye = TRUE)
19 ~SbCylinderSheetProjector()
20
21 Methods from class SbCylinderProjector:
22
23 SbVec3f projectAndGetRotation(const SbVec2f &point, SbRota‐
24 tion &rot)
25 virtual SbRotation getRotation(const SbVec3f &point1, const SbVec3f
26 &point2)
27 void setCylinder(const SbCylinder &cyl)
28 const SbCylinder & getCylinder() const
29 void setOrientToEye(SbBool orientToEye)
30 SbBool isOrientToEye() const
31 void setFront(SbBool isFront)
32 SbBool isFront() const
33 SbBool isPointInFront(const SbVec3f &point) const
34
35 Methods from class SbProjector:
36
37 virtual SbVec3f project(const SbVec2f &point)
38 virtual void setViewVolume(const SbViewVolume &vol)
39 const SbViewVolume & getViewVolume() const
40 virtual void setWorkingSpace(const SbMatrix &space)
41 const SbMatrix & getWorkingSpace() const
42 virtual SbProjector * copy() const
43
44
46 SbCylinderSheetProjector projects a window space point (usually based
47 on the mouse location) onto the surface of a cylinder with a hyperbolic
48 sheet draped over it. This allows smooth transitions onto and off of
49 the cylinder. Two projected points can produce a rotation along the
50 cylinder's axis. When the mouse position projects on to the sheet, the
51 rotations will be as if the sheet is being dragged, causing the cylin‐
52 der to roll beneath it.
53
54 Incremental changes (delta rotation) can be computed during interactive
55 sessions. Cylinder projectors are typically used to write interactive
56 3D manipulators and viewers.
57
59 SbCylinderSheetProjector(SbBool orientToEye = TRUE)
60 SbCylinderSheetProjector(const SbCylinder &cyl,
61 SbBool orientToEye = TRUE)
62 Constructors. The first uses a default cylinder aligned with the Y
63 axis with radius 1.0; the cylinder is supplied in the second. The
64 orientToEye parameter determines whether the sheet is perpendicular
65 to the eye, or perpendicular to the cylinder's Z axis. Setting that
66 parameter to TRUE (the default) specifies that the plane be perpen‐
67 dicular to the eye, which is most often the desired behavior.
68
69 The default view volume is undefined, and the working space is iden‐
70 tity.
71
72 ~SbCylinderSheetProjector()
73 Destructor.
74
75
77 SbCylinderSectionProjector, SbCylinderPlaneProjector, SbLineProjector,
78 SbPlaneProjector, SbSpherePlaneProjector, SbSphereProjector, SbSphere‐
79 SectionProjector, SbSphereSheetProjector
80
81
82
83
84 SbCylinderSheetProjector(3IV)()