|
|||||||||||
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 iBase
getVersion
in class csBase
iBase.getVersion()
public java.lang.String getName()
iBase
getName
in interface iBase
getName
in class csBase
iBase.getName()
protected boolean isNativePointerValidSafe(long pointer)
isNativePointerValidSafe
in class csNativeObject
csNativeObject.isNativePointerValidSafe(long)
public iEngine getEngine()
iView
getEngine
in interface iView
iView.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 iView
iView.getCamera()
public void setCamera(iCamera c)
iView
setCamera
in interface iView
c
- iView.setCamera(crystalspace.jbind.interfaces.iengine.camera.iCamera)
public iGraphics3D getContext()
iView
getContext
in interface iView
iView.getContext()
public void setContext(iGraphics3D ig3d)
iView
setContext
in interface iView
ig3d
- iView.setContext(crystalspace.jbind.interfaces.ivideo.graph3d.iGraphics3D)
public void setRectangle(int x, int y, int w, int h)
iView
setRectangle
in interface iView
x
- y
- w
- h
- iView.setRectangle(int, int, int, int)
public void clearView()
iView
clearView
in interface iView
iView.clearView()
public void addViewVertex(int x, int y)
iView
addViewVertex
in interface iView
x
- y
- iView.addViewVertex(int, int)
public void restrictClipperToScreen()
iView
restrictClipperToScreen
in interface iView
iView.restrictClipperToScreen()
public void updateClipper()
iView
updateClipper
in interface iView
iView.updateClipper()
public iClipper2D getClipper()
iView
getClipper
in interface iView
iView.getClipper()
public void draw()
iView
draw
in interface iView
iView.draw()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |