pyllar :: Figure :: FigToolbar :: Class FigToolbar
[hide private]
[frames] | no frames]

Class FigToolbar

source code

Instance Methods [hide private]
 
__init__(self, panel, fig)
Create a new instance of the figure toolbar.
source code
 
OnExport(self, evt)
Exports the axes to a bitmap.
source code
 
OnStandardView(self, evt)
Set the camera to the standard 3D view.
source code
 
OnFrontView(self, evt)
Set the camera to the front view.
source code
 
OnBackView(self, evt)
Set the camera to the rear view.
source code
 
OnLeftView(self, evt)
Set the camera to the left view.
source code
 
OnRightView(self, evt)
Set the camera to the right view.
source code
 
OnTopView(self, evt)
Set the camera to the top view.
source code
 
OnBottonView(self, evt)
Set the camera to the bottom view.
source code
 
OnChangeProjection(self, evt)
Changes the projection between parallel and projection.
source code
 
OnAbout(self, evt)
Opens the "about" dialog.
source code
 
OnExit(self, evt)
Closes the figure window.
source code
Method Details [hide private]

__init__(self, panel, fig)
(Constructor)

source code 

Create a new instance of the figure toolbar.

The toolbar contains controls for saving the axes to a png, moving the camera to a pre-defined position, and adjusting the camera projection (parallel of perspective).

OnExport(self, evt)

source code 

Exports the axes to a bitmap.

Opens a dialog that prompts the user for the bitmap's name.