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

Module setangleCommands

source code

Classes [hide private]
  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
  SetTranslation
Transform the coords by array Set the coords of these atoms to the new values and return new coords
  SetQuaternion
Transform the coords by quaternion Set the coords of these atoms to the new values and return new coords
  SetTorsion
Transform the coords of atoms in subTree defined by atom1-atom2 by angle less initial torsion defined by atom0, atom1, atom2, atom3 Set the coords of these atoms to the new values and return new coords
  SetTorsionGUICommand
  TorsionAngle
  TorsionHistory

Functions [hide private]
  vvmult(a, b)
Compute a vector product for 3D vectors
  torsionAngle(x1, x2, x3, x4)
Compute the torsion angle between x1,x2,x3,x4.
  initModule(viewer)

Variables [hide private]
  setTorsionGuiDescr = {'index': 0, 'menuBarName': 'menuRoot', 'menuButtonN...
  SetTorsionGUI = <ViewerFramework.VFCommand.CommandGUI instance at 0x...
  commandList = [{'gui': <ViewerFramework.VFCommand.CommandGUI insta...

Function Details [hide private]

vvmult(a, b)

source code 
Compute a vector product for 3D vectors

torsionAngle(x1, x2, x3, x4)

source code 
Compute the torsion angle between x1,x2,x3,x4. All coordinates are cartesian, result is in degrees. Raises a ValueError if angle is not defined.

initModule(viewer)

source code 
None

Variables Details [hide private]

setTorsionGuiDescr

None
Value:
{'index': 0,
 'menuBarName': 'menuRoot',
 'menuButtonName': 'Set Torsion Angle',
 'menuEntryLabel': 'Show Set Torsion Panel',
 'widgetType': 'Menu'}                                                 
      

SetTorsionGUI

None
Value:
<ViewerFramework.VFCommand.CommandGUI instance at 0xb6f1a5ac>          
      

commandList

None
Value:
[{'cmd': self.,
  'gui': <ViewerFramework.VFCommand.CommandGUI instance at 0xb6f1a5ac>
,
  'name': 'setTorsionGC'},
 {'gui': None, 'cmd': self., 'name': 'setRelativeTorsion'},
 {'gui': None, 'cmd': self., 'name': 'setTorsion'},
 {'gui': None, 'cmd': self., 'name': 'setTranslation'},
 {'gui': None, 'cmd': self., 'name': 'setQuaternion'}]