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

OdeRayGeom Class Reference

Inheritance diagram for OdeRayGeom:
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

 OdeRayGeom (OdeSpace space, float length)
 OdeRayGeom (float length)
 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 ()
 get (VBase3 start, VBase3 dir)
 getAABB (VBase3 min, VBase3 max)
int getBackfaceCull ()
OdeBody getBody ()
BitMaskunsigned getCategoryBits ()
int getClass ()
int getClosestHit ()
BitMaskunsigned getCollideBits ()
VBase3 getDirection ()
int getFirstContact ()
dxGeom getId ()
 Returns the underlying dGeomID.
float getLength ()
Point3 getOffsetPosition ()
Quat getOffsetQuaternion ()
Mat3 getOffsetRotation ()
Point3 getPosition ()
Quat getQuaternion ()
Mat3 getRotation ()
OdeSpace getSpace ()
VBase3 getStart ()
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 ()
 set (VBase3 const start, VBase3 const dir)
 set (float px, float py, float pz, float dx, float dy, float dz)
 setBody (OdeBody body)
 setCategoryBits (BitMaskunsigned int, 32 const bits)
 setClosestHit (int closest_hit)
 setCollideBits (BitMaskunsigned int, 32 const bits)
 setLength (float length)
 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 (int first_contact, int backface_cull)
 setPosition (VBase3 const pos)
 setPosition (float x, float y, float z)
 setQuaternion (Quat const q)
 setRotation (Mat3 const r)
 write (ostream out)
 write ()
 write (ostream out, unsigned int indent)

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

OdeRayGeom ( OdeSpace  space,
float  length 
)
OdeRayGeom ( float  length)

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]
get ( VBase3  start,
VBase3  dir 
)
getAABB ( VBase3  min,
VBase3  max 
) [inherited]
int getBackfaceCull ( )
OdeBody getBody ( ) [inherited]
BitMaskunsigned getCategoryBits ( ) [inherited]
int getClass ( ) [inherited]
static TypeHandle getClassType ( ) [static]

Reimplemented from OdeGeom.

int getClosestHit ( )
BitMaskunsigned getCollideBits ( ) [inherited]
VBase3 getDirection ( )
int getFirstContact ( )
dxGeom getId ( ) [inherited]

Returns the underlying dGeomID.

float getLength ( )
Point3 getOffsetPosition ( ) [inherited]
Quat getOffsetQuaternion ( ) [inherited]
Mat3 getOffsetRotation ( ) [inherited]
Point3 getPosition ( ) [inherited]
Quat getQuaternion ( ) [inherited]
Mat3 getRotation ( ) [inherited]
OdeSpace getSpace ( ) [inherited]
VBase3 getStart ( )
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]
set ( VBase3 const  start,
VBase3 const  dir 
)
set ( float  px,
float  py,
float  pz,
float  dx,
float  dy,
float  dz 
)
setBody ( OdeBody  body) [inherited]
setCategoryBits ( BitMaskunsigned  int,
32 const  bits 
) [inherited]
setClosestHit ( int  closest_hit)
setCollideBits ( BitMaskunsigned  int,
32 const  bits 
) [inherited]
setLength ( float  length)
setOffsetPosition ( VBase3 const  pos) [inherited]
setOffsetPosition ( float  x,
float  y,
float  z 
) [inherited]
setOffsetQuaternion ( Quat const  q) [inherited]
setOffsetRotation ( Mat3 const  r) [inherited]
setOffsetWorldPosition ( float  x,
float  y,
float  z 
) [inherited]
setOffsetWorldPosition ( VBase3 const  pos) [inherited]
setOffsetWorldQuaternion ( Quat const  q) [inherited]
setOffsetWorldRotation ( Mat3 const  r) [inherited]
setParams ( int  first_contact,
int  backface_cull 
)
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,
unsigned int  indent 
) [inherited]
write ( ) [inherited]
write ( ostream  out) [inherited]

Member Data Documentation

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