Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iView Struct Reference

The iView class encapsulates the top-level Crystal Space renderer interface. More...

#include <view.h>

Inheritance diagram for iView:

iBase csView List of all members.

Public Methods

virtual iEngineGetEngine ()=0
 Get engine handle.

virtual void SetEngine (iEngine *e)=0
 Set engine handle.

virtual iCameraGetCamera ()=0
 Get current camera.

virtual void SetCamera (iCamera *c)=0
 Set current camera.

virtual iGraphics3DGetContext ()=0
 Get Context.

virtual void SetContext (iGraphics3D *ig3d)=0
 Set Context.

virtual void SetRectangle (int x, int y, int w, int h)=0
 Set clipping rectangle.

virtual void ClearView ()=0
 Clear clipper in order to start building a polygon-based clipper.

virtual void AddViewVertex (int x, int y)=0
 Add a vertex to clipping polygon (non-rectangular clipping).

virtual void RestrictClipperToScreen ()=0
 Clip the view clipper to the screen boundaries.

virtual void UpdateClipper ()=0
 Update the Clipper. This is usually called from Draw.

virtual iClipper2DGetClipper ()=0
 Return the current clipper. This function may call UpdateClipper ().

virtual void Draw ()=0
 Draw 3D world as seen from the camera.


Detailed Description

The iView class encapsulates the top-level Crystal Space renderer interface.

It is basically a camera and a clipper.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000