views#
Bases:
TUIMenu
Enter the view manipulation menu.
Methods:
auto_scale
(*args, **kwargs)Scales and centers the current scene without changing its orientation.
default_view
(*args, **kwargs)Resets the view to front and center.
delete_view
(*args, **kwargs)Deletes a particular view from the list of stored views.
last_view
(*args, **kwargs)Returns to the camera position before the last manipulation.
list_views
(*args, **kwargs)Lists all predefined and saved views.
next_view
(*args, **kwargs).
read_views
(*args, **kwargs)Reads views from an external view file.
restore_view
(*args, **kwargs)Sets the current view to one of the stored views.
save_view
(*args, **kwargs)Saves the currently displayed view into the list of stored views.
write_views
(*args, **kwargs)Writes views to an external view file.
Classes:
camera
(path, service)Contains commands to set the camera options.
display_states
(path, service).
Scales and centers the current scene without changing its orientation.
Bases:
TUIMenu
Contains commands to set the camera options.
Methods:
dolly_camera
(*args, **kwargs)Enables you to move the camera left, right, up, down, in, and out.
field
(*args, **kwargs)Enables you to set the field of view (width and height) of the scene.
orbit_camera
(*args, **kwargs)Enables you to move the camera around the target.
pan_camera
(*args, **kwargs)Gives you the effect of sweeping the camera across the scene.
position
(*args, **kwargs)Sets the camera position.
projection
(*args, **kwargs)Lets you switch between perspective and orthographic views.
roll_camera
(*args, **kwargs)Lets you adjust the camera up-vector.
target
(*args, **kwargs)Sets the point the camera will look at.
up_vector
(*args, **kwargs)Sets the camera up-vector.
zoom_camera
(*args, **kwargs)Adjusts the camera’s field of view.
Enables you to move the camera left, right, up, down, in, and out.
Enables you to set the field of view (width and height) of the scene.
Enables you to move the camera around the target. Gives the effect of circling around the target.
Gives you the effect of sweeping the camera across the scene. The camera remains at its position but its target changes.
Sets the camera position.
Lets you switch between perspective and orthographic views.
Lets you adjust the camera up-vector.
Sets the point the camera will look at.
Sets the camera up-vector.
Adjusts the camera’s field of view. This operation is similar to dollying the camera in or out of the scene. Dollying causes objects in front to move past you. Zooming changes the perspective effect in the scene (and can be disconcerting).
Resets the view to front and center.
Deletes a particular view from the list of stored views.
Bases:
TUIMenu
.
Methods:
copy
(*args, **kwargs).
delete
(*args, **kwargs)Delete object.
edit
(*args, **kwargs)Edit display-states object.
list
(*args, **kwargs).
new
(*args, **kwargs)Create a new display-states object.
read
(*args, **kwargs).
rename
(*args, **kwargs)Rename object.
restore_state
(*args, **kwargs).
use_active
(*args, **kwargs).
write
(*args, **kwargs).
.
Delete object.
Edit display-states object.
.
Create a new display-states object.
.
Rename object.
.
.
.
Returns to the camera position before the last manipulation.
Lists all predefined and saved views.
.
Reads views from an external view file.
Sets the current view to one of the stored views.
Saves the currently displayed view into the list of stored views.
Writes views to an external view file.