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

Public Member Functions

 __init__ (OdeWorld world)
 
 __init__ (OdeWorld world, OdeJointGroup joint_group)
 
 addTorques (DReal torque1, DReal torque2)
 
LVecBase3f getAnchor ()
 
LVecBase3f getAnchor2 ()
 
DReal getAngle1 ()
 
DReal getAngle1Rate ()
 
DReal getAngle2Rate ()
 
LVecBase3f getAxis1 ()
 
LVecBase3f getAxis2 ()
 
DReal getParamBounce (int axis)
 
DReal getParamCFM (int axis)
 
DReal getParamFMax (int axis)
 
DReal getParamFudgeFactor (int axis)
 
DReal getParamHiStop (int axis)
 
DReal getParamLoStop (int axis)
 
DReal getParamStopCFM (int axis)
 
DReal getParamStopERP (int axis)
 
DReal getParamSuspensionCFM (int axis)
 
DReal getParamSuspensionERP (int axis)
 
DReal getParamVel (int axis)
 
 setAnchor (const LVecBase3f anchor)
 
 setAnchor (DReal x, DReal y, DReal z)
 
 setAxis1 (const LVecBase3f axis)
 
 setAxis1 (DReal x, DReal y, DReal z)
 
 setAxis2 (const LVecBase3f axis)
 
 setAxis2 (DReal x, DReal y, DReal z)
 
 setParamBounce (int axis, DReal val)
 
 setParamCFM (int axis, DReal val)
 
 setParamFMax (int axis, DReal val)
 
 setParamFudgeFactor (int axis, DReal val)
 
 setParamHiStop (int axis, DReal val)
 
 setParamLoStop (int axis, DReal val)
 
 setParamStopCFM (int axis, DReal val)
 
 setParamStopERP (int axis, DReal val)
 
 setParamSuspensionCFM (int axis, DReal val)
 
 setParamSuspensionERP (int axis, DReal val)
 
 setParamVel (int axis, DReal val)
 
- Public Member Functions inherited from OdeJoint
 attach (const OdeBody body1, const OdeBody body2)
 
 attachBodies (const OdeBody body1, const OdeBody body2)
 Attaches two OdeBody objects to this joint. More...
 
 attachBody (const OdeBody body, int index)
 Attaches a single OdeBody to this joint at the specified index (0 or 1). More...
 
int compareTo (const OdeJoint other)
 
object convert ()
 
OdeAMotorJoint convertToAMotor ()
 
OdeBallJoint convertToBall ()
 
OdeContactJoint convertToContact ()
 
OdeFixedJoint convertToFixed ()
 
OdeHingeJoint convertToHinge ()
 
OdeHinge2Joint convertToHinge2 ()
 
OdeLMotorJoint convertToLMotor ()
 
OdeNullJoint convertToNull ()
 
OdePlane2dJoint convertToPlane2d ()
 
OdeSliderJoint convertToSlider ()
 
OdeUniversalJoint convertToUniversal ()
 
 destroy ()
 
 detach ()
 
OdeBody getBody (int index)
 
OdeJointFeedback getFeedback ()
 
DJointID getId ()
 Returns the underlying dJointID. More...
 
int getJointType ()
 
bool isEmpty ()
 Returns true if the ID is 0, meaning the OdeJoint does not point to a valid joint. More...
 
bool operator== (const OdeJoint other)
 
 setFeedback (OdeJointFeedback)
 
 setFeedback (bool flag)
 
 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 OdeJoint
static TypeHandle getClassType ()
 
- Static Public Member Functions inherited from TypedObject
static TypeHandle getClassType ()
 

Additional Inherited Members

- Public Types inherited from OdeJoint
enum  JointType {
  JT_none = 0, JT_ball = 1, JT_hinge = 2, JT_slider = 3,
  JT_contact = 4, JT_universal = 5, JT_hinge2 = 6, JT_fixed = 7,
  JT_null = 8, JT_a_motor = 9, JT_l_motor = 10, JT_plane2d = 11
}
 
- Public Attributes inherited from TypedObject
TypeHandle type
 Returns the TypeHandle representing this object's type. More...
 

Member Function Documentation

◆ __init__() [1/2]

__init__ ( OdeWorld  world)

◆ __init__() [2/2]

__init__ ( OdeWorld  world,
OdeJointGroup  joint_group 
)

◆ addTorques()

addTorques ( DReal  torque1,
DReal  torque2 
)

◆ getAnchor()

LVecBase3f getAnchor ( )

◆ getAnchor2()

LVecBase3f getAnchor2 ( )

◆ getAngle1()

DReal getAngle1 ( )

◆ getAngle1Rate()

DReal getAngle1Rate ( )

◆ getAngle2Rate()

DReal getAngle2Rate ( )

◆ getAxis1()

LVecBase3f getAxis1 ( )

◆ getAxis2()

LVecBase3f getAxis2 ( )

◆ getClassType()

static TypeHandle getClassType ( )
static

◆ getParamBounce()

DReal getParamBounce ( int  axis)

◆ getParamCFM()

DReal getParamCFM ( int  axis)

◆ getParamFMax()

DReal getParamFMax ( int  axis)

◆ getParamFudgeFactor()

DReal getParamFudgeFactor ( int  axis)

◆ getParamHiStop()

DReal getParamHiStop ( int  axis)

◆ getParamLoStop()

DReal getParamLoStop ( int  axis)

◆ getParamStopCFM()

DReal getParamStopCFM ( int  axis)

◆ getParamStopERP()

DReal getParamStopERP ( int  axis)

◆ getParamSuspensionCFM()

DReal getParamSuspensionCFM ( int  axis)

◆ getParamSuspensionERP()

DReal getParamSuspensionERP ( int  axis)

◆ getParamVel()

DReal getParamVel ( int  axis)

◆ setAnchor() [1/2]

setAnchor ( const LVecBase3f  anchor)

◆ setAnchor() [2/2]

setAnchor ( DReal  x,
DReal  y,
DReal  z 
)

◆ setAxis1() [1/2]

setAxis1 ( const LVecBase3f  axis)

◆ setAxis1() [2/2]

setAxis1 ( DReal  x,
DReal  y,
DReal  z 
)

◆ setAxis2() [1/2]

setAxis2 ( const LVecBase3f  axis)

◆ setAxis2() [2/2]

setAxis2 ( DReal  x,
DReal  y,
DReal  z 
)

◆ setParamBounce()

setParamBounce ( int  axis,
DReal  val 
)

◆ setParamCFM()

setParamCFM ( int  axis,
DReal  val 
)

◆ setParamFMax()

setParamFMax ( int  axis,
DReal  val 
)

◆ setParamFudgeFactor()

setParamFudgeFactor ( int  axis,
DReal  val 
)

◆ setParamHiStop()

setParamHiStop ( int  axis,
DReal  val 
)

◆ setParamLoStop()

setParamLoStop ( int  axis,
DReal  val 
)

◆ setParamStopCFM()

setParamStopCFM ( int  axis,
DReal  val 
)

◆ setParamStopERP()

setParamStopERP ( int  axis,
DReal  val 
)

◆ setParamSuspensionCFM()

setParamSuspensionCFM ( int  axis,
DReal  val 
)

◆ setParamSuspensionERP()

setParamSuspensionERP ( int  axis,
DReal  val 
)

◆ setParamVel()

setParamVel ( int  axis,
DReal  val 
)