Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

RenderContext Class Reference

OpenGL Rendering context abstraction. More...

#include <RenderContext.h>

Collaboration diagram for RenderContext:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Visibility { NotVisible, Visible, PartlyVisible }

Public Methods

 RenderContext ()
void init ()
void setFill (bool fill)
bool getFill ()
void setRenderBounds (bool render)
bool getRenderBounds ()
void setViewport (unsigned short w, unsigned short h)
void printScreen ()
void perspective (float fovy, float zNear, float zFar)
void pickMatrix (real x, real y)
void extractFrustum ()
const Vertex3getCameraX ()
const Vertex3getCameraY ()
void setCameraPosition (const Vertex3 &position)
const Vertex3getCameraPosition ()
Vertex3 transform (const Vertex3 &v)
Vertex3 modelTransform (const Vertex3 &v)
bool cull (real x, real y, real z)
Visibility cull (const Vertex3 &v, real radius)
Visibility cull (const AABoundingBox &box)
Visibility cull (const Vertex3 &from, const Vertex3 &to)
RenderContext & operator<< (const Color3 &c)
RenderContext & operator<< (const Color4 &c)
RenderContext & operator<< (const Vertex3 &v)
RenderContext & operator<< (const Vertex4 &v)
RenderContext & operator<< (const Matrix4 &m)
RenderContext & operator<< (Quaternion &q)
RenderContext & normal (Vertex3 &v)
RenderContext & operator<< (const AABoundingBox &box)
RenderContext & operator<< (Material *material)
RenderContext & screenQuad (real x, real y, real r)
RenderContext & texturedQuad (const Vertex3 &p, real r)
void boundingBox (const AABoundingBox &box)

Detailed Description

OpenGL Rendering context abstraction.


The documentation for this class was generated from the following files:
This documentation was generated using doxygen. If you have any comments or additions please mail me.