Package Pmv :: Module displayCommands :: Class DisplayBoundGeom
[hide private]
[frames] | no frames]

Class DisplayBoundGeom

source code

 ViewerFramework.VFCommand.Command --+        
                                     |        
                   mvCommand.MVCommand --+    
                                         |    
ViewerFramework.VFCommand.ICOM --+       |    
                                 |       |    
                  mvCommand.MVICOM --+   |    
                                     |   |    
                  mvCommand.MVAtomICOM --+    
                                         |    
                            DisplayCommand --+
                                             |
 ViewerFramework.VFCommand.Command --+       |
                                     |       |
                   mvCommand.MVCommand --+   |
                                         |   |
           BindGeomToMolecularFragmentBase --+
                                             |
                                            DisplayBoundGeom
Known Subclasses:
UndisplayBoundGeom

Command to display/undisplay geometries that were bound to molecules with 'bindGeomToMolecularFragment' command.

Instance Methods [hide private]
  checkDependencies(self)
virtual method.
  buildFormDescr(self, formName='default')
  guiCallback(self)
  getBoundGeomNames(self)
  doit(self, nodes, geomNames=None, only=0, negate=0, nbVert=3)
virtual method.
  __call__(self, nodes, only=0, negate=0, nbVert=Pmv.numOfSelectedVerticesToSelectTriangle, **kw)
None <- DisplayBoundGeom(nodes, only=0, negate=0, **kw)...

Inherited from DisplayCommand: __init__, getFormValues, getLastUsedValues, getNodes, handleDisplayValue, handleNegateOnly, onAddCmdToViewer, setLastUsedValues, updateGeom

Inherited from mvCommand.MVCommand: strArg

Inherited from mvCommand.MVCommand (private): _strArg

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

Inherited from mvCommand.MVAtomICOM: getObjects

Inherited from ViewerFramework.VFCommand.ICOM: initICOM, startICOM, stopICOM


Class Variables [hide private]

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly

Inherited from BindGeomToMolecularFragmentBase: data


Method Details [hide private]

checkDependencies(self)

source code 
virtual method. Has to be implemented by the sub classes. Method called when command is loaded, if all the dependencies are not found the command won't be loaded.
Overrides: ViewerFramework.VFCommand.Command.checkDependencies
(inherited documentation)

buildFormDescr(self, formName='default')

source code 
None
Overrides: DisplayCommand.buildFormDescr

guiCallback(self)

source code 
None
Overrides: DisplayCommand.guiCallback

getBoundGeomNames(self)

source code 
None

doit(self, nodes, geomNames=None, only=0, negate=0, nbVert=3)

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

__call__(self, nodes, only=0, negate=0, nbVert=Pmv.numOfSelectedVerticesToSelectTriangle, **kw)
(Call operator)

source code 
None <- DisplayBoundGeom(nodes, only=0, negate=0, **kw)
nodes  : TreeNodeSet holding the current selection
only   : flag when set to 1 only the current selection will be
         displayed
negate : flag when set to 1 undisplay the current selection
nbVert : Nb of vertices per triangle need to select a triangle

Overrides: ViewerFramework.VFCommand.Command.__call__