#include <RenderContext.h>
Collaboration diagram for RenderContext:

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 Vertex3 & | getCameraX () |
| const Vertex3 & | getCameraY () |
| void | setCameraPosition (const Vertex3 &position) |
| const Vertex3 & | getCameraPosition () |
| 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) |