Class SbCylinderSheetProjector
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.projectors.SbProjector
com.openinventor.inventor.projectors.SbCylinderProjector
com.openinventor.inventor.projectors.SbCylinderSheetProjector
Cylinder-sheet projector.
SbCylinderSheetProjector
projects a window space point (usually based on the mouse location) onto the surface of a cylinder with a hyperbolic sheet draped over it. This allows smooth transitions onto and off of the cylinder. Two projected points can produce a rotation along the cylinder's axis. When the mouse position projects on to the sheet, the rotations will be as if the sheet is being dragged, causing the cylinder to roll beneath it.
Incremental changes (delta rotation) can be computed during interactive sessions. Cylinder projectors are typically used to write interactive 3D manipulators and viewers.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
ConstructorsConstructorDescriptionCalls SbCylinderSheetProjector(true).SbCylinderSheetProjector
(boolean orientToEye) Constructor that uses a default cylinder aligned with the Y axis with radius 1.0.Calls SbCylinderSheetProjector(cyl, true).SbCylinderSheetProjector
(SbCylinder cyl, boolean orientToEye) Constructor. -
Method Summary
Methods inherited from class com.openinventor.inventor.projectors.SbCylinderProjector
getCylinder, getRotation, isFront, isOrientToEye, isPointInFront, projectAndGetRotation, setCylinder, setFront, setOrientToEye
Methods inherited from class com.openinventor.inventor.projectors.SbProjector
copy, getViewVolume, getWorkingSpace, intersect, project, setViewVolume, setWorkingSpace
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Constructor Details
-
SbCylinderSheetProjector
Calls SbCylinderSheetProjector(cyl, true). -
SbCylinderSheetProjector
public SbCylinderSheetProjector()Calls SbCylinderSheetProjector(true). -
SbCylinderSheetProjector
public SbCylinderSheetProjector(boolean orientToEye) Constructor that uses a default cylinder aligned with the Y axis with radius 1.0. The orientToEye parameter determines whether the sheet is perpendicular to the eye, or perpendicular to the cylinder's Z axis. Setting that parameter to true (the default) specifies that the plane be perpendicular to the eye, which is most often the desired behavior.The default view volume is undefined, and the working space is identity.
-
SbCylinderSheetProjector
Constructor. The orientToEye parameter determines whether the sheet is perpendicular to the eye, or perpendicular to the cylinder's Z axis. Setting that parameter to true (the default) specifies that the plane be perpendicular to the eye, which is most often the desired behavior.The default view volume is undefined, and the working space is identity.
-