SoCameraInteractorViewIn Method (SoPath, SbViewportRegion) |
Move camera to the center of the scene defined by the specified path.
Namespace: OIV.Inventor.ViewerComponentsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public void ViewIn(
SoPath path,
SbViewportRegion vpRegion
)
Public Sub ViewIn (
path As SoPath,
vpRegion As SbViewportRegion
)
public:
void ViewIn(
SoPath^ path,
SbViewportRegion vpRegion
)
member ViewIn :
path : SoPath *
vpRegion : SbViewportRegion -> unit
Parameters
- path
- Type: OIV.InventorSoPath
path to the scene
- vpRegion
- Type: OIV.InventorSbViewportRegion
the actual viewport region
Remarks Compute the bounding box of the scene and move the camera to the center of this box. The near and far clipping planes will be adjusted to see the inside of the box.
See Also