vis/x3d/
mggrx3d__define.pro
includes main-level programDestination class for x3d graphics suitable for display on a web page by a modern browser.
Class description for mggrx3d
Properties
Properties in mggrx3d
- _extra init
- dimensions get set
dimensions of output graphic
- filename get set
filename to send output to
- graphics_tree get set
graphics hierarchy to draw by default
- indent get set
string to indent lines in the output by; default is to use two spaces
Routines
Routines from mggrx3d__define.pro
mggrx3d::draw [, tree] [, /full_html]
Draw the given scene and send its output to the file specified by the FILENAME property.
mggrx3d::_writePolygon, pts, polygons, color, indent=indent
mggrx3d::getProperty, dimensions=dimensions, filename=filename, graphics_tree=graphics_tree, indent=indent
Retrieve properties.
mggrx3d::setProperty, dimensions=dimensions, filename=filename, graphics_tree=graphics_tree, indent=indent
Set properties.
mggrx3d::cleanup
Free resources.
result = mggrx3d::init( [_extra=keywords])
Retrieve properties.
mggrx3d__define
Define instance variables.
Routine details
top mggrx3d::draw
mggrx3d::draw [, tree] [, /full_html]
Draw the given scene and send its output to the file specified by the
FILENAME
property.
Parameters
- tree in optional type=objref
object graphics hierarchy to draw; optional, but then
GRAPHICS_TREE
property must be set
Keywords
- full_html in optional type=boolean
set to write an entire HTML file instead of just the w3dom content
top mggrx3d::_writePolygon
mggrx3d::_writePolygon, pts, polygons, color, indent=indent
Parameters
- pts
- polygons
- color
Keywords
- indent
top mggrx3d::getProperty
mggrx3d::getProperty, dimensions=dimensions, filename=filename, graphics_tree=graphics_tree, indent=indent
Retrieve properties.
Keywords
- dimensions
dimensions of output graphic
- filename
filename to send output to
- graphics_tree
graphics hierarchy to draw by default
- indent
string to indent lines in the output by; default is to use two spaces
top mggrx3d::setProperty
mggrx3d::setProperty, dimensions=dimensions, filename=filename, graphics_tree=graphics_tree, indent=indent
Set properties.
Keywords
- dimensions
dimensions of output graphic
- filename
filename to send output to
- graphics_tree
graphics hierarchy to draw by default
- indent
string to indent lines in the output by; default is to use two spaces
File attributes
Modification date: | Wed May 14 15:07:15 2014 |
Lines: | 202 |
Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.