Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

CollisionHandlerPhysical::ColliderDef Class Reference

#include <collisionHandlerPhysical.h>

List of all members.

Public Member Functions

void set_drive_interface (DriveInterface *drive_interface)
void set_node (PandaNode *node)
bool is_valid () const
 Returns true if this ColliderDef is still valid; e.g.

void get_mat (LMatrix4f &mat) const
 Fills mat with the matrix representing the current position and orientation of this collider.

void set_mat (const LMatrix4f &mat)
 Moves this collider to the position and orientation indicated by the given transform.


Public Attributes

PointerTo< DriveInterface_drive_interface
PointerTo< PandaNode_node


Member Function Documentation

void CollisionHandlerPhysical::ColliderDef::get_mat LMatrix4f &  mat  )  const
 

Fills mat with the matrix representing the current position and orientation of this collider.

Definition at line 41 of file collisionHandlerPhysical.cxx.

bool CollisionHandlerPhysical::ColliderDef::is_valid  )  const [inline]
 

Returns true if this ColliderDef is still valid; e.g.

it refers to a valid node or drive interface.

Definition at line 60 of file collisionHandlerPhysical.I.

void CollisionHandlerPhysical::ColliderDef::set_drive_interface DriveInterface drive_interface  )  [inline]
 

Definition at line 31 of file collisionHandlerPhysical.I.

References _drive_interface, _node, PointerTo< DriveInterface >::clear(), and INLINE.

void CollisionHandlerPhysical::ColliderDef::set_mat const LMatrix4f &  mat  ) 
 

Moves this collider to the position and orientation indicated by the given transform.

Definition at line 65 of file collisionHandlerPhysical.cxx.

void CollisionHandlerPhysical::ColliderDef::set_node PandaNode node  )  [inline]
 

Definition at line 44 of file collisionHandlerPhysical.I.

References _drive_interface, _node, INLINE, and NULL.


Member Data Documentation

PointerTo< DriveInterface > CollisionHandlerPhysical::ColliderDef::_drive_interface
 

Definition at line 80 of file collisionHandlerPhysical.h.

Referenced by set_drive_interface(), and set_node().

PointerTo< PandaNode > CollisionHandlerPhysical::ColliderDef::_node
 

Definition at line 81 of file collisionHandlerPhysical.h.

Referenced by set_drive_interface(), and set_node().


The documentation for this class was generated from the following files:
Generated on Fri May 2 00:48:29 2003 for Panda by doxygen1.3