public class SbCylinderPlaneProjector extends SbCylinderSectionProjector
SbCylinderPlaneProjector
projects a window space point (usually based on the mouse location) onto a surface defined by a cylinder and plane cutting through the cylinder. Two projected points can produce a rotation along the cylinder's axis. When the mouse position projects onto the plane, the rotations will be as if the plane 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:
SbCylinderSheetProjector
, SbLineProjector
, SbPlaneProjector
, SbSpherePlaneProjector
, SbSphereProjector
, SbSphereSectionProjector
, SbSphereSheetProjector
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SbCylinderPlaneProjector()
Calls SbCylinderPlaneProjector((float)0.9f, true).
|
SbCylinderPlaneProjector(float edgeTol)
Calls SbCylinderPlaneProjector(edgeTol, true).
|
SbCylinderPlaneProjector(float edgeTol,
boolean orientToEye)
Constructor that uses a default cylinder aligned with the Y axis with radius 1.0.
|
SbCylinderPlaneProjector(SbCylinder cyl)
Calls SbCylinderPlaneProjector(cyl, (float)0.9f, true).
|
SbCylinderPlaneProjector(SbCylinder cyl,
float edgeTol)
Calls SbCylinderPlaneProjector(cyl, edgeTol, true).
|
SbCylinderPlaneProjector(SbCylinder cyl,
float edgeTol,
boolean orientToEye)
Constructor.
|
getTolerance, isWithinTolerance, setTolerance
getCylinder, getRotation, isFront, isOrientToEye, isPointInFront, projectAndGetRotation, setCylinder, setFront, setOrientToEye
copy, getViewVolume, getWorkingSpace, intersect, project, setViewVolume, setWorkingSpace
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SbCylinderPlaneProjector(SbCylinder cyl)
public SbCylinderPlaneProjector(SbCylinder cyl, float edgeTol)
public SbCylinderPlaneProjector(float edgeTol)
public SbCylinderPlaneProjector()
public SbCylinderPlaneProjector(float edgeTol, boolean orientToEye)
The default view volume is undefined, and the working space is identity.
public SbCylinderPlaneProjector(SbCylinder cyl, float edgeTol, boolean orientToEye)
The default view volume is undefined, and the working space is identity.
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com