Click or drag to resize
SbLineProjector Class

Line projector.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ProjectorsSbProjector
      OIV.Inventor.ProjectorsSbLineProjector

Namespace: OIV.Inventor.Projectors
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public class SbLineProjector : SbProjector

The SbLineProjector type exposes the following members.

Constructors
  NameDescription
Public methodSbLineProjector

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 methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetLine

Gets the line on which to project 2D points.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVector(SbVec2f)

Gets a vector given the current mouse point.

Public methodGetVector(SbVec2f, SbVec2f)

Gets a vector on this line given two normalized mouse points.

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 methodProject(SbVec2f)

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

(Inherited from SbProjector.)
Public methodProject(SbVec2f, SbVec3f)

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

Public methodSetLine

Sets the line on which to project 2D points.

Public methodSetStartPosition(SbVec2f)

Sets the initial position from a mouse position.

Public methodSetStartPosition(SbVec3f)

Sets the initial position from a point on the projector.

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.SbLineProjector projects a 2D point, typically the location of the cursor, onto a 3D line.

See Also