Click or drag to resize
SbCylinderSectionProjector Class

Cylinder-section projector.

Inheritance Hierarchy

Namespace: OIV.Inventor.Projectors
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public class SbCylinderSectionProjector : SbCylinderProjector

The SbCylinderSectionProjector type exposes the following members.

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

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

Public methodSbCylinderSectionProjector(SbCylinder, Single)
Calls SbCylinderSectionProjector(cyl, edgeTol, true).
Public methodSbCylinderSectionProjector(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.

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.

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.

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.SbCylinderSectionProjector projects a window space point (usually based on the mouse location) onto the section of a cylinder that has been sliced by a plane. Two projected points can produce a rotation along the cylinder's axis. The tolerance slice can be specified as a fraction of the radius of the cylinder. The projection point will not extend beyond the sliced portion of the cylinder.

Incremental changes (delta rotation) can be computed during interactive sessions. Cylinder projectors are typically used to write interactive 3D manipulators and viewers.

See Also