Package Pmv :: Module sdCommands :: Class DisplayMolIndexedPolygons
[hide private]
[frames] | no frames]

Class DisplayMolIndexedPolygons

source code

 ViewerFramework.VFCommand.Command --+        
                                     |        
                   mvCommand.MVCommand --+    
                                         |    
ViewerFramework.VFCommand.ICOM --+       |    
                                 |       |    
                  mvCommand.MVICOM --+   |    
                                     |   |    
                  mvCommand.MVAtomICOM --+    
                                         |    
            displayCommands.DisplayCommand --+
                                             |
                                            DisplayMolIndexedPolygons
Known Subclasses:
UndisplayMolIndexedPolygons


Package : Pmv
Module  : sdCommands
Class   : DisplayMolIndexedPolygons
Command : displayMolIndexedPolygons

Description:
The DisplayMolIndexedPolygons is used to display MolIndexedPolygons
instances (or parts thereof) which are associated with the
selected nodes

Synopsis:
  None <- displayMolIndexPolygons(nodes,name,only,negate,**kw)
  nodes          : nodes for which polygons will be displayed
  name           : name of the polygon to be displayed
  only           : display polygon for these atoms _only_
                   (i.e. undisplay any other parts currently displayed)
  negate         : undisplay selected polygon for selected nodes

Keywords: harmony,surfdock,display



Instance Methods [hide private]
  doit(self, nodes, name='all', only=0, negate=0, **kw)
virtual method.
  __call__(self, nodes, name='all', only=0, negate=0, **kw)
None <- displaySurface(nodes, only=0, negate=0, **kw)...
  guiCallback(self)
Default callback function called by the gui

Inherited from displayCommands.DisplayCommand: __init__, buildFormDescr, 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, checkDependencies, 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


Method Details [hide private]

doit(self, nodes, name='all', only=0, negate=0, **kw)

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

__call__(self, nodes, name='all', only=0, negate=0, **kw)
(Call operator)

source code 
None <- displaySurface(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

Overrides: ViewerFramework.VFCommand.Command.__call__

guiCallback(self)

source code 
Default callback function called by the gui
Overrides: displayCommands.DisplayCommand.guiCallback