vrml.vrml97.linearise
index
/home/mcfletch/pylive/vrml/vrml97/linearise.py

object for linearizing a scene graph to VRML97

 
Modules
       
vrml.arrays
cStringIO
vrml.node
operator
traceback
types
warnings

 
Classes
       
Lineariser

 
class Lineariser
    A data structure & methods for linearising
sceneGraphs, nodes, scripts and prototypes.
Should be used only once as member vars are not
cleared after the initial linearisation.
 
  Methods defined here:
__init__(self, linvalues=None, alreadydone=None, *args, **namedargs)
linear(self, clientNode, buffer=None, skipProtos=None, skipUnusedProtos=None, *args, **namedargs)
Linearise a node, script, or scenegraph

 
Functions
       
linearise(value, linvalues={'EndComments': 10, 'courtesyspace': ' ', 'curindent': '', 'full_element_separator': '\n', 'indent': '\t', 'mffieldsep': '\n', 'numsep': ',', 'subelspacer': ', '}, **namedargs)
Linearise the given (node) value to a string

 
Data
        __file__ = '/home/mcfletch/pylive/vrml/vrml97/linearise.pyc'
__name__ = 'vrml.vrml97.linearise'
__package__ = 'vrml.vrml97'
defaults = {'EndComments': 10, 'courtesyspace': ' ', 'curindent': '', 'full_element_separator': '\n', 'indent': '\t', 'mffieldsep': '\n', 'numsep': ',', 'subelspacer': ', '}
minimal1 = {'courtesyspace': '', 'curindent': '', 'full_element_separator': '\n', 'indent': ' ', 'mffieldsep': ' ', 'numsep': ' ', 'subelspacer': ', '}