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

Public Member Functions

 __init__ (OdeSpace space, DReal radius, DReal length)
 
 __init__ (DReal radius, DReal length)
 
DReal getLength ()
 
DReal getPointDepth (const LPoint3f p)
 
DReal getPointDepth (DReal x, DReal y, DReal z)
 
DReal getRadius ()
 
 setParams (DReal radius, DReal length)
 
- 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/2]

__init__ ( OdeSpace  space,
DReal  radius,
DReal  length 
)

◆ __init__() [2/2]

__init__ ( DReal  radius,
DReal  length 
)

◆ getClassType()

static TypeHandle getClassType ( )
static

◆ getLength()

DReal getLength ( )

◆ getPointDepth() [1/2]

DReal getPointDepth ( const LPoint3f  p)

◆ getPointDepth() [2/2]

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

◆ getRadius()

DReal getRadius ( )

◆ setParams()

setParams ( DReal  radius,
DReal  length 
)