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

Public Member Functions

 __init__ (OdeWorld world)
 
 __init__ (OdeWorld world, OdeJointGroup joint_group)
 
 addForce (DReal force)
 
LVecBase3f getAxis ()
 
DReal getParamBounce ()
 
DReal getParamCFM ()
 
DReal getParamFMax ()
 
DReal getParamFudgeFactor ()
 
DReal getParamHiStop ()
 
DReal getParamLoStop ()
 
DReal getParamStopCFM ()
 
DReal getParamStopERP ()
 
DReal getParamVel ()
 
DReal getPosition ()
 
DReal getPositionRate ()
 
 setAxis (const LVecBase3f axis)
 
 setAxis (DReal x, DReal y, DReal z)
 
 setAxisDelta (const LVecBase3f axis, const LVecBase3f vec)
 
 setAxisDelta (DReal x, DReal y, DReal z, DReal ax, DReal ay, DReal az)
 
 setParamBounce (DReal val)
 
 setParamCFM (DReal val)
 
 setParamFMax (DReal val)
 
 setParamFudgeFactor (DReal val)
 
 setParamHiStop (DReal val)
 
 setParamLoStop (DReal val)
 
 setParamStopCFM (DReal val)
 
 setParamStopERP (DReal val)
 
 setParamVel (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. Order is important. Consider using the OdeJoint::attach extension function if you're using the Python interface. More...
 
 attachBody (const OdeBody body, int index)
 Attaches a single OdeBody to this joint at the specified index (0 or 1). The other index will be set to the environment (null). Consider using the OdeJoint::attach extension function if you're using the Python interface. 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. It is an error to call a method on an empty joint. Note that an empty OdeJoint also evaluates to False. 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 ()
 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 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
}
 

Member Function Documentation

◆ __init__() [1/2]

__init__ ( OdeWorld  world)

◆ __init__() [2/2]

__init__ ( OdeWorld  world,
OdeJointGroup  joint_group 
)

◆ addForce()

addForce ( DReal  force)

◆ getAxis()

LVecBase3f getAxis ( )

◆ getClassType()

static TypeHandle getClassType ( )
static

◆ getParamBounce()

DReal getParamBounce ( )

◆ getParamCFM()

DReal getParamCFM ( )

◆ getParamFMax()

DReal getParamFMax ( )

◆ getParamFudgeFactor()

DReal getParamFudgeFactor ( )

◆ getParamHiStop()

DReal getParamHiStop ( )

◆ getParamLoStop()

DReal getParamLoStop ( )

◆ getParamStopCFM()

DReal getParamStopCFM ( )

◆ getParamStopERP()

DReal getParamStopERP ( )

◆ getParamVel()

DReal getParamVel ( )

◆ getPosition()

DReal getPosition ( )

◆ getPositionRate()

DReal getPositionRate ( )

◆ setAxis() [1/2]

setAxis ( const LVecBase3f  axis)

◆ setAxis() [2/2]

setAxis ( DReal  x,
DReal  y,
DReal  z 
)

◆ setAxisDelta() [1/2]

setAxisDelta ( const LVecBase3f  axis,
const LVecBase3f  vec 
)

◆ setAxisDelta() [2/2]

setAxisDelta ( DReal  x,
DReal  y,
DReal  z,
DReal  ax,
DReal  ay,
DReal  az 
)

◆ setParamBounce()

setParamBounce ( DReal  val)

◆ setParamCFM()

setParamCFM ( DReal  val)

◆ setParamFMax()

setParamFMax ( DReal  val)

◆ setParamFudgeFactor()

setParamFudgeFactor ( DReal  val)

◆ setParamHiStop()

setParamHiStop ( DReal  val)

◆ setParamLoStop()

setParamLoStop ( DReal  val)

◆ setParamStopCFM()

setParamStopCFM ( DReal  val)

◆ setParamStopERP()

setParamStopERP ( DReal  val)

◆ setParamVel()

setParamVel ( DReal  val)