|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object crystalspace.jbind.impl.csNativeObject crystalspace.jbind.impl.csutil.scf.csBase crystalspace.jbind.impl.engine.viscul.csVisibilityCuller
Field Summary |
Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
Constructor Summary | |
csVisibilityCuller(iPointer nPointer)
|
Method Summary | |
void |
castShadows(iFrustumView fview)
Start casting shadows from a given point in space. |
java.lang.String |
getName()
Return the name of the interface |
int |
getVersion()
Return the version of the interface |
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. |
protected boolean |
isNativePointerValidSafe(long pointer)
|
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 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 csVisibilityCuller(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 void castShadows(iFrustumView fview)
iVisibilityCuller
castShadows
in interface iVisibilityCuller
fview
- iVisibilityCuller.castShadows(crystalspace.jbind.interfaces.iengine.fview.iFrustumView)
public boolean intersectSegment(csVector3 start, csVector3 end, csVector3 isect)
iVisibilityCuller
intersectSegment
in interface iVisibilityCuller
start
- end
- isect
-
iVisibilityCuller.intersectSegment(crystalspace.jbind.impl.csgeom.vector3.csVector3, crystalspace.jbind.impl.csgeom.vector3.csVector3, crystalspace.jbind.impl.csgeom.vector3.csVector3)
public boolean intersectSegment(csVector3 start, csVector3 end, csVector3 isect, float pr)
iVisibilityCuller
intersectSegment
in interface iVisibilityCuller
start
- end
- isect
- pr
-
iVisibilityCuller.intersectSegment(crystalspace.jbind.impl.csgeom.vector3.csVector3, crystalspace.jbind.impl.csgeom.vector3.csVector3, crystalspace.jbind.impl.csgeom.vector3.csVector3, float)
public boolean intersectSegment(csVector3 start, csVector3 end, csVector3 isect, float pr, iMeshWrapper p_mesh)
iVisibilityCuller
intersectSegment
in interface iVisibilityCuller
start
- end
- isect
- pr
- p_mesh
-
iVisibilityCuller.intersectSegment(crystalspace.jbind.impl.csgeom.vector3.csVector3, crystalspace.jbind.impl.csgeom.vector3.csVector3, crystalspace.jbind.impl.csgeom.vector3.csVector3, float, crystalspace.jbind.interfaces.iengine.mesh.iMeshWrapper)
public boolean intersectSegment(csVector3 start, csVector3 end, csVector3 isect, float pr, iMeshWrapper p_mesh, int poly_idx)
iVisibilityCuller
intersectSegment
in interface iVisibilityCuller
start
- end
- isect
- pr
- p_mesh
- poly_idx
-
iVisibilityCuller.intersectSegment(crystalspace.jbind.impl.csgeom.vector3.csVector3, crystalspace.jbind.impl.csgeom.vector3.csVector3, crystalspace.jbind.impl.csgeom.vector3.csVector3, float, crystalspace.jbind.interfaces.iengine.mesh.iMeshWrapper, int)
public boolean intersectSegment(csVector3 start, csVector3 end, csVector3 isect, float pr, iMeshWrapper p_mesh, int poly_idx, boolean accurate)
iVisibilityCuller
intersectSegment
in interface iVisibilityCuller
start
- end
- isect
- pr
- p_mesh
- poly_idx
- accurate
-
iVisibilityCuller.intersectSegment(crystalspace.jbind.impl.csgeom.vector3.csVector3, crystalspace.jbind.impl.csgeom.vector3.csVector3, crystalspace.jbind.impl.csgeom.vector3.csVector3, float, crystalspace.jbind.interfaces.iengine.mesh.iMeshWrapper, int, boolean)
public iVisibilityObjectIterator intersectSegment(csVector3 start, csVector3 end)
iVisibilityCuller
intersectSegment
in interface iVisibilityCuller
start
- end
-
iVisibilityCuller.intersectSegment(crystalspace.jbind.impl.csgeom.vector3.csVector3, crystalspace.jbind.impl.csgeom.vector3.csVector3)
public iVisibilityObjectIterator intersectSegment(csVector3 start, csVector3 end, boolean accurate)
iVisibilityCuller
intersectSegment
in interface iVisibilityCuller
start
- end
- accurate
-
iVisibilityCuller.intersectSegment(crystalspace.jbind.impl.csgeom.vector3.csVector3, crystalspace.jbind.impl.csgeom.vector3.csVector3, boolean)
public void registerVisObject(iVisibilityObject visobj)
iVisibilityCuller
registerVisObject
in interface iVisibilityCuller
visobj
- iVisibilityCuller.registerVisObject(crystalspace.jbind.interfaces.iengine.viscul.iVisibilityObject)
public void setup(java.lang.String name)
iVisibilityCuller
setup
in interface iVisibilityCuller
name
- iVisibilityCuller.setup(java.lang.String)
public void unregisterVisObject(iVisibilityObject visobj)
iVisibilityCuller
unregisterVisObject
in interface iVisibilityCuller
visobj
- iVisibilityCuller.unregisterVisObject(crystalspace.jbind.interfaces.iengine.viscul.iVisibilityObject)
public void visTest(csPlane3 plane, int num_planes, iVisibilityCullerListener viscallback)
iVisibilityCuller
visTest
in interface iVisibilityCuller
plane
- num_planes
- viscallback
- iVisibilityCuller.visTest(crystalspace.jbind.impl.csgeom.plane3.csPlane3, int, crystalspace.jbind.interfaces.iengine.viscul.iVisibilityCullerListener)
public iVisibilityObjectIterator visTest(csPlane3 plane, int num_planes)
iVisibilityCuller
visTest
in interface iVisibilityCuller
plane
- num_planes
-
iVisibilityCuller.visTest(crystalspace.jbind.impl.csgeom.plane3.csPlane3, int)
public void visTest(csSphere sphere, iVisibilityCullerListener viscallback)
iVisibilityCuller
visTest
in interface iVisibilityCuller
sphere
- viscallback
- iVisibilityCuller.visTest(crystalspace.jbind.impl.csgeom.sphere.csSphere, crystalspace.jbind.interfaces.iengine.viscul.iVisibilityCullerListener)
public iVisibilityObjectIterator visTest(csSphere sphere)
iVisibilityCuller
visTest
in interface iVisibilityCuller
sphere
-
iVisibilityCuller.visTest(crystalspace.jbind.impl.csgeom.sphere.csSphere)
public iVisibilityObjectIterator visTest(csBox3 box)
iVisibilityCuller
visTest
in interface iVisibilityCuller
box
-
iVisibilityCuller.visTest(crystalspace.jbind.impl.csgeom.box.csBox3)
public boolean visTest(iRenderView irview, iVisibilityCullerListener viscallback)
iVisibilityCuller
visTest
in interface iVisibilityCuller
irview
- viscallback
-
iVisibilityCuller.visTest(crystalspace.jbind.interfaces.iengine.rview.iRenderView, crystalspace.jbind.interfaces.iengine.viscul.iVisibilityCullerListener)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |