1SbSphereSheetProjector(3IV)()                    SbSphereSheetProjector(3IV)()
2
3
4

NAME

6       SbSphereSheetProjector — sphere-sheet projector
7

INHERITS FROM

9       SbProjector > SbSphereProjector > SbSphereSheetProjector
10

SYNOPSIS

12       #include <Inventor/projectors/SbSphereSheetProjector.h>
13
14          Methods from class SbSphereSheetProjector:
15
16                         SbSphereSheetProjector(SbBool orientToEye = TRUE)
17                         SbSphereSheetProjector(const  SbSphere  &sph,  SbBool
18                              orientToEye = TRUE)
19                         ~SbSphereSheetProjector()
20
21          Methods from class SbSphereProjector:
22
23     SbVec3f             projectAndGetRotation(const SbVec2f  &point,  SbRota‐
24                              tion &rot)
25     virtual  SbRotation  getRotation(const  SbVec3f  &point1,  const  SbVec3f
26                              &point2)
27     void                setSphere(const SbSphere &sph)
28     const SbSphere &    getSphere() 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

DESCRIPTION

46       SbSphereSheetProjector projects a window space point (usually based  on
47       the  mouse  location)  onto  the  surface of a sphere with a hyperbolic
48       sheet draped over it. This allows smooth transitions onto  and  off  of
49       the  sphere.  Two  projected  points  can  produce a rotation about the
50       sphere's center. When the mouse position projects on to the sheet,  the
51       rotations  will be as if the sheet is being dragged, causing the sphere
52       to roll beneath it.
53
54       Incremental changes (delta rotation) can be computed during interactive
55       sessions.  Sphere projectors are typically used to write interactive 3D
56       manipulators and viewers.
57

METHODS

59                         SbSphereSheetProjector(SbBool orientToEye = TRUE)
60                         SbSphereSheetProjector(const  SbSphere  &sph,  SbBool
61                              orientToEye = TRUE)
62          Constructors. The first uses a default sphere centered at the origin
63          with radius 1.0; the sphere is supplied in the second. The orientTo‐
64          Eye  parameter  determines whether the sheet is perpendicular to the
65          eye, or perpendicular to the sphere's Z axis. Setting that parameter
66          to  TRUE  (the default) specifies that the sheet be perpendicular to
67          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                         ~SbSphereSheetProjector()
73          Destructor.
74
75

SEE ALSO

77       SbCylinderProjector, SbCylinderPlaneProjector, SbCylinderSectionProjec‐
78       tor,   SbCylinderSheetProjector,   SbLineProjector,   SbPlaneProjector,
79       SbSpherePlaneProjector
80
81
82
83
84                                                 SbSphereSheetProjector(3IV)()
Impressum