HappyDoc Generated Documentation .\CGLutil\vrml.py

. / CGLutil / vrml.py 

VRML output module:

A VRML scene graph is a directed acyclic graph (DAG) of nodes. The nodes and their fields are documented in: . Each VRML node is a represented by a Python class of the same name (only those that are implemented). The VRML field names are Python attribute names and can be given as keyword arguments to the various node constructors. VRML eventIn fields are used as Python method names (when provided).

Typically use consists of (1) creating a Group or Transform node as the root node of the VRML DAG and then using the addChildren method to add child nodes, and (2) calling vrml(root_node) to get the text version of the VRML DAG, and (3) writing that text to a file.

Functions   
  vrml 
vrml ( node )

node -> str

Convert a VRML DAG to its text representation.

Classes   

Box

Cylinder

Extrusion

HalfCone

Lines

use addLine()

Transform

Sphere

Cone

Faces

use addFace()

Group

HalfCylinder


This document was automatically generated Thu Nov 09 13:33:53 2006 by HappyDoc version 3.0.a1