Classes | |
class | ViewType |
No documentation available. More... |
Functions | |
def | AddErectionView |
def | AllocatedErectionViews |
def | DeleteErectionView |
def | EyeUpLookAt |
def | GetCurrentErectionViewName |
def | GetCurrentView |
def | GetErectionViews |
def | GlobalToCameraMatrix |
def | OpenErectionView |
def | SetCurrentView |
def evu.AddErectionView | ( | name, | |
eye = Point3D(0, 0 , |
|||
up = Point3D(0, 1 , |
|||
look_at = Point3D(0, 0 , |
|||
type = evu.ViewType.Primary , |
|||
screen_width = 480000.0 , |
|||
screen_height = 480000.0 , |
|||
depth_near = 36.0 , |
|||
depth_far = 36.0 , |
|||
pen_color = 6 , |
|||
line_type = 4 , |
|||
auto_pin = True |
|||
) |
Add a new erection view and return the index number of the new view. A return value less than 1 indicates the view could not be added. A value of -1 indicates the view name already exists. C++ signature : int AddErectionView(std::string [,Point3D=Point3D(0, 0, 0) [,Point3D=Point3D(0, 1, 0) [,Point3D=Point3D(0, 0, -1) [,SDS2::evu::Type=evu.ViewType.Primary [,double=480000.0 [,double=480000.0 [,double=36.0 [,double=36.0 [,int=6 [,int=4 [,bool=True]]]]]]]]]]])
def evu.AllocatedErectionViews | ( | args | ) |
Return the number of erection view entries allocated in the job. C++ signature : unsigned int AllocatedErectionViews()
def evu.DeleteErectionView | ( | name | ) |
Delete the specificed erection view. Return True iff the view is deleted. C++ signature : bool DeleteErectionView(std::string)
def evu.EyeUpLookAt | ( | global_to_camera_matrix | ) |
Return a tuple representing the camera in global coordinates for the specified global to camera matrix. C++ signature : boost::python::tuple EyeUpLookAt(Xform)
def evu.GetCurrentErectionViewName | ( | args | ) |
Return the name of the current view C++ signature : std::string GetCurrentErectionViewName()
def evu.GetCurrentView | ( | args | ) |
Return a tuple representing information about the current view C++ signature : boost::python::tuple GetCurrentView()
def evu.GetErectionViews | ( | args | ) |
Return a list of erection views where each view is a tuple. The first element is the index number of the view and the the rest of the tuple is the same format as the parameters for AddErectionView. The following code will delete the first erection view and then add the same view. v = GetErectionViews()[ 0 ][ 1: ] DeleteErectionView( v[ 0 ] ) AddErectionView( *v ) C++ signature : boost::python::list GetErectionViews()
def evu.GlobalToCameraMatrix | ( | eye, | |
up, | |||
look_at | |||
) |
Return a Transform3D representing the global to camera matrix for the given view. C++ signature : Xform GlobalToCameraMatrix(Point3D,Point3D,Point3D)
def evu.OpenErectionView | ( | name | ) |
Change the view to the specified erection view. Return True iff the view is opened. C++ signature : bool OpenErectionView(std::string)
def evu.SetCurrentView | ( | eye = Point3D(0, 0 , |
|
up = Point3D(0, 1 , |
|||
look_at = Point3D(0, 0 , |
|||
screen_width = 480000.0 , |
|||
screen_height = 480000.0 , |
|||
depth_near = 36.0 , |
|||
depth_far = 36.0 |
|||
) |
Set the current view C++ signature : void SetCurrentView([ Point3D=Point3D(0, 0, 0) [,Point3D=Point3D(0, 1, 0) [,Point3D=Point3D(0, 0, -1) [,double=480000.0 [,double=480000.0 [,double=36.0 [,double=36.0]]]]]]])