Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

ThingMaterialText Class Reference

Material Thing for the scenegraph. More...

#include <ThingMaterialText.h>

Inherits ThingMaterial.

Inheritance diagram for ThingMaterialText:

Inheritance graph
[legend]
Collaboration diagram for ThingMaterialText:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ThingMaterialText (Motion *m)
 constructor
virtual ~ThingMaterialText (void)
 destructor
void init ()
 write the initialization openGL code for init()
void render ()
 write the render openGL code for display()
void finish ()
 finish up the rendering, e.g. drop all set Attributes
void CreateRenderTexture (UINT textureArray[], int size, int channels, int type, int textureID)

Private Attributes

SceneGraphLetterssgl
MotionmPtr

Detailed Description

Material Thing for the scenegraph.

Material Thing for the Scenegraph. Ambient, diffuse, specular term and shiniess can be set. Also Textures can be loaded, multitexturing is supported


Constructor & Destructor Documentation

ThingMaterialText::ThingMaterialText Motion m  ) 
 

constructor

ThingMaterialText::~ThingMaterialText void   )  [virtual]
 

destructor


Member Function Documentation

void ThingMaterialText::CreateRenderTexture UINT  textureArray[],
int  size,
int  channels,
int  type,
int  textureID
 

void ThingMaterialText::finish  )  [virtual]
 

finish up the rendering, e.g. drop all set Attributes

Reimplemented from ThingMaterial.

void ThingMaterialText::init  )  [virtual]
 

write the initialization openGL code for init()

Reimplemented from ThingMaterial.

void ThingMaterialText::render  )  [virtual]
 

write the render openGL code for display()

Reimplemented from ThingMaterial.


Member Data Documentation

Motion* ThingMaterialText::mPtr [private]
 

SceneGraphLetters* ThingMaterialText::sgl [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Jan 24 17:42:34 2005 for Loud and Proud by doxygen 1.3.8