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