Package Pmv :: Module amberCommands :: Class ConstrainAtomsAmber94
[hide private]
[frames] | no frames]

Class ConstrainAtomsAmber94

source code

ViewerFramework.VFCommand.Command --+    
                                    |    
                  mvCommand.MVCommand --+
                                        |
                                       ConstrainAtomsAmber94


    This class allows you to constrain atoms of an Amber94 instance
    
Package : Pmv
    
Module  : amberCommands
    
Class   : ConstrainAtomsAmber94
    
Command : constrainAtomsAmber94
    
Synopsis:

    NumConstr<---constrainAtoms_amber94(key, atsToConstrain, anchorPts)

    
Arguments:

    key --- identifier to be key for this Amber94 instance in Amber94Config dictionary

    atsToConstrain --- atomset for which 3D-constrain points are specified in

    anchorPts --- a list of 3-D points, one per atsToConstrain

    kw --- possible md options

    



Instance Methods [hide private]
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  __call__(self, key, atsToConstrain, anchorPts, **kw)
NumConstr<-constrainAtoms_amber94(key, atsToConstrain, anchorPts)
  doit(self, key, atsToConstrain, anchorPts, **kw)
virtual method.
  Close_cb(self, ifd, event=None)
  buildForm(self, tstr, mols)
  update(self, event=None)
  Unconstrain_cb(self, event=None)
  updateLabels(self, numConstr)
  Accept_cb(self, event=None)
  setAnchors(self, event=None)
  updateForm2(self, event=None)
  buildForm2(self)
  updateForm2Entries(self, event=None)
  setCurrentAt(self, at, event=None)
  updateGeoms(self, event=None)
  Reset_cb(self, event=None)
  Accept_cb2(self, event=None)
  guiCallback(self)

Inherited from mvCommand.MVCommand: __init__, strArg

Inherited from mvCommand.MVCommand (private): _strArg

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


Class Variables [hide private]

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

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)

__call__(self, key, atsToConstrain, anchorPts, **kw)
(Call operator)

source code 

NumConstr<-constrainAtoms_amber94(key, atsToConstrain, anchorPts)

key --- identifier to be key for this Amber94 instance in Amber94Config dictionary

atsToConstrain --- atomset for which 3D-constrain points are specified in

anchorPts: a list of 3-D points, one per atsToConstrain

kw: possible md options
Overrides: ViewerFramework.VFCommand.Command.__call__

doit(self, key, atsToConstrain, anchorPts, **kw)

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

Close_cb(self, ifd, event=None)

source code 
None

buildForm(self, tstr, mols)

source code 
None

update(self, event=None)

source code 
None

Unconstrain_cb(self, event=None)

source code 
None

updateLabels(self, numConstr)

source code 
None

Accept_cb(self, event=None)

source code 
None

setAnchors(self, event=None)

source code 
None

updateForm2(self, event=None)

source code 
None

buildForm2(self)

source code 
None

updateForm2Entries(self, event=None)

source code 
None

setCurrentAt(self, at, event=None)

source code 
None

updateGeoms(self, event=None)

source code 
None

Reset_cb(self, event=None)

source code 
None

Accept_cb2(self, event=None)

source code 
None

guiCallback(self)

source code 
None
Overrides: mvCommand.MVCommand.guiCallback