|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcrystalspace.jbind.impl.csNativeObject
crystalspace.jbind.impl.csutil.scf.csBase
crystalspace.jbind.impl.varia.view.csView
| Field Summary |
| Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
| Constructor Summary | |
csView(iPointer nPointer)
|
|
| 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. |
java.lang.String |
getName()
Return the name of the interface |
int |
getVersion()
Return the version of the interface |
protected boolean |
isNativePointerValidSafe(long pointer)
|
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)
|
void |
setRectangle(int x,
int y,
int w,
int h)
Set clipping rectangle. |
void |
updateClipper()
Update the Clipper. |
| Methods inherited from class crystalspace.jbind.impl.csutil.scf.csBase |
decRef, equals, finalize, getRefCount, incRef, nDelete, queryInterface, queryInterfaceSafe |
| Methods inherited from class crystalspace.jbind.impl.csNativeObject |
changePointer, getPointer, getPointer, getPointerArray, hashCode, isMemoryOwner, isNativePointerValid, newNativeObject, setMemoryOwner, toString |
| Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface crystalspace.jbind.interfaces.ivaria.view.iView |
setEngine |
| Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getRefCount, incRef, queryInterface, queryInterfaceSafe |
| Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
| Constructor Detail |
public csView(iPointer nPointer)
nPointer - | Method Detail |
public int getVersion()
iBase
getVersion in interface iBasegetVersion in class csBaseiBase.getVersion()public java.lang.String getName()
iBase
getName in interface iBasegetName in class csBaseiBase.getName()protected boolean isNativePointerValidSafe(long pointer)
isNativePointerValidSafe in class csNativeObjectcsNativeObject.isNativePointerValidSafe(long)public iEngine getEngine()
iView
getEngine in interface iViewiView.getEngine()public void SetEngine(iEngine e)
crystalspace.jbind.interfaces.ivaria.view.iView#SetEngine(crystalspace.jbind.interfaces.iengine.engine.iEngine)public iCamera getCamera()
iView
getCamera in interface iViewiView.getCamera()public void setCamera(iCamera c)
iView
setCamera in interface iViewc - iView.setCamera(crystalspace.jbind.interfaces.iengine.camera.iCamera)public iGraphics3D getContext()
iView
getContext in interface iViewiView.getContext()public void setContext(iGraphics3D ig3d)
iView
setContext in interface iViewig3d - iView.setContext(crystalspace.jbind.interfaces.ivideo.graph3d.iGraphics3D)
public void setRectangle(int x,
int y,
int w,
int h)
iView
setRectangle in interface iViewx - y - w - h - iView.setRectangle(int, int, int, int)public void clearView()
iView
clearView in interface iViewiView.clearView()
public void addViewVertex(int x,
int y)
iView
addViewVertex in interface iViewx - y - iView.addViewVertex(int, int)public void restrictClipperToScreen()
iView
restrictClipperToScreen in interface iViewiView.restrictClipperToScreen()public void updateClipper()
iView
updateClipper in interface iViewiView.updateClipper()public iClipper2D getClipper()
iView
getClipper in interface iViewiView.getClipper()public void draw()
iView
draw in interface iViewiView.draw()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||