Package Volume :: Package Pvv :: Module boundboxCommands :: Class BoundBox
[hide private]
[frames] | no frames]

Class BoundBox

source code

ViewerFramework.VFCommand.Command --+
                                    |
                                   BoundBox
Known Subclasses:
VLIBoundBox, UTBoundBox

Instance Methods [hide private]
  __init__(self)
  __call__(self, **kw)
None <- commandName( *args, **kw)
  guiCallback(self)
Default callback function called by the gui
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  OnAddVolumeToViewer(self)
  doit(self)
Adds/removes volume bounding box.
  updateGUI(self, val)
Changes the command's menu button to 'Remove Bound Box' after adding the box and to 'Add bound box' after removing it.
  showhideBox(self, val)
  addBoundBox(self)
  removeBoundBox(self)
  updateBox(self)

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


Class Variables [hide private]

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

__init__(self)
(Constructor)

source code 
None
Overrides: ViewerFramework.VFCommand.Command.__init__

__call__(self, **kw)
(Call operator)

source code 
None <- commandName( *args, **kw)
Overrides: ViewerFramework.VFCommand.Command.__call__
(inherited documentation)

guiCallback(self)

source code 
Default callback function called by the gui
Overrides: ViewerFramework.VFCommand.Command.guiCallback
(inherited documentation)

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)

OnAddVolumeToViewer(self)

source code 
None

doit(self)

source code 
Adds/removes volume bounding box.
Overrides: ViewerFramework.VFCommand.Command.doit

updateGUI(self, val)

source code 
Changes the command's menu button to 'Remove Bound Box' after adding the box and to 'Add bound box' after removing it.

showhideBox(self, val)

source code 
None

addBoundBox(self)

source code 
None

removeBoundBox(self)

source code 
None

updateBox(self)

source code 
None