|
static void | expect_symbol (InputStream inputFile, string symbol) |
| Read a token from inputFile and check that it matches symbol . More...
|
|
static KeywordList | expect_keywords (InputStream inputFile, List< KeywordList > keywords) |
| Read a token from inputFile and check that it is one of the keywords in keywords . Return the keyword as a class :class:'.KeywordList` object. More...
|
|
static float | expect_number (InputStream inputFile, Scene scene) |
| Read a token from inputFile and check that it is either a literal number or a variable in scene . Return the number as a float . More...
|
|
static string | expect_string (InputStream inputFile) |
| Read a token from inputFile and check that it is a literal string. Return the value of the string(a str ). More...
|
|
static string | expect_identifier (InputStream inputFile) |
| Read a token from inputFile and check that it is an identifier. Return the name of the identifier. More...
|
|
static Vec | parse_vector (InputStream inputFile, Scene scene) |
| Parse symbles and numbers to return a vector of floats More...
|
|
static Point | parse_point (InputStream inputFile, Scene scene) |
| Parse symbles and numbers to return a point of floats More...
|
|
static Color | parse_color (InputStream inputFile, Scene scene) |
| Parse a Color object from a file and store it into memory. More...
|
|
static Pigment | parse_pigment (InputStream inputFile, Scene scene) |
| Parse a Pigment object from a file and store it into memory. More...
|
|
static BRDF | parse_brdf (InputStream inputFile, Scene scene) |
| Parse a BRDF object from a file and store it into memory. More...
|
|
static Tuple< string, Material > | parse_material (InputStream inputFile, Scene scene) |
| Parse a Material object and its name from a file and store it into memory. More...
|
|
static Transformation | parse_transformation (InputStream inputFile, Scene scene) |
| Parse a Transformation object from a file and store it into memory. More...
|
|
static Sphere | parse_sphere (InputStream inputFile, Scene scene) |
| Parse a Sphere object from a file and store it into memory. More...
|
|
static Cylinder | parse_cylinder (InputStream inputFile, Scene scene) |
| Parse a Cylinder object from a file and store it into memory. More...
|
|
static XyPlane | parse_plane (InputStream inputFile, Scene scene) |
| Parse a Plane object from a file and store it into memory. More...
|
|
static PointLight | parse_pointlight (InputStream inputFile, Scene scene) |
|
static ICamera | parse_camera (InputStream inputFile, Scene scene) |
| Parse a Camera object from a file and store it into memory. More...
|
|
static Scene | parse_scene (InputStream inputFile, Dictionary< string, float > variables) |
| Read a scene description from a stream and return a :class:.Scene object More...
|
|