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

Module measureCommands

source code

Classes [hide private]
  MeasureAtomCommand
Base class for commands which measure between atoms.Implements applyTransformation, getTransformedCoords and vvmult.
  MeasureDistance
Computes the distance between atom1, atom2, atom3.All coordinates are Cartesian; result is in Angstrom.
  MeasureAngle
Compute the angle between atom1, atom2, atom3.All coordinates are Cartesian; result is in degrees.
  MeasureTorsion
Compute the torsion between atom1, atom2, atom3, atom4.All coordinates are Cartesian; result is in degrees.
  MeasureGUICommand
Base class for commands which provide measureCommands user-interface.Implements setLength_cb, userpref callback, setLength, guiCallback and stopICOM
  MeasureDistanceGUICommand
Accumulates picked atoms.
  MeasureDistanceCtrlGUICommand
Accumulates picked atoms.
  MeasureAngleGUICommand
Accumulates picked atoms.Draws fans, lines and labels labelling the angle between trios of selected atoms (color-coded orange).Userpref 'measureAngleSL' sets the 'snakeLength' which is how many angle measureDisplays can be seen at the same time.When more than that number are measured, the first angle measured is no longer labeled.
  MeasureTorsionGUICommand
Label torsion between four atoms (color coded cyan) Accumulates picked atoms.Draws polygons and labels showing the torsion angle between groups of 4 selected atoms (color-coded cyan).Userpref 'measureTorsionSL' sets the 'snakeLength' which is how many torsion measureDisplays can be seen at the same time.When more than that number are measured, the first torsion measured is no longer labeled.

Functions [hide private]
  check_measure_geoms(VFGUI)
  initModule(viewer)

Variables [hide private]
  MeasureDistanceGUICommandGUI = <ViewerFramework.VFCommand.CommandGUI instance at 0x...
  MeasureAngleGUICommandGUI = <ViewerFramework.VFCommand.CommandGUI instance at 0x...
  MeasureTorsionGUICommandGUI = <ViewerFramework.VFCommand.CommandGUI instance at 0x...
  commandList = [{'gui': None, 'cmd': self., 'name': 'measureDistanc...

Function Details [hide private]

check_measure_geoms(VFGUI)

source code 
None

initModule(viewer)

source code 
None

Variables Details [hide private]

MeasureDistanceGUICommandGUI

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

MeasureAngleGUICommandGUI

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

MeasureTorsionGUICommandGUI

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

commandList

None
Value:
[{'gui': None, 'cmd': self., 'name': 'measureDistance'},
 {'gui': None, 'cmd': self., 'name': 'measureAngle'},
 {'gui': None, 'cmd': self., 'name': 'measureTorsion'},
 {'cmd': self.,
  'gui': <ViewerFramework.VFCommand.CommandGUI instance at 0xb76735ac>
,
  'name': 'measureDistanceGC'},
 {'gui': None, 'cmd': self., 'name': 'measureDistanceCtrl'},
...