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

Module splineCommands

source code

Classes [hide private]
  ComputeSplineCommand
The CompueSplineCommand omplements a set of method to create an DejaVu.splineObject per chain given:a TreeNodeSet,type of control Atoms (atmtype),number of points per control point in the smooth array (nbchords),continuity of the curves (continuity).
  ComputeSplineGUICommand
The ComputeSplineGUICommand provides a GUI to the user and calls computeSplineCommand to compute the splineObject.
  ExtrudeSplineCommand
The extrudeSplineCommand implements a set of method to create the extrude Geometries DejaVu.GleExtrude resulting of the extrusion of a shape2D along a path3D computed by the DejaVu.SplineObject using the GLE library.
  DisplayExtrudedSplineCommand
The DisplayExtrudeSplineCommand implements a set of methods to display/undisplay part of the geometries created by the ExtrudeSplineCommand.
  UndisplayExtrudedSplineCommand
UndisplayExtrudeSplineCommand is the interactive command to undisplay part of the molecule when displayed as an extruded spline.It calls the displatExtrudedSpline with negate =1 Package : Pmv Module : splineCommands Class : UnDisplaySplineCommand Command : undisplaySpline Synopsis: None <- undisplayExtrudedSpline(nodes, **kw) Required Arguments: nodes --- TreeNodeSet holding the current selection.
  DisplaySplineAsLineCommand
DisplaySplineAsLineCommand implements a set of method to display/ undisplay part of the spline when represented as line.
  UndisplaySplineAsLineCommand
UndisplaySPlineAsLineCommand calls the displaySplineAsLine command with the flag negate set to 1 Package : Pmv Module : splineCommands Class : UndisplaySplineAsLineSplineCommand Command : undisplaySplineAsLineSpline Synopsis: None <- undisplaySplineAsLine(nodes, **kw) Required Arguments: nodes --- TreeNodeSet holding the current selection.
  CustomSplineCommand
This command computes and extrudes spline using the values given or from the widget.
  ComputeExtrudeSplineCommand
This command computes and extrudes spline with default arguements.

Functions [hide private]
  initModule(viewer)
initializes commands for secondary structure and extrusion.

Variables [hide private]
  computeSplineCommandGuiDescr = {'menuBarName': 'menuRoot', 'menuButtonName': 'Splin...
  ComputeSplineGUICommandGUI = <ViewerFramework.VFCommand.CommandGUI instance at 0x...
  ExtrudeSplineCommandGUI = <ViewerFramework.VFCommand.CommandGUI instance at 0x...
  DisplayExtrudedSplineCommandGUI = <ViewerFramework.VFCommand.CommandGUI instance at 0x...
  computeExtrudeSplineGuiDescr = {'menuBarName': 'menuRoot', 'menuButtonName': 'Compu...
  ComputeExtrudeSplineGUI = <ViewerFramework.VFCommand.CommandGUI instance at 0x...
  customSplineGuiDescr = {'menuBarName': 'menuRoot', 'menuButtonName': 'Custo...
  CustomSplineGUI = <ViewerFramework.VFCommand.CommandGUI instance at 0x...
  DisplaySplineAsLineCommandGUI = <ViewerFramework.VFCommand.CommandGUI instance at 0x...
  commandList = [{'gui': None, 'cmd': self., 'name': 'computeSpline'...

Function Details [hide private]

initModule(viewer)

source code 
initializes commands for secondary structure and extrusion. Also imports the commands for Secondary Structure specific coloring, and initializes these commands also.

Variables Details [hide private]

computeSplineCommandGuiDescr

None
Value:
{'menuBarName': 'menuRoot',
 'menuButtonName': 'Spline',
 'menuEntryLabel': 'Build Spline',
 'widgetType': 'Menu'}                                                 
      

ComputeSplineGUICommandGUI

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

ExtrudeSplineCommandGUI

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

DisplayExtrudedSplineCommandGUI

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

computeExtrudeSplineGuiDescr

None
Value:
{'menuBarName': 'menuRoot',
 'menuButtonName': 'ComputeExtrude CA Spline',
 'menuEntryLabel': 'ComputeExtrude Spline',
 'widgetType': 'Menu'}                                                 
      

ComputeExtrudeSplineGUI

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

customSplineGuiDescr

None
Value:
{'menuBarName': 'menuRoot',
 'menuButtonName': 'Custom CA Spline',
 'menuEntryLabel': 'Custom Spline',
 'widgetType': 'Menu'}                                                 
      

CustomSplineGUI

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

DisplaySplineAsLineCommandGUI

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

commandList

None
Value:
[{'gui': None, 'cmd': self., 'name': 'computeSpline'},
 {'cmd': self.,
  'gui': <ViewerFramework.VFCommand.CommandGUI instance at 0xb2b0d84c>
,
  'name': 'computeSplineGC'},
 {'cmd': self.,
  'gui': <ViewerFramework.VFCommand.CommandGUI instance at 0xb2b0d86c>
,
...