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

Class DisplayExtrudedSplineCommand

source code

 ViewerFramework.VFCommand.Command --+        
                                     |        
                   mvCommand.MVCommand --+    
                                         |    
ViewerFramework.VFCommand.ICOM --+       |    
                                 |       |    
                  mvCommand.MVICOM --+   |    
                                     |   |    
                  mvCommand.MVAtomICOM --+    
                                         |    
            displayCommands.DisplayCommand --+
                                             |
                                            DisplayExtrudedSplineCommand

The DisplayExtrudeSplineCommand implements a set of methods to display/undisplay part of the geometries created by the ExtrudeSplineCommand. This command is undoable.
    
Package : Pmv
    
Module  : splineCommands
    
Class   : DisplaySplineCommand
    
Command : displaySpline
    
Synopsis:
None<- displaySpline(nodes, negate=False, only=False, **kw)
    
Required Arguments:
    
        nodes --- TreeNodeSet holding the current selection. Can also be a string representing 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]
  setupUndoBefore(self, nodes, only=False, negate=False)
This method makes the command undoable
  onAddCmdToViewer(self)
  __call__(self, nodes, only=False, negate=False, **kw)
None<- displaySpline(nodes, negate=False, only=False, **kw) Required Arguments: nodes --- TreeNodeSet holding the current selection.
  doit(self, nodes, only=False, negate=False)
virtual method.

Inherited from displayCommands.DisplayCommand: __init__, buildFormDescr, getFormValues, getLastUsedValues, getNodes, guiCallback, handleDisplayValue, handleNegateOnly, setLastUsedValues, updateGeom

Inherited from mvCommand.MVCommand: strArg

Inherited from mvCommand.MVCommand (private): _strArg

Inherited from ViewerFramework.VFCommand.Command: __repr__, addCallbackAfter, addCallbackBefore, addUndoCall, afterDoit, beforeDoit, buildLogArgList, checkDependencies, cleanup, customizeGUI, doitWrapper, getArguments, getHelp, getLogArgs, getValNamedArgs, log, logString, onAddNewCmd, onCmdRun, setupUndoAfter, showForm, tkCb, warningMsg

Inherited from mvCommand.MVAtomICOM: getObjects

Inherited from ViewerFramework.VFCommand.ICOM: initICOM, startICOM, stopICOM


Class Variables [hide private]

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

setupUndoBefore(self, nodes, only=False, negate=False)

source code 
This method makes the command undoable
Overrides: ViewerFramework.VFCommand.Command.setupUndoBefore

onAddCmdToViewer(self)

source code 
None
Overrides: displayCommands.DisplayCommand.onAddCmdToViewer

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

source code 
None<- displaySpline(nodes, negate=False, only=False, **kw)
        
Required Arguments:
    
        nodes --- TreeNodeSet holding the current selection. Can also be a string representing 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, only=False, negate=False)

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