Package Pmv :: Module grid3DCommands :: Class Grid3DCommands
[hide private]
[frames] | no frames]

Class Grid3DCommands

source code

ViewerFramework.VFCommand.Command --+    
                                    |    
                  mvCommand.MVCommand --+
                                        |
                                       Grid3DCommands

This is the main class that adds GridMultiListbox widget with Add/Remove, Isocontour and OrthoSlice icons and widgets

Instance Methods [hide private]
  __init__(self, func=None)
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  get_grid_name(self)
  select(self, name)
Selects Listbox by Grid Name
  doit(self, show=True, **kw)
virtual method.
  guiCallback(self, **kw)
  show(self, event=None)
  hide(self, event=None)
  Add_Remove(self)
  Isocontour(self)
  OrthoSlice(self)
  VolRen(self)
  save(self)
  open(self)

Inherited from mvCommand.MVCommand: strArg

Inherited from mvCommand.MVCommand (private): _strArg

Inherited from ViewerFramework.VFCommand.Command: __call__, __repr__, addCallbackAfter, addCallbackBefore, addUndoCall, afterDoit, beforeDoit, buildFormDescr, buildLogArgList, checkDependencies, cleanup, customizeGUI, doitWrapper, getArguments, getHelp, getLastUsedValues, getLogArgs, getValNamedArgs, log, logString, onAddNewCmd, onCmdRun, setLastUsedValues, setupUndoAfter, setupUndoBefore, showForm, tkCb, updateGeom, warningMsg


Class Variables [hide private]

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

__init__(self, func=None)
(Constructor)

source code 
None
Overrides: mvCommand.MVCommand.__init__

onAddCmdToViewer(self)

source code 
method called when an instance of this command is added to the viewer. This enable viewer-addition time initializations
Overrides: ViewerFramework.VFCommand.Command.onAddCmdToViewer
(inherited documentation)

get_grid_name(self)

source code 
None

select(self, name)

source code 
Selects Listbox by Grid Name

doit(self, show=True, **kw)

source code 
virtual method. Has to be implemented by the sub classes
Overrides: ViewerFramework.VFCommand.Command.doit
(inherited documentation)

guiCallback(self, **kw)

source code 
None
Overrides: mvCommand.MVCommand.guiCallback

show(self, event=None)

source code 
None

hide(self, event=None)

source code 
None

Add_Remove(self)

source code 
None

Isocontour(self)

source code 
None

OrthoSlice(self)

source code 
None

VolRen(self)

source code 
None

save(self)

source code 
None

open(self)

source code 
None