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

Class DisplaySSSB

source code

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

The displaySSSB command allows the user to display/undisplay the given chains using the sticks and balls representation for non protein chains and ribbon diagram for proteic chains.

Package : Pmv

Module  : displayCommands

Class   : DisplaySSSB

Command : displaySSSB

Synopsis:

        None <- displaySSSB(nodes, only=0, negate=0, noballs=0,
                            bradii=0.4, bquality=4, cradius=0.2,
                            absolute=1, **kw)

        nodes   : any set of MolKit nodes describing molecular components

        only    : Boolean flag specifying whether or not to only display
                  the current selection

        negate  : Boolean flag specifying whether or not to undisplay
                  the current selection

        noballs : Boolean flag specifying whether or not to undisplay the
                  balls geometry of the current selection

        cradius : specifies the cylinder radius

        bradii  : specifies the radius of the balls if displayed.

        bquality: specifies the quality of the balls if displayed.

        keywords: display ribbon and sticks and balls representation



Instance Methods [hide private]
  onAddObjectToViewer(self, obj)
  doit(self, nodes, only=False, negate=False, bRad=0.3, bScale=0.0, bquality=0, cradius=0.2, cquality=0, sticksBallsLicorice='Sticks and Balls', **kw)
virtual method.

Inherited from DisplaySticksAndBalls: __call__, ballsAndLicorice_cb, buildFormDescr, cleanup, guiCallback, onRemoveObjectFromViewer, setupUndoBefore

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, checkDependencies, customizeGUI, doitWrapper, getArguments, getHelp, getLogArgs, getValNamedArgs, log, logString, onAddNewCmd, onCmdRun, setupUndoAfter, 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]

onAddObjectToViewer(self, obj)

source code 
None
Overrides: DisplaySticksAndBalls.onAddObjectToViewer

doit(self, nodes, only=False, negate=False, bRad=0.3, bScale=0.0, bquality=0, cradius=0.2, cquality=0, sticksBallsLicorice='Sticks and Balls', **kw)

source code 
virtual method. Has to be implemented by the sub classes
Overrides: DisplaySticksAndBalls.doit