Kinetic Visualization
 All Classes Functions Variables Pages
Public Member Functions | Protected Member Functions
RendererOpenGL Class Reference
Inheritance diagram for RendererOpenGL:
MyRenderer

List of all members.

Public Member Functions

 RendererOpenGL (void)
 ~RendererOpenGL (void)
virtual void ClearAccumBuffer ()
virtual void ClearColorBuffer ()
virtual void ClearDepthBuffer ()
virtual void ClearStencilBuffer ()
virtual void SetClearColor (glm::vec4 color)
virtual void SwapBuffer ()
virtual void GetErrors ()
virtual void SetFrontCulling ()
virtual void SetBackCulling ()
virtual void EnableBackFaceCulling ()
virtual void DisableBackFaceCulling ()
virtual void EnableTexture (Texture::TexturePtr texture, int i)
virtual void DisableTexture (Texture::TexturePtr texture, int i)
virtual void LoadTexture (Texture::TexturePtr texture)
- Public Member Functions inherited from MyRenderer
 MyRenderer (void)
 ~MyRenderer (void)
void SetUniformsObject ()
void BindShader ()
void SetUniformsGlobal ()
void EnableTextures ()
void DisableTextures ()
void DrawView (View *node)

Protected Member Functions

void DrawVertexGeometry ()
void DrawGeometry ()
- Protected Member Functions inherited from MyRenderer
void TraverseSceneGraph (INode *inode, glm::mat4 m)

Additional Inherited Members

- Public Attributes inherited from MyRenderer
bool m_clear_depth_buffer
- Protected Attributes inherited from MyRenderer
glm::mat4 m_modelMatrix
float m_duration
Viewm_view
Geometrym_pkGeometry

Constructor & Destructor Documentation

RendererOpenGL::RendererOpenGL ( void  )

Standardconstructor

RendererOpenGL::~RendererOpenGL ( void  )

Standarddeconstructor


Member Function Documentation

void RendererOpenGL::ClearAccumBuffer ( )
inlinevirtual

This method clears the accumulation buffer

Implements MyRenderer.

void RendererOpenGL::ClearColorBuffer ( )
inlinevirtual

This method clears the color buffer

Implements MyRenderer.

void RendererOpenGL::ClearDepthBuffer ( )
inlinevirtual

This method clears the depth buffer

Implements MyRenderer.

void RendererOpenGL::ClearStencilBuffer ( )
inlinevirtual

This method clears the stencil buffer

Implements MyRenderer.

void RendererOpenGL::DisableBackFaceCulling ( )
inlinevirtual

This method disables Backfaceculling

Implements MyRenderer.

void RendererOpenGL::DisableTexture ( Texture::TexturePtr  texture,
int  i 
)
inlinevirtual

This method disable a texture

Parameters:
textureTexture to enable
iposition in texturestack

Implements MyRenderer.

void RendererOpenGL::DrawGeometry ( )
protectedvirtual

This Method draws the object

Implements MyRenderer.

void RendererOpenGL::DrawVertexGeometry ( )
protectedvirtual

This Method draw the geometry object

Implements MyRenderer.

void RendererOpenGL::EnableBackFaceCulling ( )
inlinevirtual

This method enables Backfaceculling

Implements MyRenderer.

void RendererOpenGL::EnableTexture ( Texture::TexturePtr  texture,
int  i 
)
inlinevirtual

This method enables a texture

Parameters:
textureTexture to enable
iposition in texturestack

Implements MyRenderer.

void RendererOpenGL::GetErrors ( )
inlinevirtual

This method returns the error

Implements MyRenderer.

void RendererOpenGL::LoadTexture ( Texture::TexturePtr  texture)
virtual

This method loads a texture

Parameters:
textureTexture to load
void RendererOpenGL::SetBackCulling ( )
inlinevirtual

This method sets the culling mode to BACK

Implements MyRenderer.

void RendererOpenGL::SetClearColor ( glm::vec4  color)
inlinevirtual

This method sets the clear color

Parameters:
colorclear color

Implements MyRenderer.

void RendererOpenGL::SetFrontCulling ( )
inlinevirtual

This method sets the culling mode to FRONT

Implements MyRenderer.

void RendererOpenGL::SwapBuffer ( )
inlinevirtual

This method swaps the buffer

Implements MyRenderer.


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