VisualizationCanvas objects support all operations of Qt widgets.
Interactive manipulation of the display is possible with
click-and-drag operations. The left mouse button rotates the objects, the
middle button translates it, and the right button scales it up or
down.
|
__init__(self,
parent=None,
background=' white ' ) |
|
|
|
clear(self,
keepscale=0)
Clear the canvas |
|
|
|
copyViewpointFrom(self,
other) |
|
|
|
draw(self,
graphics)
Draw something on the canvas |
|
|
|
mousePressEvent(self,
event) |
|
|
|
mouseReleaseEvent(self,
event) |
|
|
|
|
|
|
|
|
|
setViewpoint(self,
axis,
plane,
scale=None,
translate=None) |
|
|