Home | Trees | Indices | Help |
|
---|
|
ViewerFramework.VFCommand.Command --+ | mvCommand.MVCommand --+ | ComputeSplineGUICommand
The ComputeSplineGUICommand provides a GUI to the user and calls computeSplineCommand to compute the splineObject. This class also implement a createGeometries method to create the geometrie to represent the splineObject here a IndexedPolylines. Package : Pmv Module : splineCommands Class : ComputeSplineGUICommand Command : computeSplineGC Synopsis: None <- computeSpline(nodes,atmtype='CA',nbchords=4,interp='interpolation',continuity=2,closedSpline=0, **kw) Required Arguments: nodes --- self.getSelection() Optional Arguments: atmtype --- specifies the atom type of the control points. the atoms of the current selection of the given atom type are used as the control points. atmtype can be 'CA'(default value) 'CA,N' 'O' etc.... curSel --- Boolean flag to use the atoms in current selection as control points. (default=False) nbchords --- number of point per control points in the smooth array interp --- flag if set to 'interpolation' interpolate the control points. continuity --- specifies the continuity of the curve. closedSpline --- Boolean flag when set to True the spline will be closed (1st atom will be connected to the last atom. (default = False) sortAtms --- Boolean flag to sort the ctlAtms or not. (default = True)
|
|||
| __init__(self, func=None) | ||
|
onAddCmdToViewer(self) method called when an instance of this command is added to the viewer. |
||
|
cursel_cb(self,
event=None) if the use curSel checkbutton is on: the entryFiedl should be disabled. |
||
|
buildFormDescr(self,
formName) descr <- buildFormDescr(self, formName): this virtual method is implemented in the classes derived from Command. |
||
|
guiCallback(self) Default callback function called by the gui |
||
|
doit(self,
nodes,
atmtype="",
curSel=False,
nbchords=4,
interp='interpolation',
continuity=2,
closedSpline=False,
sortAtms=True) virtual method. |
||
|
__call__(self,
nodes,
atmtype="CA",
curSel=False,
nbchords=4,
interp='interpolation',
continuity=2,
closedSpline=False,
sortAtms=True,
**kw) None <- computeSpline(nodes,atmtype,nbchords=4,interp='interpolation',continuity=2,closedSpline=False,**kw) Required Arguments: nodes --- self.getSelection() Optional Arguments: atmtype --- specifies the atom type of the control points. |
||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|
|
|
|
|
|
None <- computeSpline(nodes,atmtype,nbchords=4,interp='interpolation',continuity=2,closedSpline=False,**kw) Required Arguments: nodes --- self.getSelection() Optional Arguments: atmtype --- specifies the atom type of the control points. the atoms of the current selection of the given atom type are used as the control points. atmtype can be 'CA'(default value) 'CA,N' 'O' etc.... curSel --- Boolean flag to use the atoms in current selection as control points. (default=False) nbchords --- number of point per control points in the smooth array interp --- flag if set to 'interpolation' interpolate the control points. continuity --- specifies the continuity of the curve. closedSpline --- Boolean flag when set to True the spline will be closed (1st atom will be connected to the last atom. (default = False) sortAtms --- Boolean flag to sort the ctlAtms or not. (default = True)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Nov 2 14:14:36 2007 | http://epydoc.sourceforge.net |