| Home | Trees | Indices | Help |
|
|---|
|
|
ViewerFramework.VFCommand.Command --+
|
GetSubvolume
|
|||
| __init__(self) | ||
|
onAddCmdToViewer(self) Called when the command is added(loaded) to the viewer |
||
|
updateInfo(self,
crop) Updates the entries on the input form when the size of the crop box is changed. |
||
|
guiCallback(self) Creates the input form (GUI). |
||
|
getDataArr(self,
x,
y,
z) Returns an array of volume data |
||
|
buildForm(self) Adds widgets to the input form |
||
|
dismiss(self) Dismisses the input form. |
||
|
readVox(self,
filename) Reads and returns data from .vox file |
||
|
mvin_cb(self) called when '>>' button is pressed (to get a new subvolume) |
||
|
mvout_cb(self) called when '<<' button is pressed (to return to original volume) |
||
|
__call__(self,
cropbounds,
action,
fixvolume=1,
**kw) None <- GetSubvolume(cropbounds, action, fixvolume = 1)... |
||
|
doit(self,
cropbounds,
action,
fixvolume,
**kw) Gets a subvolume, loads it as a new volume into the viewer |
||
|
createNewVolume(self,
narr,
dx,
dy,
dz) Creates new volume object and adds it to the viewer. |
||
|
switch_box(self) Shows/hides an outline of parent(main) volume |
||
|
change_boxsize(self) Updates the size of the box otlining parent (original) volume |
||
|
update_box(self) Sets correct scale and translation to the box outlining parent (original) volume |
||
|
resetCrop_cb(self) Resets the crop box to the volume size |
||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
|
|
|
|
|
|
|
|
|
None <- GetSubvolume(cropbounds, action, fixvolume = 1)
cropbounds : bounds of the cropping box(subvolume):
a tuple(Xmin, Xmax, Ymin, Ymax, Zmin, Zmax);
action : can be either 'mvin' to get a subvolume or
'mvout' to return to original(parent) volume;
fixvolume: if set to 1 the current volume becomes the
original(parent) volume
|
|
|
|
|
|
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0alpha3 on Fri Nov 2 14:23:03 2007 | http://epydoc.sourceforge.net |