Click or drag to resize
SoCameraInteractor Methods

The SoCameraInteractor type exposes the following members.

Methods
  NameDescription
Public methodActivateOrbiting

Set the starting point for interactive orbiting.

Public methodActivatePanning

Set the starting point for interactive panning.

Public methodAdjustClippingPlanes

Adjust near and far clipping planes to minimize clipping of objects in the scene.

Public methodChangeViewVolume

Change camera's view volume.

Public methodDispose
Releases all resources used by SoDisposable.
(Inherited from SoDisposable.)
Public methodDolly

Dolly - Makes the scene appear larger or smaller.

Public methodDollyInWindow

Moves the camera forward or backward along the view vector to view the region defined by the given corners in normalized screen coordinates.

Public methodDollyWithZoomCenter

Modifies the camera to ajust the view around the specified point.

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

Returns the associated camera.

Public methodGetDirectionVector

Returns the direction vector of the camera.

Public methodGetFocalPoint
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodStatic memberGetNewInstance

Create an instance for the specified camera.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetViewportCenter Obsolete.

Returns the viewport center.

Public methodLookAt

Returns the rotation needed to point a camera at position toward the given target point while keeping the "up" direction of the camera parallel to the specified up vector.

Public methodOrbit(SbRotation)

Orbit the camera by the specified rotation.

Public methodOrbit(SbVec2f)

Orbit the camera based on offset from the previous screen position.

Public methodPan

Pan the camera based on offset from starting point.

Public methodPivot

Pivot the camera.

Public methodPointAt

Sets the orientation of the camera so that it points toward the given target point while keeping the "up" direction of the camera parallel to the positive world coordinate y-axis.

Public methodPopCamera

Restore saved camera.

Public methodProjectToPlane

Project specified 2D point on the plane parallel to the near plane that is at distFromEye units from the eye, see also SbViewVolume.getPlanePoint.

Public methodProjectToScreen

Map a 3D point in world coordinates to a 2D point in normalized screen coordinates (0 <= x,y <= 1), see also SbViewVolume.projectToScreen.

Public methodPushCamera

Save current camera.

Public methodRoll

Roll the camera.

Public methodRotate(Single)
Public methodRotate(SbRotation)

Rotate the camera.

Public methodSetOrientation

Set the orientation of the camera.

Public methodSetPosition(SbVec3f)

Move camera to the specified position.

Public methodSetPosition(SbVec2f, Single, SbViewportRegion)

Move camera to the specified position.

Public methodSetRotationAxis

Set the axis of rotation.

Public methodSetRotationCenter

Set the center of rotation.

Public methodSynchronize

Copy field values from the specified camera to the camera of this interactor.

Public methodTilt

Tilt the camera.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTranslate(SbVec3f)

Move camera by the specified 3D displacement.

Public methodTranslate(SbVec2f, SbViewportRegion)

Move camera by the specified 2D displacement.

Public methodViewAll(SoNode, SbViewportRegion)

Move the camera to view the scene defined by the given node.

Public methodViewAll(SoPath, SbViewportRegion)

Move the camera to view the scene defined by the given path.

Public methodViewAxis

Moves and rotates the camera to be aligned with the given direction vector while keeping the up direction of the camera parallel to the specified up vector.

Public methodViewIn(SbBox3f)

Move camera to the center of the specified box.

Public methodViewIn(SoNode, SbViewportRegion)

Move camera to the center of the scene defined by the specified node.

Public methodViewIn(SoPath, SbViewportRegion)

Move camera to the center of the scene defined by the specified path.

Public methodViewX
Calls ViewX(false).
Public methodViewX(Boolean)

NOTE: The camera position is not changed, so the camera may not be looking toward the scene.

Public methodViewY
Calls ViewY(false).
Public methodViewY(Boolean)

Rotate camera to look parallel to the Y axis with +Z up.

Public methodViewZ
Calls ViewZ(false).
Public methodViewZ(Boolean)

Rotate camera to look parallel to the Z axis with +Y up.

Public methodZoom

Zoom - Makes the scene appear larger or smaller.

Public methodZoomInWindow

Zooms to the region defined by the given corners in normalized screen coordinates.

Top
See Also