SbCylinderSheetProjector — cylinder-sheet projector
Contents
Description
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.
Inherits From
SbProjector > SbCylinderProjector > SbCylinderSheetProjector
Methods
SbCylinderSheetProjector(SbBoolorientToEye=TRUE)SbCylinderSheetProjector(constSbCylinder&cyl,SbBoolorientToEye=TRUE)
Constructors. The first uses a default cylinder aligned with the Y axis with radius 1.0; the cylinder
is supplied in the second. 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()
Destructor.
Name
SbCylinderSheetProjector — cylinder-sheet projector
See Also
SbCylinderSectionProjector,SbCylinderPlaneProjector,SbLineProjector,SbPlaneProjector,SbSpherePlaneProjector,SbSphereProjector,SbSphereSectionProjector,SbSphereSheetProjectorSbCylinderSheetProjector(3IV)()
Synopsis
#include<Inventor/projectors/SbCylinderSheetProjector.h>
Methods from class SbCylinderSheetProjector:
SbCylinderSheetProjector(SbBoolorientToEye=TRUE)SbCylinderSheetProjector(constSbCylinder&cyl,SbBoolorientToEye=TRUE)~SbCylinderSheetProjector()
Methods from class SbCylinderProjector:
SbVec3fprojectAndGetRotation(constSbVec2f&point,SbRotation&rot)virtualSbRotationgetRotation(constSbVec3f&point1,constSbVec3f&point2)voidsetCylinder(constSbCylinder&cyl)constSbCylinder&getCylinder()constvoidsetOrientToEye(SbBoolorientToEye)SbBoolisOrientToEye()constvoidsetFront(SbBoolisFront)SbBoolisFront()constSbBoolisPointInFront(constSbVec3f&point)const
Methods from class SbProjector:
virtualSbVec3fproject(constSbVec2f&point)virtualvoidsetViewVolume(constSbViewVolume&vol)constSbViewVolume&getViewVolume()constvirtualvoidsetWorkingSpace(constSbMatrix&space)constSbMatrix&getWorkingSpace()constvirtualSbProjector*copy()const