IPhysics: CPhysicsSlider Class Reference

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

# CPhysicsSlider Class Reference

`#include <CPhysicsSlider.h>`

Inherits IPhysicsJoint.

List of all members.

## Public Member Functions

| CPhysicsSlider ()
| ~CPhysicsSlider ()
void | init (NewtonWorld *world, SPhysicsSliderJoint *jnt)
void | setUserCallback (NewtonSliderCallBack callback)
f32 | getJointAngle ()
f32 | getJointVelocity ()
vector3df | getForce ()

## Static Private Member Functions

static unsigned _cdecl | sliderCallback (const NewtonJoint *slider, NewtonHingeSliderUpdateDesc *desc)

## Static Private Attributes

static vector3df | m_breakForce
static f32 | m_minSlide
static f32 | m_maxSlide

## Constructor & Destructor Documentation

CPhysicsSlider::CPhysicsSlider | ( |  | ) |

CPhysicsSlider::~CPhysicsSlider | ( |  | ) |

## Member Function Documentation

void CPhysicsSlider::init | ( | NewtonWorld * | world,
|  | SPhysicsSliderJoint * | jnt |
| ) |  |  |

void CPhysicsSlider::setUserCallback | ( | NewtonSliderCallBack | callback | ) |

f32 CPhysicsSlider::getJointAngle | ( |  | ) |

f32 CPhysicsSlider::getJointVelocity | ( |  | ) |

vector3df CPhysicsSlider::getForce | ( |  | ) |

unsigned CPhysicsSlider::sliderCallback | ( | const NewtonJoint * | slider,
|  | NewtonHingeSliderUpdateDesc * | desc |
| ) |  |  | `[static, private]`

## Member Data Documentation

vector3df CPhysicsSlider::m_breakForce`[static, private]`

f32 CPhysicsSlider::m_minSlide`[static, private]`

f32 CPhysicsSlider::m_maxSlide`[static, private]`

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

- C:/Documents and Settings/user/Desktop/IPhysics 1.5 Irr 1.2/source/CPhysicsSlider.h
- C:/Documents and Settings/user/Desktop/IPhysics 1.5 Irr 1.2/source/CPhysicsSlider.cpp