|
|||||||||||
| 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 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 boolean addedFogInfo()
iRenderView
addedFogInfo in interface iRenderViewiRenderView.addedFogInfo()
public void attachRenderContextData(iPointer key,
iBase data)
iRenderView
attachRenderContextData in interface iRenderViewkey - data - iRenderView.attachRenderContextData(crystalspace.jbind.interfaces.iPointer, crystalspace.jbind.interfaces.iutil.scf.iBase)
public void calculateFogMesh(csTransform tr_o2c,
G3DPolygonMesh mesh)
calculateFogMesh in interface iRenderViewtr_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 iRenderViewtr_o2c - mesh - iRenderView.calculateFogMesh(crystalspace.jbind.impl.csgeom.transfrm.csTransform, crystalspace.jbind.impl.video.graph3d.G3DTriangleMesh)public void calculateFogPolygon(G3DPolygonDPFX poly)
calculateFogPolygon in interface iRenderViewpoly - iRenderView.calculateFogPolygon(crystalspace.jbind.impl.video.graph3d.G3DPolygonDPFX)public void calculateFogPolygon(G3DPolygonDP poly)
calculateFogPolygon in interface iRenderViewpoly - 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 iRenderViewsbox - 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 iRenderViewo2c - 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 iRenderViewiRenderView.createNewCamera()public void createRenderContext()
iRenderView
createRenderContext in interface iRenderViewiRenderView.createRenderContext()public void deleteRenderContextData(iPointer key)
iRenderView
deleteRenderContextData in interface iRenderViewkey - iRenderView.deleteRenderContextData(crystalspace.jbind.interfaces.iPointer)public iBase findRenderContextData(iPointer key)
iRenderView
findRenderContextData in interface iRenderViewkey -
iRenderView.findRenderContextData(crystalspace.jbind.interfaces.iPointer)public iCamera getCamera()
iRenderView
getCamera in interface iRenderViewiRenderView.getCamera()public iClipper2D getClipper()
iRenderView
getClipper in interface iRenderViewiRenderView.getClipper()public csPlane3 getClipPlane()
iRenderView
getClipPlane in interface iRenderViewiRenderView.getClipPlane()public boolean getClipPlane(csPlane3 pl)
iRenderView
getClipPlane in interface iRenderViewpl -
iRenderView.getClipPlane(crystalspace.jbind.impl.csgeom.plane3.csPlane3)public iEngine getEngine()
iRenderView
getEngine in interface iRenderViewiRenderView.getEngine()public csFogInfo getFirstFogInfo()
iRenderView
getFirstFogInfo in interface iRenderViewiRenderView.getFirstFogInfo()
public void getFrustum(float lx,
float rx,
float ty,
float by)
iRenderView
getFrustum in interface iRenderViewlx - rx - ty - by - iRenderView.getFrustum(float, float, float, float)public iGraphics2D getGraphics2D()
iRenderView
getGraphics2D in interface iRenderViewiRenderView.getGraphics2D()public iGraphics3D getGraphics3D()
iRenderView
getGraphics3D in interface iRenderViewiRenderView.getGraphics3D()public iPortal getLastPortal()
iRenderView
getLastPortal in interface iRenderViewiRenderView.getLastPortal()public iCamera getOriginalCamera()
iRenderView
getOriginalCamera in interface iRenderViewiRenderView.getOriginalCamera()public iSector getPreviousSector()
iRenderView
getPreviousSector in interface iRenderViewiRenderView.getPreviousSector()public csRenderContext getRenderContext()
iRenderView
getRenderContext in interface iRenderViewiRenderView.getRenderContext()public int getRenderRecursionLevel()
iRenderView
getRenderRecursionLevel in interface iRenderViewiRenderView.getRenderRecursionLevel()public iSector getThisSector()
iRenderView
getThisSector in interface iRenderViewiRenderView.getThisSector()public csRenderContextFrustum getTopFrustum()
iRenderView
getTopFrustum in interface iRenderViewiRenderView.getTopFrustum()public boolean isClipperRequired()
iRenderView
isClipperRequired in interface iRenderViewiRenderView.isClipperRequired()public void resetFogInfo()
iRenderView
resetFogInfo in interface iRenderViewiRenderView.resetFogInfo()public void restoreRenderContext(csRenderContext original)
iRenderView
restoreRenderContext in interface iRenderVieworiginal - iRenderView.restoreRenderContext(crystalspace.jbind.impl.engine.rview.csRenderContext)public void setClipper(iClipper2D clip)
iRenderView
setClipper in interface iRenderViewclip - iRenderView.setClipper(crystalspace.jbind.interfaces.igeom.clip2d.iClipper2D)public void setClipPlane(csPlane3 pl)
iRenderView
setClipPlane in interface iRenderViewpl - iRenderView.setClipPlane(crystalspace.jbind.impl.csgeom.plane3.csPlane3)public void setFirstFogInfo(csFogInfo fi)
iRenderView
setFirstFogInfo in interface iRenderViewfi - iRenderView.setFirstFogInfo(crystalspace.jbind.impl.engine.rview.csFogInfo)
public void setFrustum(float lx,
float rx,
float ty,
float by)
iRenderView
setFrustum in interface iRenderViewlx - rx - ty - by - iRenderView.setFrustum(float, float, float, float)public void setLastPortal(iPortal portal)
iRenderView
setLastPortal in interface iRenderViewportal - iRenderView.setLastPortal(crystalspace.jbind.interfaces.iengine.portal.iPortal)public void setPreviousSector(iSector s)
iRenderView
setPreviousSector in interface iRenderViews - iRenderView.setPreviousSector(crystalspace.jbind.interfaces.iengine.sector.iSector)public void setRenderRecursionLevel(int rec)
iRenderView
setRenderRecursionLevel in interface iRenderViewrec - iRenderView.setRenderRecursionLevel(int)public void setThisSector(iSector s)
iRenderView
setThisSector in interface iRenderViews - iRenderView.setThisSector(crystalspace.jbind.interfaces.iengine.sector.iSector)
public boolean testBSphere(csReversibleTransform o2c,
csSphere sphere)
iRenderView
testBSphere in interface iRenderViewo2c - sphere -
iRenderView.testBSphere(crystalspace.jbind.impl.csgeom.transfrm.csReversibleTransform, crystalspace.jbind.impl.csgeom.sphere.csSphere)public void useClipFrustum(boolean u)
iRenderView
useClipFrustum in interface iRenderViewu - iRenderView.useClipFrustum(boolean)public void useClipPlane(boolean u)
iRenderView
useClipPlane in interface iRenderViewu - iRenderView.useClipPlane(boolean)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||