| SoCameraInteractor Methods |
The SoCameraInteractor type exposes the following members.
| Name | Description | |
|---|---|---|
| ActivateOrbiting | Set the starting point for interactive orbiting. | |
| ActivatePanning | Set the starting point for interactive panning. | |
| AdjustClippingPlanes | Adjust near and far clipping planes to minimize clipping of objects in the scene. | |
| ChangeViewVolume | Change camera's view volume. | |
| Dispose |
Releases all resources used by SoDisposable.
(Inherited from SoDisposable.) | |
| Dolly | Dolly - Makes the scene appear larger or smaller. | |
| DollyInWindow | Moves the camera forward or backward along the view vector to view the region defined by the given corners in normalized screen coordinates. | |
| DollyWithZoomCenter | Modifies the camera to ajust the view around the specified point. | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| GetCamera | Returns the associated camera. | |
| GetDirectionVector | Returns the direction vector of the camera. | |
| GetFocalPoint | ||
| GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
| GetNewInstance | Create an instance for the specified camera. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetViewportCenter | Obsolete. Returns the viewport center. | |
| LookAt | 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. | |
| Orbit(SbRotation) | Orbit the camera by the specified rotation. | |
| Orbit(SbVec2f) | Orbit the camera based on offset from the previous screen position. | |
| Pan | Pan the camera based on offset from starting point. | |
| Pivot | Pivot the camera. | |
| PointAt | 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. | |
| PopCamera | Restore saved camera. | |
| ProjectToPlane | Project specified 2D point on the plane parallel to the near plane that is at distFromEye units from the eye, see also SbViewVolume.getPlanePoint. | |
| ProjectToScreen | Map a 3D point in world coordinates to a 2D point in normalized screen coordinates (0 <= x,y <= 1), see also SbViewVolume.projectToScreen. | |
| PushCamera | Save current camera. | |
| Roll | Roll the camera. | |
| Rotate(Single) | Rotate the camera around the center specified by setRotationCenter() and the axis specified by setRotationAxis(). | |
| Rotate(SbRotation) | Rotate the camera. | |
| SetOrientation | Set the orientation of the camera. | |
| SetPosition(SbVec3f) | Move camera to the specified position. | |
| SetPosition(SbVec2f, Single, SbViewportRegion) | Move camera to the specified position. | |
| SetRotationAxis | Set the axis of rotation. | |
| SetRotationCenter | Set the center of rotation. | |
| Synchronize | Copy field values from the specified camera to the camera of this interactor. | |
| Tilt | Tilt the camera. | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Translate(SbVec3f) | Move camera by the specified 3D displacement. | |
| Translate(SbVec2f, SbViewportRegion) | Move camera by the specified 2D displacement. | |
| ViewAll(SoNode, SbViewportRegion) | Move the camera to view the scene defined by the given node. | |
| ViewAll(SoPath, SbViewportRegion) | Move the camera to view the scene defined by the given path. | |
| ViewAxis | 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. | |
| ViewIn(SbBox3f) | Move camera to the center of the specified box. | |
| ViewIn(SoNode, SbViewportRegion) | Move camera to the center of the scene defined by the specified node. | |
| ViewIn(SoPath, SbViewportRegion) | Move camera to the center of the scene defined by the specified path. | |
| ViewX | Calls ViewX(false). | |
| ViewX(Boolean) | NOTE: The camera position is not changed, so the camera may not be looking toward the scene. | |
| ViewY | Calls ViewY(false). | |
| ViewY(Boolean) | Rotate camera to look parallel to the Y axis with +Z up. | |
| ViewZ | Calls ViewZ(false). | |
| ViewZ(Boolean) | Rotate camera to look parallel to the Z axis with +Y up. | |
| Zoom | Zoom - Makes the scene appear larger or smaller. | |
| ZoomInWindow | Zooms to the region defined by the given corners in normalized screen coordinates. |