Debian Codegraph @

doc/man/man3/ivm/projectors/SbCylinderPlaneProjector.ivm

raw
1 NAME SbCylinderPlaneProjector "SbCylPlnProj" "" { cylinder-plane projector }
2
3 INCLUDE projectors/SbCylinderPlaneProjector.h
4
5 DESC { \cSbCylinderPlaneProjector\.
6 projects a window space point (usually based on the mouse location)
7 onto a surface defined by a cylinder and plane cutting through the cylinder.
8 Two projected points can produce a rotation
9 along the cylinder's axis.
10 When the mouse position projects onto the plane, the
11 rotations will be as if the plane is being dragged,
12 causing the cylinder to roll beneath it.
13 \p
14 Incremental changes (delta rotation) can be computed during
15 interactive sessions. Cylinder projectors are typically used to write
16 interactive 3D manipulators and viewers.
17 }
18
19 METHOD "" SbCylinderPlaneProjector(float edgeTol = .9, SbBool orientToEye = TRUE) {}
20 METHOD "createCyl" SbCylinderPlaneProjector( const SbCylinder &cyl,
21 float edgeTol = .9, SbBool orientToEye = TRUE) {
22 Constructors. The first uses a default cylinder aligned with the Y axis
23 with radius 1.0; the cylinder is supplied in the second.
24 The position of the plane is specified as a fraction of the cylinder radius
25 with the parameter \vedgeTol\..
26 A tolerance value of 1.0 positions the plane
27 down the center of the cylinder. A tolerance value of 0.5 defines
28 the longitudinal plane halfway between the center and the outside
29 edge of the cylinder. The default value is .9, so that almost
30 half the cylinder is in front of the plane.
31 The \vorientToEye\.
32 parameter determines whether the plane is perpendicular to the
33 eye, or perpendicular to the cylinder's Z axis. Setting that parameter to TRUE
34 (the default) specifies that the plane be perpendicular to the
35 eye, which is most often the desired behavior.
36 \p
37 The default view volume is undefined, and the working space is identity.
38 }
39
40 METHOD "" ~SbCylinderPlaneProjector() { Destructor. }
41
42 ALSO {
43 SbCylinderSheetProjector,
44 SbLineProjector, SbPlaneProjector, SbSpherePlaneProjector,
45 SbSphereProjector, SbSphereSectionProjector, SbSphereSheetProjector
46 }
47
48
49