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

RenderRefractObjectMapPass Class Reference

Generates a texture to store color information about the refractor entity. More...

#include <RenderRefractObjectMapPass.h>

Inheritance diagram for RenderRefractObjectMapPass:

ManagedOgreRenderTexturePass List of all members.

Public Member Functions

 RenderRefractObjectMapPass (Root *mRoot)
 Constructor.
 ~RenderRefractObjectMapPass ()
 Destructor.

Protected Member Functions

Vector3 getCameraPos3f ()
 Returns the value of g_vCameraPos3f.
float getFovCamera ()
 Returns the value of g_fFovCamera.
Matrix4 getWorldEntityMesh ()
 Returns the value of g_mWorldEntityMesh matrix.
Matrix4 getWorldViewProj ()
 Returns the value of g_mWorldViewProj matrix.
void onRenderEnd (NameValuePairList *namedParams=0)
void onRenderStart (NameValuePairList *namedParams=0)
void setCameraPos3f (Vector3 vector3)
 Sets the value of g_vCameraPos3f.
void setFovCamera (float f)
 Sets the value of g_fFovCamera.
void setWorldEntityMesh (Matrix4 matrix4)
 Sets the value of g_mWorldEntityMesh matrix.
void setWorldViewProj (Matrix4 matrix4)
 Sets the value of g_mWorldViewProj matrix.

Private Attributes

float g_fFovCamera
 Contains the Field Of View of the Camera.
Matrix4 g_mWorldEntityMesh
 Contains the Wold matrix of the Entity object.
Matrix4 g_mWorldViewProj
 Contains the worldViewProj matrix.
Vector3 g_vCameraPos3f
 Contains the position of the Camera.

Detailed Description

Generates a texture to store color information about the refractor entity.

SuperClass: ManagedOgreRenderTexturePass Class: RenderRefractObjectMapPass The instances of this class are to generate a texture. The resulting texture is a PF_FLOAT32_RGBA type texture.


Constructor & Destructor Documentation

RenderRefractObjectMapPass Root *  mRoot  ) 
 

Constructor.

Constructor.

Parameters:
mRoot Root, The root class of the Ogre system.

~RenderRefractObjectMapPass  )  [inline]
 

Destructor.


Member Function Documentation

Vector3 getCameraPos3f  )  [protected]
 

Returns the value of g_vCameraPos3f.

float getFovCamera  )  [protected]
 

Returns the value of g_fFovCamera.

Matrix4 getWorldEntityMesh  )  [protected]
 

Returns the value of g_mWorldEntityMesh matrix.

Matrix4 getWorldViewProj  )  [protected]
 

Returns the value of g_mWorldViewProj matrix.

void onRenderEnd NameValuePairList *  namedParams = 0  )  [protected, virtual]
 

Runs after the render-texture object is updated place all cleanup code here.

Parameters:
namedParams Contains named parameters for rendering end.

Reimplemented from ManagedOgreRenderTexturePass.

void onRenderStart NameValuePairList *  namedParams = 0  )  [protected, virtual]
 

Runs before the render-texture object is updated place all shader setup here.

Parameters:
namedParams A list of named parameters for rendering setup.

Reimplemented from ManagedOgreRenderTexturePass.

void setCameraPos3f Vector3  vector3  )  [protected]
 

Sets the value of g_vCameraPos3f.

Parameters:
vector3 Contains the new value of g_vCameraPos3f.

void setFovCamera float  f  )  [protected]
 

Sets the value of g_fFovCamera.

Parameters:
f float, contains the new value of g_fFovCamera.

void setWorldEntityMesh Matrix4  matrix4  )  [protected]
 

Sets the value of g_mWorldEntityMesh matrix.

Parameters:
matrix4 Contains the new value of g_mWorldEntityMesh matrix.

void setWorldViewProj Matrix4  matrix4  )  [protected]
 

Sets the value of g_mWorldViewProj matrix.

Parameters:
matrix4 Contains the new value of g_mWorldViewProj matrix.


Member Data Documentation

float g_fFovCamera [private]
 

Contains the Field Of View of the Camera.

Matrix4 g_mWorldEntityMesh [private]
 

Contains the Wold matrix of the Entity object.

Matrix4 g_mWorldViewProj [private]
 

Contains the worldViewProj matrix.

Vector3 g_vCameraPos3f [private]
 

Contains the position of the Camera.


The documentation for this class was generated from the following file:
Generated on Mon Apr 18 10:59:28 2005 for OGRE_IllumModule by  doxygen 1.4.2