irr::newton::JointUpVector Class Reference

This class is used to management a rotation constraint joint. More...

#include <joint.hpp>

Inheritance diagram for irr::newton::JointUpVector:

irr::newton::Joint irr::newton::IrrNewt_Base List of all members.

Public Member Functions

irr::core::vector3df getPin ()
 JointUpVector (irr::newton::World *world, irr::core::vector3df pin_dir, irr::newton::Body *body)
 JointUpVector ()
void setPin (irr::core::vector3df new_pin)
 ~JointUpVector ()

Protected Member Functions

void reserved_destroy ()
 reserved

Detailed Description

This class is used to management a rotation constraint joint.


Constructor & Destructor Documentation

irr::newton::JointUpVector::JointUpVector (  )  [inline]

constructor. don't call this directly

irr::newton::JointUpVector::~JointUpVector (  )  [inline]

destructor

irr::newton::JointUpVector::JointUpVector ( irr::newton::World world,
irr::core::vector3df  pin_dir,
irr::newton::Body body 
)

constructor. don't call this directly


Member Function Documentation

irr::core::vector3df irr::newton::JointUpVector::getPin (  ) 

Get the up vector pin of this joint in global space.

the application can call this function to change the joint up vector, this is useful to animate the up vector. if the application is going to animated the up vector, it must do so by applying only small rotation, too large rotation can cause vibration of the joint

Returns:
the up vector direction in global space

void irr::newton::JointUpVector::reserved_destroy (  )  [inline, protected, virtual]

reserved

Reimplemented from irr::newton::Joint.

void irr::newton::JointUpVector::setPin ( irr::core::vector3df  new_pin  ) 

Set the up vector pin of this joint in global space.

the application can call this function to change the joint up vector, this is useful to animate the up vector. if the application is going to animated the up vector, it must do so by applying only small rotation, too large rotation can cause vibration of the joint

Parameters:
new_pin the up vector direction in global space.
Returns:
none


The documentation for this class was generated from the following file:
Generated on Fri Dec 15 16:58:33 2006 for IrrNewt by  doxygen 1.5.1-p1