Panda3D
Public Member Functions | Static Public Member Functions | List of all members
OdeBoxGeom Class Reference
Inheritance diagram for OdeBoxGeom:
OdeGeom TypedObject

Public Member Functions

 __init__ (OdeSpace space, const LVecBase3f size)
 
 __init__ (OdeSpace space, DReal lx, DReal ly, DReal lz)
 
 __init__ (DReal lx, DReal ly, DReal lz)
 
LVecBase3f getLengths ()
 
DReal getPointDepth (const LPoint3f p)
 
DReal getPointDepth (DReal x, DReal y, DReal z)
 
 setLengths (const LVecBase3f size)
 
 setLengths (DReal lx, DReal ly, DReal lz)
 
- Public Member Functions inherited from OdeGeom
 clearOffset ()
 
int compareTo (const OdeGeom other)
 
object convert ()
 
OdeBoxGeom convertToBox ()
 
OdeCappedCylinderGeom convertToCappedCylinder ()
 
OdeCylinderGeom convertToCylinder ()
 
OdeHashSpace convertToHashSpace ()
 
OdePlaneGeom convertToPlane ()
 
OdeQuadTreeSpace convertToQuadTreeSpace ()
 
OdeRayGeom convertToRay ()
 
OdeSimpleSpace convertToSimpleSpace ()
 
OdeSphereGeom convertToSphere ()
 
OdeTriMeshGeom convertToTriMesh ()
 
 destroy ()
 
 disable ()
 
 enable ()
 
 getAABB (LVecBase3f min, LVecBase3f max)
 
object getAABounds ()
 
OdeBody getBody ()
 
BitMask32 getCategoryBits ()
 
int getClass ()
 
BitMask32 getCollideBits ()
 
object getConvertedSpace ()
 
DGeomID getId ()
 Returns the underlying dGeomID. More...
 
LPoint3f getOffsetPosition ()
 
LQuaternionf getOffsetQuaternion ()
 
LMatrix3f getOffsetRotation ()
 
LPoint3f getPosition ()
 
LQuaternionf getQuaternion ()
 
LMatrix3f getRotation ()
 
OdeSpace getSpace ()
 
bool hasBody ()
 
bool isEmpty ()
 Returns true if the ID is 0, meaning the OdeGeom does not point to a valid geom. More...
 
int isEnabled ()
 
int isOffset ()
 
int isSpace ()
 
 setBody (OdeBody body)
 
 setCategoryBits (const BitMask32 bits)
 
 setCollideBits (const BitMask32 bits)
 
 setOffsetPosition (const LVecBase3f pos)
 
 setOffsetPosition (DReal x, DReal y, DReal z)
 
 setOffsetQuaternion (const LQuaternionf q)
 
 setOffsetRotation (const LMatrix3f r)
 
 setOffsetWorldPosition (const LVecBase3f pos)
 
 setOffsetWorldPosition (DReal x, DReal y, DReal z)
 
 setOffsetWorldQuaternion (const LQuaternionf q)
 
 setOffsetWorldRotation (const LMatrix3f r)
 
 setPosition (const LVecBase3f pos)
 
 setPosition (DReal x, DReal y, DReal z)
 
 setQuaternion (const LQuaternionf q)
 
 setRotation (const LMatrix3f r)
 
 write (Ostream out, unsigned int indent)
 
- Public Member Functions inherited from TypedObject
TypeHandle getType ()
 
int getTypeIndex ()
 Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More...
 
bool isExactType (TypeHandle handle)
 Returns true if the current object is the indicated type exactly. More...
 
bool isOfType (TypeHandle handle)
 Returns true if the current object is or derives from the indicated type. More...
 

Static Public Member Functions

static TypeHandle getClassType ()
 
- Static Public Member Functions inherited from OdeGeom
static TypeHandle getClassType ()
 
- Static Public Member Functions inherited from TypedObject
static TypeHandle getClassType ()
 

Additional Inherited Members

- Public Types inherited from OdeGeom
enum  GeomClass {
  GC_sphere = 0, GC_box = 1, GC_capped_cylinder = 2, GC_cylinder = 3,
  GC_plane = 4, GC_ray = 5, GC_tri_mesh = 8, GC_simple_space = 10,
  GC_hash_space = 11, GC_quad_tree_space = 12
}
 
- Public Attributes inherited from TypedObject
TypeHandle type
 Returns the TypeHandle representing this object's type. More...
 

Member Function Documentation

◆ __init__() [1/3]

__init__ ( OdeSpace  space,
const LVecBase3f  size 
)

◆ __init__() [2/3]

__init__ ( OdeSpace  space,
DReal  lx,
DReal  ly,
DReal  lz 
)

◆ __init__() [3/3]

__init__ ( DReal  lx,
DReal  ly,
DReal  lz 
)

◆ getClassType()

static TypeHandle getClassType ( )
static

◆ getLengths()

LVecBase3f getLengths ( )

◆ getPointDepth() [1/2]

DReal getPointDepth ( const LPoint3f  p)

◆ getPointDepth() [2/2]

DReal getPointDepth ( DReal  x,
DReal  y,
DReal  z 
)

◆ setLengths() [1/2]

setLengths ( const LVecBase3f  size)

◆ setLengths() [2/2]

setLengths ( DReal  lx,
DReal  ly,
DReal  lz 
)