org.ode4j.ode
Interface DHeightfield

All Superinterfaces:
DGeom

public interface DHeightfield
extends DGeom


Nested Class Summary
static interface DHeightfield.DHeightfieldGetHeight
          Callback prototype.
 
Nested classes/interfaces inherited from interface org.ode4j.ode.DGeom
DGeom.COLLIDER_MERGE_CONTACTS_VALUE, DGeom.CONTROL_CLASS, DGeom.CONTROL_CODE, DGeom.DataValue, DGeom.DNearCallback
 
Field Summary
 
Fields inherited from interface org.ode4j.ode.DGeom
dBoxClass, dCapsuleClass, dConvexClass, dCylinderClass, dFirstSpaceClass, dFirstUserClass, dGeomNumClasses, dGeomTransformClass, dHashSpaceClass, dHeightfieldClass, dLastSpaceClass, dLastUserClass, dMaxUserClasses, dPlaneClass, dQuadTreeSpaceClass, dRayClass, dSimpleSpaceClass, dSphereClass, dSweepAndPruneSpaceClass, dTriMeshClass
 
Method Summary
 DHeightfieldData getHeightfieldData()
          Gets the dHeightfieldData bound to a heightfield geom.
 void setHeightfieldData(DHeightfieldData d)
          Assigns a dHeightfieldData to a heightfield geom.
 
Methods inherited from interface org.ode4j.ode.DGeom
clearOffset, collide2, copyOffsetPosition, copyOffsetRotation, copyPosition, copyRotation, destroy, DESTRUCTOR, disable, enable, getAABB, getBody, getCategoryBits, getClassID, getCollideBits, getData, getOffsetPosition, getOffsetQuaternion, getOffsetRotation, getPosition, getPosRelPoint, getQuaternion, getRelPointPos, getRotation, getSpace, isEnabled, isOffset, lowLevelControl, setBody, setCategoryBits, setCollideBits, setData, setOffsetPosition, setOffsetQuaternion, setOffsetRotation, setOffsetWorldPosition, setOffsetWorldQuaternion, setOffsetWorldRotation, setPosition, setPosition, setQuaternion, setRotation, vectorFromWorld, vectorToWorld
 

Method Detail

setHeightfieldData

void setHeightfieldData(DHeightfieldData d)
Assigns a dHeightfieldData to a heightfield geom.

Associates the given dHeightfieldData with a heightfield geom. This is done without affecting the GEOM_PLACEABLE flag.

Parameters:
d - A dHeightfieldData created by dGeomHeightfieldDataCreate

getHeightfieldData

DHeightfieldData getHeightfieldData()
Gets the dHeightfieldData bound to a heightfield geom.

Returns the dHeightfieldData associated with a heightfield geom.

Returns:
The dHeightfieldData which may be NULL if none was assigned.