|
|||||||||||
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.engine.rview.csRenderView
Field Summary |
Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
Constructor Summary | |
csRenderView(iPointer nPointer)
|
Method Summary | |
boolean |
addedFogInfo()
Return true if fog info has been added |
void |
attachRenderContextData(iPointer key,
iBase data)
Attach data to the current render context |
void |
calculateFogMesh(csTransform tr_o2c,
G3DPolygonMesh mesh)
|
void |
calculateFogMesh(csTransform tr_o2c,
G3DTriangleMesh mesh)
|
void |
calculateFogPolygon(G3DPolygonDP poly)
|
void |
calculateFogPolygon(G3DPolygonDPFX poly)
|
boolean |
clipBBox(csBox2 sbox,
csBox3 cbox,
int clip_portal,
int clip_plane,
int clip_z_plane)
Check if the screen bounding box of an object is visible in this render view. |
boolean |
clipBSphere(csReversibleTransform o2c,
csSphere sphere,
int clip_portal,
int clip_plane,
int clip_z_plane)
Check if the given bounding sphere(in object space coordinates) is visibile in this render view. |
iCamera |
createNewCamera()
Create a new camera in the current render context. |
void |
createRenderContext()
Create a new render context. |
void |
deleteRenderContextData(iPointer key)
Delete all data with the given key on the current render context. |
iBase |
findRenderContextData(iPointer key)
Look for data on the current render context. |
iCamera |
getCamera()
Get the current camerapublic |
iClipper2D |
getClipper()
Get the 2D clipper for this view |
csPlane3 |
getClipPlane()
Get the clip plane |
boolean |
getClipPlane(csPlane3 pl)
Get the 3D clip plane that should be used to clip all geometry. |
iEngine |
getEngine()
Get the engine |
csFogInfo |
getFirstFogInfo()
Every fogged sector we encountered results in an extra structure in the following list. |
void |
getFrustum(float lx,
float rx,
float ty,
float by)
Get the frustum |
iGraphics2D |
getGraphics2D()
Get the 2D graphics subsystem |
iGraphics3D |
getGraphics3D()
Get the 3D graphics subsystem |
iPortal |
getLastPortal()
Get the portal we last traversed through |
java.lang.String |
getName()
Return the name of the interface |
iCamera |
getOriginalCamera()
Get the original camera for this render view. |
iSector |
getPreviousSector()
Get previous sector |
csRenderContext |
getRenderContext()
Get the current render context |
int |
getRenderRecursionLevel()
Get render recursion level |
iSector |
getThisSector()
Get current sector |
csRenderContextFrustum |
getTopFrustum()
Get the top level frustum(corresponding with SetFrustum()) |
int |
getVersion()
Return the version of the interface |
boolean |
isClipperRequired()
If true then we have to clip all objects to the portal frustum (returned with GetClipper()). |
protected boolean |
isNativePointerValidSafe(long pointer)
|
void |
resetFogInfo()
Reset fog info |
void |
restoreRenderContext(csRenderContext original)
Restore a render context. |
void |
setClipper(iClipper2D clip)
Set the 2D clipper for this view |
void |
setClipPlane(csPlane3 pl)
Set the 3D clip plane that should be used to clip all geometry |
void |
setFirstFogInfo(csFogInfo fi)
Set the first fog info |
void |
setFrustum(float lx,
float rx,
float ty,
float by)
Set the view frustum at z = 1. |
void |
setLastPortal(iPortal portal)
Set the last portal |
void |
setPreviousSector(iSector s)
Set the previous sector |
void |
setRenderRecursionLevel(int rec)
Set render recursion level |
void |
setThisSector(iSector s)
Set the current sector |
boolean |
testBSphere(csReversibleTransform o2c,
csSphere sphere)
Test if the given bounding sphere(in object space coordinates) is visibile in this render view. |
void |
useClipFrustum(boolean u)
Enable the use of a clip frustum |
void |
useClipPlane(boolean u)
Enable the use of a clip plane |
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.iutil.scf.iBase |
decRef, getRefCount, incRef, queryInterface, queryInterfaceSafe |
Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
Constructor Detail |
public csRenderView(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 boolean addedFogInfo()
iRenderView
addedFogInfo
in interface iRenderView
iRenderView.addedFogInfo()
public void attachRenderContextData(iPointer key, iBase data)
iRenderView
attachRenderContextData
in interface iRenderView
key
- data
- iRenderView.attachRenderContextData(crystalspace.jbind.interfaces.iPointer, crystalspace.jbind.interfaces.iutil.scf.iBase)
public void calculateFogMesh(csTransform tr_o2c, G3DPolygonMesh mesh)
calculateFogMesh
in interface iRenderView
tr_o2c
- mesh
- iRenderView.calculateFogMesh(crystalspace.jbind.impl.csgeom.transfrm.csTransform, crystalspace.jbind.impl.video.graph3d.G3DPolygonMesh)
public void calculateFogMesh(csTransform tr_o2c, G3DTriangleMesh mesh)
calculateFogMesh
in interface iRenderView
tr_o2c
- mesh
- iRenderView.calculateFogMesh(crystalspace.jbind.impl.csgeom.transfrm.csTransform, crystalspace.jbind.impl.video.graph3d.G3DTriangleMesh)
public void calculateFogPolygon(G3DPolygonDPFX poly)
calculateFogPolygon
in interface iRenderView
poly
- iRenderView.calculateFogPolygon(crystalspace.jbind.impl.video.graph3d.G3DPolygonDPFX)
public void calculateFogPolygon(G3DPolygonDP poly)
calculateFogPolygon
in interface iRenderView
poly
- iRenderView.calculateFogPolygon(crystalspace.jbind.impl.video.graph3d.G3DPolygonDP)
public boolean clipBBox(csBox2 sbox, csBox3 cbox, int clip_portal, int clip_plane, int clip_z_plane)
iRenderView
clipBBox
in interface iRenderView
sbox
- cbox
- clip_portal
- clip_plane
- clip_z_plane
-
iRenderView.clipBBox(crystalspace.jbind.impl.csgeom.box.csBox2, crystalspace.jbind.impl.csgeom.box.csBox3, int, int, int)
public boolean clipBSphere(csReversibleTransform o2c, csSphere sphere, int clip_portal, int clip_plane, int clip_z_plane)
iRenderView
clipBSphere
in interface iRenderView
o2c
- sphere
- clip_portal
- clip_plane
- clip_z_plane
-
iRenderView.clipBSphere(crystalspace.jbind.impl.csgeom.transfrm.csReversibleTransform, crystalspace.jbind.impl.csgeom.sphere.csSphere, int, int, int)
public iCamera createNewCamera()
iRenderView
createNewCamera
in interface iRenderView
iRenderView.createNewCamera()
public void createRenderContext()
iRenderView
createRenderContext
in interface iRenderView
iRenderView.createRenderContext()
public void deleteRenderContextData(iPointer key)
iRenderView
deleteRenderContextData
in interface iRenderView
key
- iRenderView.deleteRenderContextData(crystalspace.jbind.interfaces.iPointer)
public iBase findRenderContextData(iPointer key)
iRenderView
findRenderContextData
in interface iRenderView
key
-
iRenderView.findRenderContextData(crystalspace.jbind.interfaces.iPointer)
public iCamera getCamera()
iRenderView
getCamera
in interface iRenderView
iRenderView.getCamera()
public iClipper2D getClipper()
iRenderView
getClipper
in interface iRenderView
iRenderView.getClipper()
public csPlane3 getClipPlane()
iRenderView
getClipPlane
in interface iRenderView
iRenderView.getClipPlane()
public boolean getClipPlane(csPlane3 pl)
iRenderView
getClipPlane
in interface iRenderView
pl
-
iRenderView.getClipPlane(crystalspace.jbind.impl.csgeom.plane3.csPlane3)
public iEngine getEngine()
iRenderView
getEngine
in interface iRenderView
iRenderView.getEngine()
public csFogInfo getFirstFogInfo()
iRenderView
getFirstFogInfo
in interface iRenderView
iRenderView.getFirstFogInfo()
public void getFrustum(float lx, float rx, float ty, float by)
iRenderView
getFrustum
in interface iRenderView
lx
- rx
- ty
- by
- iRenderView.getFrustum(float, float, float, float)
public iGraphics2D getGraphics2D()
iRenderView
getGraphics2D
in interface iRenderView
iRenderView.getGraphics2D()
public iGraphics3D getGraphics3D()
iRenderView
getGraphics3D
in interface iRenderView
iRenderView.getGraphics3D()
public iPortal getLastPortal()
iRenderView
getLastPortal
in interface iRenderView
iRenderView.getLastPortal()
public iCamera getOriginalCamera()
iRenderView
getOriginalCamera
in interface iRenderView
iRenderView.getOriginalCamera()
public iSector getPreviousSector()
iRenderView
getPreviousSector
in interface iRenderView
iRenderView.getPreviousSector()
public csRenderContext getRenderContext()
iRenderView
getRenderContext
in interface iRenderView
iRenderView.getRenderContext()
public int getRenderRecursionLevel()
iRenderView
getRenderRecursionLevel
in interface iRenderView
iRenderView.getRenderRecursionLevel()
public iSector getThisSector()
iRenderView
getThisSector
in interface iRenderView
iRenderView.getThisSector()
public csRenderContextFrustum getTopFrustum()
iRenderView
getTopFrustum
in interface iRenderView
iRenderView.getTopFrustum()
public boolean isClipperRequired()
iRenderView
isClipperRequired
in interface iRenderView
iRenderView.isClipperRequired()
public void resetFogInfo()
iRenderView
resetFogInfo
in interface iRenderView
iRenderView.resetFogInfo()
public void restoreRenderContext(csRenderContext original)
iRenderView
restoreRenderContext
in interface iRenderView
original
- iRenderView.restoreRenderContext(crystalspace.jbind.impl.engine.rview.csRenderContext)
public void setClipper(iClipper2D clip)
iRenderView
setClipper
in interface iRenderView
clip
- iRenderView.setClipper(crystalspace.jbind.interfaces.igeom.clip2d.iClipper2D)
public void setClipPlane(csPlane3 pl)
iRenderView
setClipPlane
in interface iRenderView
pl
- iRenderView.setClipPlane(crystalspace.jbind.impl.csgeom.plane3.csPlane3)
public void setFirstFogInfo(csFogInfo fi)
iRenderView
setFirstFogInfo
in interface iRenderView
fi
- iRenderView.setFirstFogInfo(crystalspace.jbind.impl.engine.rview.csFogInfo)
public void setFrustum(float lx, float rx, float ty, float by)
iRenderView
setFrustum
in interface iRenderView
lx
- rx
- ty
- by
- iRenderView.setFrustum(float, float, float, float)
public void setLastPortal(iPortal portal)
iRenderView
setLastPortal
in interface iRenderView
portal
- iRenderView.setLastPortal(crystalspace.jbind.interfaces.iengine.portal.iPortal)
public void setPreviousSector(iSector s)
iRenderView
setPreviousSector
in interface iRenderView
s
- iRenderView.setPreviousSector(crystalspace.jbind.interfaces.iengine.sector.iSector)
public void setRenderRecursionLevel(int rec)
iRenderView
setRenderRecursionLevel
in interface iRenderView
rec
- iRenderView.setRenderRecursionLevel(int)
public void setThisSector(iSector s)
iRenderView
setThisSector
in interface iRenderView
s
- iRenderView.setThisSector(crystalspace.jbind.interfaces.iengine.sector.iSector)
public boolean testBSphere(csReversibleTransform o2c, csSphere sphere)
iRenderView
testBSphere
in interface iRenderView
o2c
- sphere
-
iRenderView.testBSphere(crystalspace.jbind.impl.csgeom.transfrm.csReversibleTransform, crystalspace.jbind.impl.csgeom.sphere.csSphere)
public void useClipFrustum(boolean u)
iRenderView
useClipFrustum
in interface iRenderView
u
- iRenderView.useClipFrustum(boolean)
public void useClipPlane(boolean u)
iRenderView
useClipPlane
in interface iRenderView
u
- iRenderView.useClipPlane(boolean)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |