|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The iView class encapsulates the native Crystal Space renderer interface. It is basically a camera and a clipper.
Method Summary | |
void |
addViewVertex(int x,
int y)
Add a vertex to clipping polygon (non-rectangular clipping). |
void |
clearView()
Clear clipper in order to start building a polygon-based clipper. |
void |
draw()
Draw 3D world as seen from the camera. |
iCamera |
getCamera()
Get current camera. |
iClipper2D |
getClipper()
Return the current clipper. |
iGraphics3D |
getContext()
Get Context. |
iEngine |
getEngine()
Get engine handle. |
void |
restrictClipperToScreen()
Clip the view clipper to the screen boundaries. |
void |
setCamera(iCamera c)
Set current camera. |
void |
setContext(iGraphics3D ig3d)
Set Context. |
void |
setEngine(iEngine e)
Set engine handle. |
void |
setRectangle(int x,
int y,
int w,
int h)
Set clipping rectangle. |
void |
updateClipper()
Update the Clipper. |
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getName, getRefCount, getVersion, incRef, queryInterface, queryInterfaceSafe |
Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
Method Detail |
public iEngine getEngine()
public void setEngine(iEngine e)
e
- public iCamera getCamera()
public void setCamera(iCamera c)
c
- public iGraphics3D getContext()
public void setContext(iGraphics3D ig3d)
ig3d
- public void setRectangle(int x, int y, int w, int h)
x
- y
- w
- h
- public void clearView()
public void addViewVertex(int x, int y)
x
- y
- public void restrictClipperToScreen()
public void updateClipper()
public iClipper2D getClipper()
public void draw()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |