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

Public Member Functions

 __init__ (OdeSpace space, DReal length)
 
 __init__ (DReal length)
 
 get (LVecBase3f start, LVecBase3f dir)
 
int getBackfaceCull ()
 
int getClosestHit ()
 
LVecBase3f getDirection ()
 
int getFirstContact ()
 
DReal getLength ()
 
LVecBase3f getStart ()
 
 set (const LVecBase3f start, const LVecBase3f dir)
 
 set (DReal px, DReal py, DReal pz, DReal dx, DReal dy, DReal dz)
 
 setClosestHit (int closest_hit)
 
 setLength (DReal length)
 
 setParams (int first_contact, int backface_cull)
 
- Public Member Functions inherited from OdeGeom
 clearOffset ()
 
int compareTo (const OdeGeom other)
 
object convert ()
 
OdeBoxGeom convertToBox ()
 
OdeCappedCylinderGeom convertToCappedCylinder ()
 
OdeCylinderGeom convertToCylinder ()
 OdeConvexGeom convert_to_convex() const;. More...
 
OdeHashSpace convertToHashSpace ()
 
OdePlaneGeom convertToPlane ()
 OdeHeightfieldGeom convert_to_heightfield() const;. More...
 
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. It is an error to call a method on an empty geom. Note that an empty OdeGeom also evaluates to False. More...
 
int isEnabled ()
 
int isOffset ()
 
int isSpace ()
 
 setBody (OdeBody body)
 INLINE void set_data(void* data);. More...
 
 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 ()
 Derived classes should override this function to return get_class_type(). More...
 
int getTypeIndex ()
 Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. This is equivalent to get_type().get_index(). 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
}
 

Member Function Documentation

◆ __init__() [1/2]

__init__ ( OdeSpace  space,
DReal  length 
)

◆ __init__() [2/2]

__init__ ( DReal  length)

◆ get()

get ( LVecBase3f  start,
LVecBase3f  dir 
)

◆ getBackfaceCull()

int getBackfaceCull ( )

◆ getClassType()

static TypeHandle getClassType ( )
static

◆ getClosestHit()

int getClosestHit ( )

◆ getDirection()

LVecBase3f getDirection ( )

◆ getFirstContact()

int getFirstContact ( )

◆ getLength()

DReal getLength ( )

◆ getStart()

LVecBase3f getStart ( )

◆ set() [1/2]

set ( const LVecBase3f  start,
const LVecBase3f  dir 
)

◆ set() [2/2]

set ( DReal  px,
DReal  py,
DReal  pz,
DReal  dx,
DReal  dy,
DReal  dz 
)

◆ setClosestHit()

setClosestHit ( int  closest_hit)

◆ setLength()

setLength ( DReal  length)

◆ setParams()

setParams ( int  first_contact,
int  backface_cull 
)