csView Class Reference
The csView class encapsulates the top-level Crystal Space renderer interface. More...
#include <cstool/csview.h>
Inheritance diagram for csView:

Public Member Functions | |
csView (iEngine *iEngine, iGraphics3D *ig3d) | |
Constructor. | |
virtual | ~csView () |
Destructor. | |
virtual iEngine * | GetEngine () |
Get engine handle. | |
virtual void | SetEngine (iEngine *e) |
Set engine handle. | |
virtual iCamera * | GetCamera () |
Get current camera. | |
virtual void | SetCamera (iCamera *c) |
Set current camera. | |
virtual iGraphics3D * | GetContext () |
Get Context. | |
virtual void | SetContext (iGraphics3D *ig3d) |
Set Context. | |
virtual void | SetRectangle (int x, int y, int w, int h) |
Set clipping rectangle. | |
virtual void | ClearView () |
Clear clipper in order to start building a polygon-based clipper. | |
virtual void | AddViewVertex (int x, int y) |
Add a vertex to clipping polygon (non-rectangular clipping). | |
virtual void | RestrictClipperToScreen () |
Clip the view clipper to the screen boundaries. | |
virtual void | SetAutoResize (bool state) |
Enable / Disable automatic resizing. | |
virtual void | UpdateClipper () |
Update the Clipper. This is usually called from Draw. | |
virtual iClipper2D * | GetClipper () |
Return the clipper. | |
virtual void | Draw () |
Draw 3D world as seen from the camera. |
Detailed Description
The csView class encapsulates the top-level Crystal Space renderer interface.It is basically a camera and a clipper.
Definition at line 34 of file csview.h.
Constructor & Destructor Documentation
|
Constructor.
|
|
Destructor.
|
Member Function Documentation
|
Add a vertex to clipping polygon (non-rectangular clipping).
Implements iView. |
|
Clear clipper in order to start building a polygon-based clipper.
Implements iView. |
|
Draw 3D world as seen from the camera.
Implements iView. |
|
Get current camera.
Implements iView. |
|
Return the clipper.
Implements iView. |
|
Get Context.
Implements iView. |
|
Get engine handle.
Implements iView. |
|
Clip the view clipper to the screen boundaries.
Implements iView. |
|
Enable / Disable automatic resizing.
Implements iView. |
|
Set current camera.
Implements iView. |
|
Set Context.
Implements iView. |
|
Set engine handle.
Implements iView. |
|
Set clipping rectangle.
Implements iView. |
|
Update the Clipper. This is usually called from Draw.
Implements iView. |
The documentation for this class was generated from the following file:
- cstool/csview.h
Generated for Crystal Space by doxygen 1.3.9.1