Material Class Reference

This class serves as an abstract interface for all other materials. More...

#include <ecmaterial.h>

Inheritance diagram for Material:

EclipseObject ShinyDiffuseMaterial

List of all members.

Public Member Functions

YRMaterialGetYRMaterial () const
 Public access to our Yafaray material object.
virtual PYOBJECT PyAsString ()
 Python text representation method This function must be implemented by all children.

Static Public Member Functions

static bool PyTypeCheck (PYOBJECT a_pObject)
 Python type check Verifies that the provided python object encapsulates an material.

Protected Member Functions

virtual ~Material ()
 Virtual destructor.


Detailed Description

This class serves as an abstract interface for all other materials.

Material interface class.

It contains the YR material object and conveys it to other processes in the render cycle. Concrete classes are in charge of creating-configuring the material object.

The material object itself is owned by the render environment that creates it.

Author:
Dan Torres 2008/12/12

Definition at line 45 of file ecmaterial.h.


Member Function Documentation

YRMaterial* Material::GetYRMaterial (  )  const [inline]

Public access to our Yafaray material object.

Returns:
A pointer to a Yafaray material_t object

Definition at line 60 of file ecmaterial.h.

virtual PYOBJECT Material::PyAsString (  )  [virtual]

Python text representation method This function must be implemented by all children.

Returns:
A python string object with a description of ourselves

Reimplemented from EclipseObject.

static bool Material::PyTypeCheck ( PYOBJECT  a_pObject  )  [static]

Python type check Verifies that the provided python object encapsulates an material.

Returns:
True if the provided object type is the same as ours

Reimplemented from EclipseObject.


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

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