RenderEnvironment Class Reference

This class provides a convenient wrapper around Yafray's render environment and presents it as a singleton. More...

#include <ecrenderenvironment.h>

List of all members.

Static Public Member Functions

static void Start ()
 Start the environment object.
static void Stop ()
 Stops the environment object.
static YRRenderEnvironmentGetREObject ()
 Provides access to our internal environment Instead of adding functions to delegate into our internal raytracer environment, use this function to call them yourself.


Detailed Description

This class provides a convenient wrapper around Yafray's render environment and presents it as a singleton.

A wrapper around YR's render environment object.

In Eclipseray, we only need one environment to create all needed materials, lights, integrators, etc.

Although the RenderEnvironment class will provide tools to simplify some tasks, we are not reimplementing YR's interface, so for any special operations, act over our internal render environment object by calling GetREObject.

Render environments own the following objects: Lights, materials, textures, cameras, integrators, backgrounds, and volume tables.

Our RenderEnvironment object is the first to be created, and the last to be destroyed.

Author:
Dan Torres 2008/12/11

Definition at line 57 of file ecrenderenvironment.h.


Member Function Documentation

static YRRenderEnvironment* RenderEnvironment::GetREObject (  )  [inline, static]

Provides access to our internal environment Instead of adding functions to delegate into our internal raytracer environment, use this function to call them yourself.

Returns:
A pointer to our internal render environment

Definition at line 89 of file ecrenderenvironment.h.

static void RenderEnvironment::Start (  )  [static]

Start the environment object.

Call first thing before creating any other objects

static void RenderEnvironment::Stop (  )  [static]

Stops the environment object.

Call right before exiting the program


The documentation for this class was generated from the following file:

Generated on Tue Jan 20 17:57:59 2009 for EclipseRay by  doxygen 1.5.7.1