render::Render Class Reference

This is the interface class for all the api's renders. More...

#include <Render.h>

Inheritance diagram for render::Render:

Inheritance graph
[legend]
Collaboration diagram for render::Render:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual bool initialize (HWND &hWnd)=0
virtual void setup (int16 width, int16 height)=0
virtual void begin (float32 r, float32 g, float32 b, float32 a)=0
virtual void end ()=0
virtual void writeText (int32 x, int32 y, const char *pData)=0
virtual int32 indexDataList (uint32 indicesSize, const lang::Array< math::Vector3f > &vertexList, const lang::Array< math::Vector3f > &normalList, const lang::Array< math::Vector3f > &textureList)=0
virtual void drawList (int32 list, scene::CullProperty *pProperty=NULL)=0
virtual void pushMatrix ()=0
virtual void popMatrix ()=0
virtual void setScale (math::Vector3f scale)=0
virtual void setTranslation (math::Vector3f scale)=0
virtual void setRotation (float32 angle, math::Vector3f scale)=0
virtual void setProjectionType (E_PROJECTION_TYPE eType)=0
virtual void loadIdentity ()=0
virtual void setCameraPerspective (float32 fovValue, float32 nearValue, float32 farValue)=0
virtual void setCameraTranslation (const math::Vector3f &translation, const math::Vector3f &target, const math::Vector3f &upVector)=0
virtual void setFeatureStatus (E_FEATURE_TYPE eType, bool value)=0
virtual void setMaterialProperty (scene::MaterialProperty *pProperty)=0
virtual void setAlphaProperty (scene::AlphaProperty *pProperty)=0
virtual uint32 setTextureProperty (scene::TextureProperty *pProperty)=0
virtual void setLight (scene::Light *pLight)=0
virtual void bindImage (uint32 number)=0


Detailed Description

This is the interface class for all the api's renders.

Member Function Documentation

virtual bool render::Render::initialize ( HWND &  hWnd  )  [pure virtual]

Initialize the window

virtual void render::Render::setup ( int16  width,
int16  height 
) [pure virtual]

Setup the screen

Parameters:
width The screen width
height The screen height

virtual void render::Render::begin ( float32  r,
float32  g,
float32  b,
float32  a 
) [pure virtual]

The begin scene method

Parameters:
color The color vector

virtual void render::Render::end (  )  [pure virtual]

The end scene method (to swap the buffer)

virtual void render::Render::writeText ( int32  x,
int32  y,
const char *  pData 
) [pure virtual]

Write a text in the screen

Parameters:
x The x position
y The y position
pData The data to be writed

virtual int32 render::Render::indexDataList ( uint32  indicesSize,
const lang::Array< math::Vector3f > &  vertexList,
const lang::Array< math::Vector3f > &  normalList,
const lang::Array< math::Vector3f > &  textureList 
) [pure virtual]

Index data to render

Parameters:
indicesSize The indices
vertexList The list of vertexs
normalList The list of normals
textureList The list of texture coord
Returns:
the list id (to be used on drawList())

virtual void render::Render::drawList ( int32  list,
scene::CullProperty pProperty = NULL 
) [pure virtual]

Draw the indexed data

Parameters:
list The list id
pProperty The cull property
Note:
Need to index data before call this method

virtual void render::Render::pushMatrix (  )  [pure virtual]

Push the matrix

virtual void render::Render::popMatrix (  )  [pure virtual]

Pop the matrix

virtual void render::Render::setScale ( math::Vector3f  scale  )  [pure virtual]

Set Scale

virtual void render::Render::setTranslation ( math::Vector3f  scale  )  [pure virtual]

Set Translation

virtual void render::Render::setRotation ( float32  angle,
math::Vector3f  scale 
) [pure virtual]

Set Rotation

virtual void render::Render::setProjectionType ( E_PROJECTION_TYPE  eType  )  [pure virtual]

Set projection type

Parameters:
eType The type of projection

virtual void render::Render::loadIdentity (  )  [pure virtual]

Load identity

virtual void render::Render::setCameraPerspective ( float32  fovValue,
float32  nearValue,
float32  farValue 
) [pure virtual]

Set the camera perspective

Parameters:
fovValue the fov value
nearValue the near value
farValue the far value

virtual void render::Render::setCameraTranslation ( const math::Vector3f translation,
const math::Vector3f target,
const math::Vector3f upVector 
) [pure virtual]

Set the camera translation

Parameters:
translation The translation vector
target The target vector
upVector The up vector

virtual void render::Render::setFeatureStatus ( E_FEATURE_TYPE  eType,
bool  value 
) [pure virtual]

Set the feature status

Parameters:
eType The type of feature
value The status to set

virtual void render::Render::setMaterialProperty ( scene::MaterialProperty pProperty  )  [pure virtual]

Set the material property to the render

Parameters:
pProperty The property

virtual void render::Render::setAlphaProperty ( scene::AlphaProperty pProperty  )  [pure virtual]

Set the alpha property to the render

Parameters:
pProperty The property

virtual uint32 render::Render::setTextureProperty ( scene::TextureProperty pProperty  )  [pure virtual]

Set the texture property to the render

Parameters:
pProperty The property
Returns:
The image number

virtual void render::Render::setLight ( scene::Light pLight  )  [pure virtual]

Set the light

Parameters:
pLight The light

virtual void render::Render::bindImage ( uint32  number  )  [pure virtual]

Bind a specific image

Parameters:
number The number of the image


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

Generated on Mon Mar 3 10:53:10 2008 for Aika by  doxygen 1.5.5