|
|||||||||||
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.csgeom.objmodel.csObjectModel
Field Summary |
Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
Constructor Summary | |
csObjectModel(iPointer nPointer)
|
Method Summary | |
void |
addListener(iObjectModelListener listener)
Add a listener to this object model. |
iPolygonMesh |
createLowerDetailPolygonMesh(float detail)
Create a polygon mesh representing a lower detail version of the object but without the restrictions of GetPolygonMeshViscull();. |
static java.lang.Class |
getInterfaceClass()
|
static java.lang.String |
getInterfaceName()
|
static int |
getInterfaceVersion()
|
java.lang.String |
getName()
Return the name of the interface |
void |
getObjectBoundingBox(csBox3 bbox)
Get the bounding box in object space for this mesh object. |
void |
getObjectBoundingBox(csBox3 bbox,
int type)
Get the bounding box in object space for this mesh object. |
iPolygonMesh |
getPolygonMeshBase()
Get a polygon mesh representing the basic geometry of the object. |
iPolygonMesh |
getPolygonMeshColldet()
Get a polygon mesh representing the geometry of the object. |
iPolygonMesh |
getPolygonMeshShadows()
Get a polygon mesh specifically for shadow casting (to be used by the shadow manager);. |
iPolygonMesh |
getPolygonMeshViscull()
Get a polygon mesh specifically for visibility culling (to be used as an occluder);. |
void |
getRadius(csVector3 radius,
csVector3 center)
Get the radius and center of this object in object space. |
long |
getShapeNumber()
Returns a number that will change whenever the shape of this object changes. |
int |
getVersion()
Return the version of the interface |
static void |
initSCF()
|
protected boolean |
isNativePointerValidSafe(long pointer)
|
void |
removeListener(iObjectModelListener listener)
Remove a listener from this object model. |
void |
setPolygonMeshColldet(iPolygonMesh polymesh)
Set a polygon mesh representing the geometry of the object. |
void |
setPolygonMeshShadows(iPolygonMesh polymesh)
Set a polygon mesh representing the geometry of the object. |
void |
setPolygonMeshViscull(iPolygonMesh polymesh)
Set a polygon mesh representing the geometry of the object. |
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 csObjectModel(iPointer nPointer)
nPointer
- 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 static void initSCF()
public static int getInterfaceVersion()
public static java.lang.String getInterfaceName()
public static java.lang.Class getInterfaceClass()
protected boolean isNativePointerValidSafe(long pointer)
isNativePointerValidSafe
in class csNativeObject
csNativeObject.isNativePointerValidSafe(long)
public void addListener(iObjectModelListener listener)
iObjectModel
addListener
in interface iObjectModel
listener
- crystalspace.jbind.interfaces.igeom.objmodel.iObjectModel#AddListener(crystalspace.jbind.interfaces.igeom.objmodel.iObjectModelListener)
public iPolygonMesh createLowerDetailPolygonMesh(float detail)
iObjectModel
createLowerDetailPolygonMesh
in interface iObjectModel
detail
-
iObjectModel.createLowerDetailPolygonMesh(float)
public void getObjectBoundingBox(csBox3 bbox)
iObjectModel
getObjectBoundingBox
in interface iObjectModel
bbox
- iObjectModel.getObjectBoundingBox(crystalspace.jbind.impl.csgeom.box.csBox3)
public void getObjectBoundingBox(csBox3 bbox, int type)
iObjectModel
getObjectBoundingBox
in interface iObjectModel
bbox
- type
- iObjectModel.getObjectBoundingBox(crystalspace.jbind.impl.csgeom.box.csBox3, int)
public iPolygonMesh getPolygonMeshBase()
iObjectModel
getPolygonMeshBase
in interface iObjectModel
iObjectModel.getPolygonMeshBase()
public iPolygonMesh getPolygonMeshColldet()
iObjectModel
getPolygonMeshColldet
in interface iObjectModel
iObjectModel.getPolygonMeshColldet()
public iPolygonMesh getPolygonMeshShadows()
iObjectModel
getPolygonMeshShadows
in interface iObjectModel
iObjectModel.getPolygonMeshShadows()
public iPolygonMesh getPolygonMeshViscull()
iObjectModel
getPolygonMeshViscull
in interface iObjectModel
iObjectModel.getPolygonMeshViscull()
public void getRadius(csVector3 radius, csVector3 center)
iObjectModel
getRadius
in interface iObjectModel
radius
- center
- crystalspace.jbind.interfaces.igeom.objmodel.iObjectModel#GetRadius(crystalspace.jbind.impl.csgeom.vector3.csVector3, crystalspace.jbind.impl.csgeom.vector3.csVector3)
public long getShapeNumber()
iObjectModel
getShapeNumber
in interface iObjectModel
iObjectModel.getShapeNumber()
public void removeListener(iObjectModelListener listener)
iObjectModel
removeListener
in interface iObjectModel
listener
- iObjectModel.removeListener(crystalspace.jbind.interfaces.igeom.objmodel.iObjectModelListener)
public void setPolygonMeshColldet(iPolygonMesh polymesh)
iObjectModel
setPolygonMeshColldet
in interface iObjectModel
polymesh
- iObjectModel.setPolygonMeshColldet(crystalspace.jbind.interfaces.igeom.polymesh.iPolygonMesh)
public void setPolygonMeshShadows(iPolygonMesh polymesh)
iObjectModel
setPolygonMeshShadows
in interface iObjectModel
polymesh
- iObjectModel.setPolygonMeshShadows(crystalspace.jbind.interfaces.igeom.polymesh.iPolygonMesh)
public void setPolygonMeshViscull(iPolygonMesh polymesh)
iObjectModel
setPolygonMeshViscull
in interface iObjectModel
polymesh
- iObjectModel.setPolygonMeshViscull(crystalspace.jbind.interfaces.igeom.polymesh.iPolygonMesh)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |