rtl_parse Class Reference
Parse a simple language for creating scenes. More...
#include <parse.h>
List of all members.
Public Members
Protected Members
Static Protected Members
Detailed Description
Parse a simple language for creating scenes.
This parser sucks!! It is
bare bones, does not support all of the features of the library, and
produces no error messages for bad input files. To debug errors in an
input file put verbose as the first line of your file.
Member Function Documentation
rtl_parse::rtl_parse( rtl_world* )
Constructs a new parser. The parser is built so that it will
set the scene parsed for the given instance of rtl_world.
void rtl_parse::parseScene( istream& )
Parses a scene in the given input stream.
virtual void rtl_parse::parse( istream&, const char* ) [protected, virtual]
int rtl_parse::keyword( char* ) [protected]
jFlt rtl_parse::parseFlt( istream& ) [protected]
jInt rtl_parse::parseInt( istream& ) [protected]
rtl_object* rtl_parse::parseSoftObject( istream& ) [protected]
rtl_object* rtl_parse::parsePolyhedron( istream& ) [protected]
rtl_material* rtl_parse::parseMaterialParams( istream& ) [protected]
rtl_material* rtl_parse::parseMaterial( istream& ) [protected]
Member Data Documentation
int rtl_parse::w
Width and height of the output scene. These values will be set during
a call to parseScene.
int rtl_parse::h
Width and height of the output scene. These values will be set during
a call to parseScene.
int rtl_parse::mins
Minimum and maximum samples to take of each pixel. These values will
be set during a call to parseScene.
int rtl_parse::maxs
Minimum and maximum samples to take of each pixel. These values will
be set during a call to parseScene.
Background colour for the image. This value will be set during
a call to parseScene.
rtl_world* rtl_parse::scene [protected]
bool rtl_parse::verbose [protected]
const int rtl_parse::pNull [static, protected]
const int rtl_parse::pIdentity [static, protected]
const int rtl_parse::pTranslate [static, protected]
const int rtl_parse::pScale [static, protected]
const int rtl_parse::pRotate [static, protected]
const int rtl_parse::pLookat [static, protected]
const int rtl_parse::pModelview [static, protected]
const int rtl_parse::pPush [static, protected]
const int rtl_parse::pPop [static, protected]
const int rtl_parse::pUnion [static, protected]
const int rtl_parse::pIntersection [static, protected]
const int rtl_parse::pDifference [static, protected]
const int rtl_parse::pEnd [static, protected]
const int rtl_parse::pSphere [static, protected]
const int rtl_parse::pCylinder [static, protected]
const int rtl_parse::pCone [static, protected]
const int rtl_parse::pInfCylinder [static, protected]
const int rtl_parse::pInfCone [static, protected]
const int rtl_parse::pBox [static, protected]
const int rtl_parse::pTorus [static, protected]
const int rtl_parse::pSuperEllipsoid [static, protected]
const int rtl_parse::pPlane [static, protected]
const int rtl_parse::pFloor [static, protected]
const int rtl_parse::pSoftObject [static, protected]
const int rtl_parse::pPolyhedron [static, protected]
const int rtl_parse::pMaterial [static, protected]
const int rtl_parse::pMatColour [static, protected]
const int rtl_parse::pTexTurbulence [static, protected]
const int rtl_parse::pTexCheckers [static, protected]
const int rtl_parse::pTexTiles [static, protected]
const int rtl_parse::pTextureMap [static, protected]
const int rtl_parse::pLight [static, protected]
const int rtl_parse::pSphericalLight [static, protected]
const int rtl_parse::pFOV [static, protected]
const int rtl_parse::pResolution [static, protected]
const int rtl_parse::pBackground [static, protected]
const int rtl_parse::pSamples [static, protected]
const int rtl_parse::pShadows [static, protected]
const int rtl_parse::pRecursion [static, protected]
const int rtl_parse::pVoxelMaxObjects [static, protected]
const int rtl_parse::pVoxelMaxDepth [static, protected]
const int rtl_parse::pUnknown [static, protected]
const int rtl_parse::pVerbose [static, protected]
The documentation for this class was generated from the following file:
JSP /
librtl v0.2
mtigges@cpsc.ucalgary.ca