Package Pmv :: Module setangleCommands :: Class SetRelativeTorsion
[hide private]
[frames] | no frames]

Class SetRelativeTorsion

source code

ViewerFramework.VFCommand.Command --+            
                                    |            
                  mvCommand.MVCommand --+        
                                        |        
       measureCommands.MeasureAtomCommand --+    
                                            |    
               measureCommands.MeasureTorsion --+
                                                |
                                               SetRelativeTorsion

Transform the coords of atoms in subTree defined by atom1-atom2 Set the coords of these atoms to the new values and return new coords

Instance Methods [hide private]
  __call__(self, atom1, atom2, angle, mov_atoms=None, returnVal=0, **kw)
movedAtomsCoords<-setRelativeTorsion(atom1, atom2, angle, returnVal)
  doit(self, atom1, atom2, angle, mov_atoms, returnVal=0)

Inherited from measureCommands.MeasureTorsion: torsion

Inherited from measureCommands.MeasureAtomCommand: getTransformedCoords, vvmult

Inherited from mvCommand.MVCommand: __init__, guiCallback, 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, onAddCmdToViewer, onAddNewCmd, onCmdRun, setLastUsedValues, setupUndoAfter, setupUndoBefore, showForm, tkCb, updateGeom, warningMsg


Class Variables [hide private]

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

__call__(self, atom1, atom2, angle, mov_atoms=None, returnVal=0, **kw)
(Call operator)

source code 
movedAtomsCoords<-setRelativeTorsion(atom1, atom2, angle, returnVal)
Overrides: measureCommands.MeasureTorsion.__call__

doit(self, atom1, atom2, angle, mov_atoms, returnVal=0)

source code 
None
Overrides: measureCommands.MeasureTorsion.doit