Package Pmv :: Module gridCommands :: Class AutoGridReader
[hide private]
[frames] | no frames]

Class AutoGridReader

source code

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

Command to load autogrid data files, creating an 'AutoGrid' object
   
Package : Pmv
   
Module  : GridCommands
   
Class   : AutoGridReader
   
Command : readAUTOGRID
   
Synopsis:

        None <- readAUTOGRID(gridFile, **kw)
   
Required Arguments:
 
        gridFile --- path to the autogrid data file    
    



Instance Methods [hide private]
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  __call__(self, gridFile, **kw)
None <- readAUTOGRID(gridFile, **kw)
  doit(self, gridFile)
virtual method.
  guiCallback(self)
called each time the 'read ->AutoGrid' sequence is pressed

Inherited from mvCommand.MVCommand: __init__, 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]

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, gridFile, **kw)
(Call operator)

source code 

None <- readAUTOGRID(gridFile, **kw)

gridFile --- path to the autogrid data file
Overrides: ViewerFramework.VFCommand.Command.__call__

doit(self, gridFile)

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

guiCallback(self)

source code 
called each time the 'read ->AutoGrid' sequence is pressed
Overrides: mvCommand.MVCommand.guiCallback