This class provides a bridge between C++ and python code for the viewcube by extending the C++ AutoCamInterface class.
#include
<class_auto_cam_manipulator_1_1_auto_cam_interface_ex.h>
Public Member Functions |
|
__init__ () | |
intersect () | |
This method is meant to be called from C++.
|
|
intersectBox () | |
This method is meant to be called from C++.
|
|
setNavigators () | |
OBSOLETE_setCamera () | |
This method is meant to be called from C++.
|
|
setEnabled () | |
isEnabled () | |
isVisible () | |
setCoiPosition () | |
GetValidOrthoView () | |
Given a navState return the the
corresponding ortho view name if it is one of the six valid
directions. |
|
AutoCamToShowcaseCam () | |
This method calculates the navState to match
the given CameraParameters. |
|
ShowcaseCamToAutoCam () | |
Given a navState, calculates the correct
CameraParameters to match it. |
|
getStandardUp () | |
Returns the standard up vector for a given
view direction. |
|
setNavState () | |
setCursor () | |
getCursorId () | |
setOrthographic () | |
setPerspective () | |
showViewCube () | |
setOneToOneMode () | |
inOneToOneMode () |
AutoCamManipulator.AutoCamInterfaceEx.__init__ | ( | ) |
AutoCamManipulator.AutoCamInterfaceEx.intersect | ( | ) |
This method is meant to be called from C++.
This method returns True along with the worldspace intersection point that is currently under the mouse if the mouse is over a piece of geometry. If the mouse is not over a piece of geometry then this method returns False.
AutoCamManipulator.AutoCamInterfaceEx.intersectBox | ( | ) |
This method is meant to be called from C++.
This method returns True along with the worldspace intersection point that is inside the given box. If box does not contain any geometry then this method returns False.
AutoCamManipulator.AutoCamInterfaceEx.setNavigators | ( | ) |
AutoCamManipulator.AutoCamInterfaceEx.OBSOLETE_setCamera | ( | ) |
This method is meant to be called from C++.
This method calculates the correct position, lookAt, and roll values for the camera given the position, lookat, and up vector of the camera.
AutoCamManipulator.AutoCamInterfaceEx.setEnabled | ( | ) |
AutoCamManipulator.AutoCamInterfaceEx.isEnabled | ( | ) |
AutoCamManipulator.AutoCamInterfaceEx.isVisible | ( | ) |
AutoCamManipulator.AutoCamInterfaceEx.setCoiPosition | ( | ) |
AutoCamManipulator.AutoCamInterfaceEx.GetValidOrthoView | ( | ) |
Given a navState return the the corresponding ortho view name if it is one of the six valid directions.
Valid names are 'Left', 'Right', 'Front', 'Back', 'Bottom', 'Top'
Returns None if the view direction is not a valid ortho view.
AutoCamManipulator.AutoCamInterfaceEx.AutoCamToShowcaseCam | ( | ) |
This method calculates the navState to match the given CameraParameters.
TODO: Calculate the DisplayState as well.
AutoCamManipulator.AutoCamInterfaceEx.ShowcaseCamToAutoCam | ( | ) |
Given a navState, calculates the correct CameraParameters to match it.
TODO: Calculate the correct DisplayState as well.
AutoCamManipulator.AutoCamInterfaceEx.getStandardUp | ( | ) |
Returns the standard up vector for a given view direction.
The standard up vector is the up vector that you would expect to have if there was no roll/tilt applied to the camera.
AutoCamManipulator.AutoCamInterfaceEx.setNavState | ( | ) |
AutoCamManipulator.AutoCamInterfaceEx.setCursor | ( | ) |
AutoCamManipulator.AutoCamInterfaceEx.getCursorId | ( | ) |
AutoCamManipulator.AutoCamInterfaceEx.setOrthographic | ( | ) |
AutoCamManipulator.AutoCamInterfaceEx.setPerspective | ( | ) |
AutoCamManipulator.AutoCamInterfaceEx.showViewCube | ( | ) |
AutoCamManipulator.AutoCamInterfaceEx.setOneToOneMode | ( | ) |
AutoCamManipulator.AutoCamInterfaceEx.inOneToOneMode | ( | ) |