|
|||||||||||
| 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.cstool.csview.csView
| Field Summary |
| Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
| Constructor Summary | |
csView(iEngine engine,
iGraphics3D g3d)
|
|
| 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. |
static java.lang.Class |
getInterfaceClass()
|
static java.lang.String |
getInterfaceName()
|
static int |
getInterfaceVersion()
|
java.lang.String |
getName()
Return the name of the interface |
int |
getVersion()
Return the version of the interface |
static void |
initSCF()
|
protected boolean |
isNativePointerValidSafe(long nPointer)
|
protected void |
nDelete(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)
Set engine handle. |
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, 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.iutil.scf.iBase |
decRef, getRefCount, incRef, queryInterface, queryInterfaceSafe |
| Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
| Constructor Detail |
public csView(iEngine engine,
iGraphics3D g3d)
| Method Detail |
public int getVersion()
iBase
getVersion in interface iBasegetVersion in class csBasepublic java.lang.String getName()
iBase
getName in interface iBasegetName in class csBasepublic iCamera getCamera()
iView
getCamera in interface iView
public void setRectangle(int x,
int y,
int w,
int h)
iView
setRectangle in interface iViewx - y - w - h - public static int getInterfaceVersion()
public static java.lang.String getInterfaceName()
public static java.lang.Class getInterfaceClass()
public static void initSCF()
public void draw()
iView
draw in interface iViewprotected boolean isNativePointerValidSafe(long nPointer)
isNativePointerValidSafe in class csNativeObject
public void addViewVertex(int x,
int y)
iView
addViewVertex in interface iViewx - y - iView.addViewVertex(int,
int)public void clearView()
iView
clearView in interface iViewiView.clearView()public iClipper2D getClipper()
iView
getClipper in interface iViewiView.getClipper()public iGraphics3D getContext()
iView
getContext in interface iViewiView.getContext()public iEngine getEngine()
iView
getEngine in interface iViewiView.getEngine()public void restrictClipperToScreen()
iView
restrictClipperToScreen in interface iViewiView.restrictClipperToScreen()public void setCamera(iCamera c)
iView
setCamera in interface iViewc - iView.setCamera(crystalspace.jbind.interfaces.iengine.camera.iCamera)public void setContext(iGraphics3D ig3d)
iView
setContext in interface iViewig3d - iView.setContext(crystalspace.jbind.interfaces.ivideo.graph3d.iGraphics3D)public void setEngine(iEngine e)
iView
setEngine in interface iViewe - crystalspace.jbind.interfaces.ivaria.view.iView#SetEngine(crystalspace.jbind.interfaces.iengine.engine.iEngine)public void updateClipper()
iView
updateClipper in interface iViewiView.updateClipper()protected void nDelete(long pointer)
nDelete in class csBasecsNativeObject.nDelete(long)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||