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

Class UndisplayCPK

source code

 ViewerFramework.VFCommand.Command --+        
                   mvCommand.MVCommand --+    
ViewerFramework.VFCommand.ICOM --+       |    
                                 |       |    
                  mvCommand.MVICOM --+   |    
                                     |   |    
                  mvCommand.MVAtomICOM --+    
                            DisplayCommand --+

The undisplayCPK command is a picking command allowing the user to undisplay the CPK geometry representing the picked nodes when used as a picking command or the given nodes when called from the Python shell.
Package : Pmv
Module  : displayCommands
Class   : UnDisplayCPK
Command : undisplayCPK

        None <- undisplayCPK(nodes, **kw)

        nodes : any set of MolKit nodes describing molecular components

        keywords: undisplay, CPK


Instance Methods [hide private]
  __call__(self, nodes, **kw)
None <- undisplayCPK(nodes, **kw) nodes: TreeNodeSet holding the current selection

Inherited from DisplayCommand: __init__, buildFormDescr, getFormValues, getLastUsedValues, getNodes, guiCallback, handleDisplayValue, handleNegateOnly, 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, checkDependencies, cleanup, customizeGUI, doit, 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

Method Details [hide private]


source code 
Overrides: DisplayCommand.onAddCmdToViewer

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

source code 
None <- undisplayCPK(nodes, **kw) nodes: TreeNodeSet holding the current selection
Overrides: ViewerFramework.VFCommand.Command.__call__