Click or drag to resize
SbCylinderPlaneProjector Class

Cylinder-plane projector.

Inheritance Hierarchy

Namespace: OIV.Inventor.Projectors
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public class SbCylinderPlaneProjector : SbCylinderSectionProjector

The SbCylinderPlaneProjector type exposes the following members.

Constructors
  NameDescription
Public methodSbCylinderPlaneProjector
Calls SbCylinderPlaneProjector(0.9f, true).
Public methodSbCylinderPlaneProjector(Single)
Calls SbCylinderPlaneProjector(edgeTol, true).
Public methodSbCylinderPlaneProjector(SbCylinder)
Calls SbCylinderPlaneProjector(cyl, 0.9f, true).
Public methodSbCylinderPlaneProjector(Single, Boolean)

Constructor that uses a default cylinder aligned with the Y axis with radius 1.0.

Public methodSbCylinderPlaneProjector(SbCylinder, Single)
Calls SbCylinderPlaneProjector(cyl, edgeTol, true).
Public methodSbCylinderPlaneProjector(SbCylinder, Single, Boolean)

Constructor.

Top
Methods
  NameDescription
Public methodCopy

Creates and returns an exact copy of the projector.

(Inherited from SbProjector.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetCylinder

Gets the cylinder on which to project points.

(Inherited from SbCylinderProjector.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetRotation

Gets a rotation given two points on this cylinder projector.

(Inherited from SbCylinderProjector.)
Public methodGetTolerance

Gets the edge tolerance as a fraction of the radius of the cylinder.

(Inherited from SbCylinderSectionProjector.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetViewVolume

Get the view volume to use for the projection.

(Inherited from SbProjector.)
Public methodGetWorkingSpace

Get the transform space to work in.

(Inherited from SbProjector.)
Public methodIntersect

Applies the projector using the given line in world coordinates, returning the point in three dimensions that it projects to.

(Inherited from SbProjector.)
Public methodIsFront

Gets whether the projector should intersect the half of the cylinder that faces the eye.

(Inherited from SbCylinderProjector.)
Public methodIsOrientToEye

Gets whether the projector should always be oriented towards the eye.

(Inherited from SbCylinderProjector.)
Public methodIsPointInFront

Gets whether the projector should intersect the half of the cylinder that faces the eye.

(Inherited from SbCylinderProjector.)
Public methodIsWithinTolerance

Finds whether this point on the cylinder or tolerance plane is within tolerance.

(Inherited from SbCylinderSectionProjector.)
Public methodProject

Apply the projector using the given point, returning the point in three dimensions that it projects to.

(Inherited from SbProjector.)
Public methodProjectAndGetRotation

Applies the projector using the given point, returning the point in three dimensions that it projects to.

(Inherited from SbCylinderProjector.)
Public methodSetCylinder

Sets the cylinder on which to project points.

(Inherited from SbCylinderProjector.)
Public methodSetFront

Sets whether the projector should intersect the half of the cylinder that faces the eye.

(Inherited from SbCylinderProjector.)
Public methodSetOrientToEye

Sets whether the projector should always be oriented towards the eye.

(Inherited from SbCylinderProjector.)
Public methodSetTolerance

Sets the edge tolerance as a fraction of the radius of the cylinder.

(Inherited from SbCylinderSectionProjector.)
Public methodSetViewVolume

Set the view volume to use for the projection.

(Inherited from SbProjector.)
Public methodSetWorkingSpace

Set the transform space to work in.

(Inherited from SbProjector.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

OIV.Inventor.Projectors.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