Package Pmv :: Module fileCommands :: Class VRML2Writer
[hide private]
[frames] | no frames]

Class VRML2Writer

source code

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

Command to save currently displayed geometries in VRML 2.0 format
    
Package : Pmv
    
Module  : fileCommands
    
Class   : VRML2Writer
    
Command : writeVRML2.0file
    
Synopsis:

    None<---Write VRML 2.0 file (filename, saveNormals=0,
colorPerVertex=True, useProto=0, sphereQuality=2, cylinderQuality=10 )
    



Instance Methods [hide private]
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  __init__(self)
  doit(self, filename, saveNormals=0, colorPerVertex=True, useProto=0, sphereQuality=2, cylinderQuality=10)
virtual method.
  __call__(self, filename, saveNormals=0, colorPerVertex=True, useProto=0, sphereQuality=2, cylinderQuality=10, **kw)
Write VRML 2.0 file (filename, saveNormals=0, colorPerVertex=True, useProto=0, sphereQuality=2, cylinderQuality=10 )
  guiCallback(self)
Default callback function called by the gui

Inherited from mvCommand.MVCommand: 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)

__init__(self)
(Constructor)

source code 
None
Overrides: mvCommand.MVCommand.__init__

doit(self, filename, saveNormals=0, colorPerVertex=True, useProto=0, sphereQuality=2, cylinderQuality=10)

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

__call__(self, filename, saveNormals=0, colorPerVertex=True, useProto=0, sphereQuality=2, cylinderQuality=10, **kw)
(Call operator)

source code 
Write VRML 2.0 file (filename, saveNormals=0, colorPerVertex=True, useProto=0, sphereQuality=2, cylinderQuality=10 )
Overrides: ViewerFramework.VFCommand.Command.__call__

guiCallback(self)

source code 
Default callback function called by the gui
Overrides: mvCommand.MVCommand.guiCallback