Image Component Library (ICL)
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
icl::physics::Constraint Class Reference

Base Class for constraints. More...

#include <Constraint.h>

Inheritance diagram for icl::physics::Constraint:
icl::utils::Uncopyable icl::physics::Object2PointConstraint icl::physics::SixDOFConstraint icl::physics::BallSocketConstraint icl::physics::SliderConstraint icl::physics::HingeConstraint

Public Member Functions

 Constraint ()
 Base cosntructor. More...
 
virtual ~Constraint ()
 Destructor. More...
 
btTypedConstraint * getConstraint ()
 Getter for the internal constraint. More...
 
std::vector< RigidObject * > & getObjects ()
 Getter for the objects involved in the constraint. More...
 

Protected Member Functions

void initUserPointer ()
 
- Protected Member Functions inherited from icl::utils::Uncopyable
 Uncopyable ()
 Empty base constructor. More...
 

Protected Attributes

btTypedConstraint * m_constraint
 internal constraint More...
 
std::vector< RigidObject * > m_objects
 
bool m_collide
 

Detailed Description

Base Class for constraints.

Constructor & Destructor Documentation

icl::physics::Constraint::Constraint ( )

Base cosntructor.

virtual icl::physics::Constraint::~Constraint ( )
virtual

Destructor.

Member Function Documentation

btTypedConstraint* icl::physics::Constraint::getConstraint ( )

Getter for the internal constraint.

std::vector<RigidObject*>& icl::physics::Constraint::getObjects ( )

Getter for the objects involved in the constraint.

void icl::physics::Constraint::initUserPointer ( )
protected

Member Data Documentation

bool icl::physics::Constraint::m_collide
protected
btTypedConstraint* icl::physics::Constraint::m_constraint
protected

internal constraint

std::vector<RigidObject*> icl::physics::Constraint::m_objects
protected

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