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

Class ComputeExtrudeSplineCommand

source code

ViewerFramework.VFCommand.Command --+    
                                    |    
                  mvCommand.MVCommand --+
                                        |
                                       ComputeExtrudeSplineCommand

This command computes and extrudes spline with default arguements.
    
Package : Pmv
    
Module  : splineCommands
    
Class   : ComputeExtrudeSplineCommand
    
Command : computeExtrudeSpline
    
Synopsis:
None <- computeExtrudeSpline(nodes, only=False, negate=False, **kw)
    
Required Arguments:

        nodes --- TreeNodeSet holding the current selection
    
Optional Arguments:

        only --- flag when set to 1 only the current selection
                  will be displayed
        
negate ---  flag when set to 1 undisplay the current selection
    



Instance Methods [hide private]
  __init__(self)
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  __call__(self, nodes, only=False, negate=False, **kw)
None <- computeExtrudeSpline(nodes, only=False, negate=False, **kw)...
  doit(self, nodes, **kw)
virtual method.

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


Class Variables [hide private]

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

__init__(self)
(Constructor)

source code 
None
Overrides: mvCommand.MVCommand.__init__

onAddCmdToViewer(self)

source code 
method called when an instance of this command is added to the viewer. This enable viewer-addition time initializations
Overrides: ViewerFramework.VFCommand.Command.onAddCmdToViewer
(inherited documentation)

__call__(self, nodes, only=False, negate=False, **kw)
(Call operator)

source code 
None <- computeExtrudeSpline(nodes, only=False, negate=False, **kw)
        
Required Arguments:

        nodes --- TreeNodeSet holding the current selection
        
Optional Arguments:

        only --- flag when set to 1 only the current selection
                  will be displayed
        
negate ---  flag when set to 1 undisplay the current selection
        

Overrides: ViewerFramework.VFCommand.Command.__call__

doit(self, nodes, **kw)

source code 
virtual method. Has to be implemented by the sub classes
Overrides: ViewerFramework.VFCommand.Command.doit
(inherited documentation)