![]() |
Public API Reference |
#include <csview.h>
Inheritance diagram for csView:

Public Methods | |
| csView (iEngine *iEngine, iGraphics3D *ig3d) | |
| Constructor. More... | |
| virtual | ~csView () |
| Destructor. More... | |
| virtual iEngine * | GetEngine () |
| Get engine handle. More... | |
| virtual void | SetEngine (iEngine *e) |
| Set engine handle. More... | |
| virtual iCamera * | GetCamera () |
| Get current camera. More... | |
| virtual void | SetCamera (iCamera *c) |
| Set current camera. More... | |
| virtual iGraphics3D * | GetContext () |
| Get Context. More... | |
| virtual void | SetContext (iGraphics3D *ig3d) |
| Set Context. More... | |
| virtual void | SetRectangle (int x, int y, int w, int h) |
| Set clipping rectangle. More... | |
| virtual void | ClearView () |
| Clear clipper in order to start building a polygon-based clipper. More... | |
| virtual void | AddViewVertex (int x, int y) |
| Add a vertex to clipping polygon (non-rectangular clipping). More... | |
| virtual void | RestrictClipperToScreen () |
| Clip the view clipper to the screen boundaries. More... | |
| virtual void | UpdateClipper () |
| Update the Clipper. This is usually called from Draw. More... | |
| virtual iClipper2D * | GetClipper () |
| Return the clipper. More... | |
| virtual void | Draw () |
| Draw 3D world as seen from the camera. More... | |
It is basicly a camera and a clipper.
Definition at line 32 of file csview.h.
|
||||||||||||
|
Constructor.
|
|
|
Destructor.
|
|
||||||||||||
|
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. |
|
|
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. |