Public Methods |
virtual csRenderContext* | GetRenderContext ()=0 |
| Get the current render context.
|
virtual void | CreateRenderContext ()=0 |
| Create a new render context. More...
|
virtual void | RestoreRenderContext (csRenderContext *original)=0 |
| Restore a render context. More...
|
virtual iCamera* | CreateNewCamera ()=0 |
| Create a new camera in the current render context. More...
|
virtual iEngine* | GetEngine ()=0 |
| Get the engine.
|
virtual iGraphics2D* | GetGraphics2D ()=0 |
| Get the 2D graphics subsystem.
|
virtual iGraphics3D* | GetGraphics3D ()=0 |
| Get the 3D graphics subsystem.
|
virtual void | SetFrustum (float lx, float rx, float ty, float by)=0 |
| Set the view frustum at z=1.
|
virtual void | GetFrustum (float &lx, float &rx, float &ty, float &by)=0 |
| Get the frustum.
|
virtual csRenderContextFrustum* | GetTopFrustum ()=0 |
| Get the top level frustum (corresponding with SetFrustum()).
|
virtual iClipper2D* | GetClipper ()=0 |
| Get the 2D clipper for this view.
|
virtual void | SetClipper (iClipper2D *clip)=0 |
| Set the 2D clipper for this view.
|
virtual bool | IsClipperRequired ()=0 |
| If true then we have to clip all objects to the portal frustum (returned with GetClipper()). More...
|
virtual bool | GetClipPlane (csPlane3 &pl)=0 |
| Get the 3D clip plane that should be used to clip all geometry. More...
|
virtual csPlane3& | GetClipPlane ()=0 |
| Get the clip plane.
|
virtual void | SetClipPlane (const csPlane3 &pl)=0 |
| Set the 3D clip plane that should be used to clip all geometry.
|
virtual void | UseClipPlane (bool u)=0 |
| Enable the use of a clip plane.
|
virtual void | UseClipFrustum (bool u)=0 |
| Enable the use of a clip frustum.
|
virtual csFogInfo* | GetFirstFogInfo ()=0 |
| Every fogged sector we encountered results in an extra structure in the following list. More...
|
virtual void | SetFirstFogInfo (csFogInfo *fi)=0 |
| Set the first fog info.
|
virtual bool | AddedFogInfo ()=0 |
| Return true if fog info has been added.
|
virtual void | ResetFogInfo ()=0 |
| Reset fog info.
|
virtual iCamera* | GetCamera ()=0 |
| Get the current camera.
|
virtual void | CalculateFogPolygon (G3DPolygonDP &poly)=0 |
| Calculate the fog information in the given G3DPolygonDP structure.
|
virtual void | CalculateFogPolygon (G3DPolygonDPFX &poly)=0 |
| Calculate the fog information in the given G3DPolygonDPFX structure.
|
virtual void | CalculateFogMesh (const csTransform &tr_o2c, G3DTriangleMesh &mesh)=0 |
| Calculate the fog information in the given G3DTriangleMesh structure. More...
|
virtual void | CalculateFogMesh (const csTransform &tr_o2c, G3DPolygonMesh &mesh)=0 |
| Calculate the fog information in the given G3DPolygonMesh structure. More...
|
virtual bool | TestBSphere (const csReversibleTransform &o2c, const csSphere &sphere)=0 |
| Test if the given bounding sphere (in object space coordinates) is visibile in this render view. More...
|
virtual bool | ClipBSphere (const csReversibleTransform &o2c, const csSphere &sphere, int &clip_portal, int &clip_plane, int &clip_z_plane)=0 |
| Check if the given bounding sphere (in object space coordinates) is visibile in this render view. More...
|
virtual bool | ClipBBox (const csBox2 &sbox, const csBox3 &cbox, int &clip_portal, int &clip_plane, int &clip_z_plane)=0 |
| Check if the screen bounding box of an object is visible in this render view. More...
|
virtual iSector* | GetThisSector ()=0 |
| Get current sector.
|
virtual void | SetThisSector (iSector *s)=0 |
| Set the current sector.
|
virtual iSector* | GetPreviousSector ()=0 |
| Get previous sector.
|
virtual void | SetPreviousSector (iSector *s)=0 |
| Set the previous sector.
|
virtual iPolygon3D* | GetPortalPolygon ()=0 |
| Get the portal polygon.
|
virtual void | SetPortalPolygon (iPolygon3D *poly)=0 |
| Set the portal polygon.
|
virtual int | GetRenderRecursionLevel ()=0 |
| Get render recursion level.
|
virtual void | SetRenderRecursionLevel (int rec)=0 |
| Set render recursion level.
|
virtual void | AttachRenderContextData (void *key, iBase *data)=0 |
| Attach data to the current render context.
|
virtual iBase* | FindRenderContextData (void *key)=0 |
| Look for data on the current render context.
|
virtual void | DeleteRenderContextData (void *key)=0 |
| Delete all data with the given key on the current render context.
|
virtual void | SetCallback (iDrawFuncCallback *cb)=0 |
| Set a callback that will be called instead of drawing something. More...
|
virtual iDrawFuncCallback* | GetCallback ()=0 |
| Get the callback.
|
virtual void | CallCallback (int type, void *data)=0 |
| Call callback.
|
virtual iCamera* | GetOriginalCamera () const=0 |
| Get the original camera for this render view. More...
|