Panda3D
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes

OdePlaneGeom Class Reference

Inheritance diagram for OdePlaneGeom:
OdeGeom

List of all members.

Public Types

enum  GeomClass {
  GCSphere = 0, GCBox = 1, GCCappedCylinder = 2, GCCylinder = 3,
  GCPlane = 4, GCRay = 5, GCTriMesh = 8, GCSimpleSpace = 10,
  GCHashSpace = 11, GCQuadTreeSpace = 12
}

Public Member Functions

 OdePlaneGeom (VBase4 const params)
 OdePlaneGeom (OdeSpace space, VBase4 const params)
 OdePlaneGeom (float a, float b, float c, float d)
 OdePlaneGeom (OdeSpace space, float a, float b, float c, float d)
 clearOffset ()
int compareTo (OdeGeom const other)
OdeBoxGeom convertToBox ()
OdeCappedCylinderGeom convertToCappedCylinder ()
OdeCylinderGeom convertToCylinder ()
OdeHashSpace convertToHashSpace ()
OdePlaneGeom convertToPlane ()
OdeQuadTreeSpace convertToQuadTreeSpace ()
OdeRayGeom convertToRay ()
OdeSimpleSpace convertToSimpleSpace ()
OdeSphereGeom convertToSphere ()
OdeTriMeshGeom convertToTriMesh ()
 destroy ()
 disable ()
 enable ()
 getAABB (VBase3 min, VBase3 max)
OdeBody getBody ()
BitMaskunsigned getCategoryBits ()
int getClass ()
BitMaskunsigned getCollideBits ()
dxGeom getId ()
 Returns the underlying dGeomID.
Point3 getOffsetPosition ()
Quat getOffsetQuaternion ()
Mat3 getOffsetRotation ()
VBase4 getParams ()
float getPointDepth (Point3 const p)
float getPointDepth (float x, float y, float z)
Point3 getPosition ()
Quat getQuaternion ()
Mat3 getRotation ()
OdeSpace getSpace ()
bool hasBody ()
bool isEmpty ()
 Returns true if the ID is 0, meaning the OdeGeom does not point to a valid geom.
int isEnabled ()
int isOffset ()
int isSpace ()
 setBody (OdeBody body)
 setCategoryBits (BitMaskunsigned int, 32 const bits)
 setCollideBits (BitMaskunsigned int, 32 const bits)
 setOffsetPosition (VBase3 const pos)
 setOffsetPosition (float x, float y, float z)
 setOffsetQuaternion (Quat const q)
 setOffsetRotation (Mat3 const r)
 setOffsetWorldPosition (VBase3 const pos)
 setOffsetWorldPosition (float x, float y, float z)
 setOffsetWorldQuaternion (Quat const q)
 setOffsetWorldRotation (Mat3 const r)
 setParams (VBase4 const params)
 setParams (float a, float b, float c, float d)
 setPosition (VBase3 const pos)
 setPosition (float x, float y, float z)
 setQuaternion (Quat const q)
 setRotation (Mat3 const r)
 write (ostream out, unsigned int indent)
 write ()
 write (ostream out)

Static Public Member Functions

static TypeHandle getClassType ()

Public Attributes

BitMaskunsigned int

Member Enumeration Documentation

enum GeomClass [inherited]
Enumerator:
GCSphere 
GCBox 
GCCappedCylinder 
GCCylinder 
GCPlane 
GCRay 
GCTriMesh 
GCSimpleSpace 
GCHashSpace 
GCQuadTreeSpace 

Constructor & Destructor Documentation

OdePlaneGeom ( VBase4 const  params)
OdePlaneGeom ( OdeSpace  space,
VBase4 const  params 
)
OdePlaneGeom ( OdeSpace  space,
float  a,
float  b,
float  c,
float  d 
)
OdePlaneGeom ( float  a,
float  b,
float  c,
float  d 
)

Member Function Documentation

clearOffset ( ) [inherited]
int compareTo ( OdeGeom const  other) [inherited]
OdeBoxGeom convertToBox ( ) [inherited]
OdeCappedCylinderGeom convertToCappedCylinder ( ) [inherited]
OdeCylinderGeom convertToCylinder ( ) [inherited]
OdeHashSpace convertToHashSpace ( ) [inherited]
OdePlaneGeom convertToPlane ( ) [inherited]
OdeQuadTreeSpace convertToQuadTreeSpace ( ) [inherited]
OdeRayGeom convertToRay ( ) [inherited]
OdeSimpleSpace convertToSimpleSpace ( ) [inherited]
OdeSphereGeom convertToSphere ( ) [inherited]
OdeTriMeshGeom convertToTriMesh ( ) [inherited]
destroy ( ) [inherited]

Reimplemented in OdeTriMeshGeom.

disable ( ) [inherited]
enable ( ) [inherited]
getAABB ( VBase3  min,
VBase3  max 
) [inherited]
OdeBody getBody ( ) [inherited]
BitMaskunsigned getCategoryBits ( ) [inherited]
int getClass ( ) [inherited]
static TypeHandle getClassType ( ) [static]

Reimplemented from OdeGeom.

BitMaskunsigned getCollideBits ( ) [inherited]
dxGeom getId ( ) [inherited]

Returns the underlying dGeomID.

Point3 getOffsetPosition ( ) [inherited]
Quat getOffsetQuaternion ( ) [inherited]
Mat3 getOffsetRotation ( ) [inherited]
VBase4 getParams ( )
float getPointDepth ( Point3 const  p)
float getPointDepth ( float  x,
float  y,
float  z 
)
Point3 getPosition ( ) [inherited]
Quat getQuaternion ( ) [inherited]
Mat3 getRotation ( ) [inherited]
OdeSpace getSpace ( ) [inherited]
bool hasBody ( ) [inherited]
bool isEmpty ( ) [inherited]

Returns true if the ID is 0, meaning the OdeGeom does not point to a valid geom.

It is an error to call a method on an empty geom. Note that an empty OdeGeom also evaluates to False.

int isEnabled ( ) [inherited]
int isOffset ( ) [inherited]
int isSpace ( ) [inherited]
setBody ( OdeBody  body) [inherited]
setCategoryBits ( BitMaskunsigned  int,
32 const  bits 
) [inherited]
setCollideBits ( BitMaskunsigned  int,
32 const  bits 
) [inherited]
setOffsetPosition ( float  x,
float  y,
float  z 
) [inherited]
setOffsetPosition ( VBase3 const  pos) [inherited]
setOffsetQuaternion ( Quat const  q) [inherited]
setOffsetRotation ( Mat3 const  r) [inherited]
setOffsetWorldPosition ( VBase3 const  pos) [inherited]
setOffsetWorldPosition ( float  x,
float  y,
float  z 
) [inherited]
setOffsetWorldQuaternion ( Quat const  q) [inherited]
setOffsetWorldRotation ( Mat3 const  r) [inherited]
setParams ( float  a,
float  b,
float  c,
float  d 
)
setParams ( VBase4 const  params)
setPosition ( float  x,
float  y,
float  z 
) [inherited]
setPosition ( VBase3 const  pos) [inherited]
setQuaternion ( Quat const  q) [inherited]
setRotation ( Mat3 const  r) [inherited]
write ( ostream  out) [inherited]
write ( ) [inherited]
write ( ostream  out,
unsigned int  indent 
) [inherited]

Member Data Documentation

BitMaskunsigned int [inherited]
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties