Panda3D
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
OdeSurfaceParameters Class Reference
Inheritance diagram for OdeSurfaceParameters:
TypedObject MemoryBase

Public Types

enum  ModeFlags {
  MF_contact_mu2 = 0x001, MF_contactFDir1 = 0x002, MF_contactBounce = 0x004, MF_contactSoftERP = 0x008,
  MF_contactSoftCFM = 0x010, MF_contactMotion1 = 0x020, MF_contactMotion2 = 0x040, MF_contactSlip1 = 0x080,
  MF_contactSlip2 = 0x100, MF_contactApprox0 = 0x0000, MF_contactApprox1_1 = 0x1000, MF_contactApprox1_2 = 0x2000,
  MF_contactApprox1 = 0x3000
}
 

Public Member Functions

 OdeSurfaceParameters (int mode=0, dReal mu=0)
 
virtual TypeHandle force_init_type ()
 
dReal get_bounce () const
 
dReal get_bounce_vel () const
 
int get_mode () const
 
dReal get_motion1 () const
 
dReal get_motion2 () const
 
dReal get_mu () const
 
dReal get_mu2 () const
 
dReal get_slip1 () const
 
dReal get_slip2 () const
 
dReal get_soft_cfm () const
 
dReal get_soft_erp () const
 
const dSurfaceParameters * get_surface_parameters_ptr () const
 
virtual TypeHandle get_type () const
 
void set_bounce (dReal bounce)
 
void set_bounce_vel (dReal bounce_vel)
 
void set_mode (int mode)
 
void set_motion1 (dReal motion)
 
void set_motion2 (dReal motion)
 
void set_mu (dReal mu)
 
void set_mu2 (dReal mu2)
 
void set_slip1 (dReal slip)
 
void set_slip2 (dReal slip)
 
void set_soft_cfm (dReal soft_cfm)
 
void set_soft_erp (dReal soft_erp)
 
- Public Member Functions inherited from TypedObject
 TypedObject (const TypedObject &copy)=default
 
TypedObjectas_typed_object ()
 Returns the object, upcast (if necessary) to a TypedObject pointer. More...
 
const TypedObjectas_typed_object () const
 Returns the object, upcast (if necessary) to a TypedObject pointer. More...
 
int get_best_parent_from_Set (const std::set< int > &) const
 
int get_type_index () const
 Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More...
 
bool is_exact_type (TypeHandle handle) const
 Returns true if the current object is the indicated type exactly. More...
 
bool is_of_type (TypeHandle handle) const
 Returns true if the current object is or derives from the indicated type. More...
 
TypedObjectoperator= (const TypedObject &copy)=default
 

Static Public Member Functions

static TypeHandle get_class_type ()
 
static void init_type ()
 
- Static Public Member Functions inherited from TypedObject
static TypeHandle get_class_type ()
 
static void init_type ()
 This function is declared non-inline to work around a compiler bug in g++ 2.96. More...
 

Friends

class OdeContact
 

Additional Inherited Members

- Public Attributes inherited from TypedObject
 get_type
 

Detailed Description

Definition at line 28 of file odeSurfaceParameters.h.


The documentation for this class was generated from the following files: