*move_clipping_sphere_to_XYZ_and_fit

Re-centers the view around a specified point, zooms in or out to fit a specified radius around that point, and does all of this in a specified number of frames of animation rather than instantly.

Syntax

*move_clipping_sphere_to_XYZ_and_fit x_center y_center z_center radius,n_animation

Type

HyperMesh Tcl Modify Command

Description

Re-centers the view around a specified point, zooms in or out to fit a specified radius around that point, and does all of this in a specified number of frames of animation rather than instantly.

Inputs

x_center
y_center
z_center
radius
n_animation

Example

To pan the viewpoint to center on a point with coordinates (22, 17.5, 93) in 90 frames of animation, and zoom to display everything within 25 units of that point:

*move_clipping_sphere_to_XYZ_and_fit(22,17.5,93,25,90)

Using frames of animation rather than an instantaneous re-center allows a sense of relative location between the initial view point and the new one.

Errors

None.