|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface represents a visibility culling system. To use it you first register visibility objects (which are all the objects for which you want to test visibility) to this culler. A visibility culler can usually also support shadow calculation.
| Method Summary | |
void |
castShadows(iFrustumView fview)
Start casting shadows from a given point in space. |
iVisibilityObjectIterator |
intersectSegment(csVector3 start,
csVector3 end)
Intersect a segment with all objects in the visibility culler and return them all in an iterator. |
iVisibilityObjectIterator |
intersectSegment(csVector3 start,
csVector3 end,
boolean accurate)
Intersect a segment with all objects in the visibility culler and return them all in an iterator. |
boolean |
intersectSegment(csVector3 start,
csVector3 end,
csVector3 isect)
Intersect a beam using this culler and return the intersection point, the mesh and optional polygon index. |
boolean |
intersectSegment(csVector3 start,
csVector3 end,
csVector3 isect,
float pr)
Intersect a beam using this culler and return the intersection point, the mesh and optional polygon index. |
boolean |
intersectSegment(csVector3 start,
csVector3 end,
csVector3 isect,
float pr,
iMeshWrapper p_mesh)
Intersect a beam using this culler and return the intersection point, the mesh and optional polygon index. |
boolean |
intersectSegment(csVector3 start,
csVector3 end,
csVector3 isect,
float pr,
iMeshWrapper p_mesh,
int poly_idx)
Intersect a beam using this culler and return the intersection point, the mesh and optional polygon index. |
boolean |
intersectSegment(csVector3 start,
csVector3 end,
csVector3 isect,
float pr,
iMeshWrapper p_mesh,
int poly_idx,
boolean accurate)
Intersect a beam using this culler and return the intersection point, the mesh and optional polygon index. |
void |
registerVisObject(iVisibilityObject visobj)
Register a visibility object with this culler. |
void |
setup(java.lang.String name)
Setup all data for this visibility culler. |
void |
unregisterVisObject(iVisibilityObject visobj)
Unregister a visibility object with this culler. |
iVisibilityObjectIterator |
visTest(csBox3 box)
Mark all objects as visible that intersect with the given bounding box. |
iVisibilityObjectIterator |
visTest(csPlane3 plane,
int num_planes)
Mark all objects as visible that are in the volume formed by the set of planes. |
void |
visTest(csPlane3 plane,
int num_planes,
iVisibilityCullerListener viscallback)
Notify the visibility callback of all objects that are in the volume formed by the set of planes. |
iVisibilityObjectIterator |
visTest(csSphere sphere)
Mark all objects as visible that intersect with the given bounding sphere. |
void |
visTest(csSphere sphere,
iVisibilityCullerListener viscallback)
Notify the visibility callback of all objects that intersect with the given bounding sphere. |
boolean |
visTest(iRenderView irview,
iVisibilityCullerListener viscallback)
Do the visibility test from a given viewpoint. |
| Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getName, getRefCount, getVersion, incRef, queryInterface, queryInterfaceSafe |
| Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
| Method Detail |
public void castShadows(iFrustumView fview)
fview -
public boolean intersectSegment(csVector3 start,
csVector3 end,
csVector3 isect)
start - end - isect -
public boolean intersectSegment(csVector3 start,
csVector3 end,
csVector3 isect,
float pr)
start - end - isect - pr -
public boolean intersectSegment(csVector3 start,
csVector3 end,
csVector3 isect,
float pr,
iMeshWrapper p_mesh)
start - end - isect - pr - p_mesh -
public boolean intersectSegment(csVector3 start,
csVector3 end,
csVector3 isect,
float pr,
iMeshWrapper p_mesh,
int poly_idx)
start - end - isect - pr - p_mesh - poly_idx -
public boolean intersectSegment(csVector3 start,
csVector3 end,
csVector3 isect,
float pr,
iMeshWrapper p_mesh,
int poly_idx,
boolean accurate)
start - end - isect - pr - p_mesh - poly_idx - accurate -
public iVisibilityObjectIterator intersectSegment(csVector3 start,
csVector3 end)
start - end -
public iVisibilityObjectIterator intersectSegment(csVector3 start,
csVector3 end,
boolean accurate)
start - end - accurate -
public void registerVisObject(iVisibilityObject visobj)
visobj - public void setup(java.lang.String name)
name - public void unregisterVisObject(iVisibilityObject visobj)
visobj -
public void visTest(csPlane3 plane,
int num_planes,
iVisibilityCullerListener viscallback)
plane - num_planes - viscallback -
public iVisibilityObjectIterator visTest(csPlane3 plane,
int num_planes)
plane - num_planes -
public void visTest(csSphere sphere,
iVisibilityCullerListener viscallback)
sphere - viscallback - public iVisibilityObjectIterator visTest(csSphere sphere)
sphere -
public iVisibilityObjectIterator visTest(csBox3 box)
box -
public boolean visTest(iRenderView irview,
iVisibilityCullerListener viscallback)
irview - viscallback -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||