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

◆ Constraint()

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

Base cosntructor.

◆ ~Constraint()

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

Destructor.

Member Function Documentation

◆ getConstraint()

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

Getter for the internal constraint.

◆ getObjects()

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

Getter for the objects involved in the constraint.

◆ initUserPointer()

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

Member Data Documentation

◆ m_collide

bool icl::physics::Constraint::m_collide
protected

◆ m_constraint

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

internal constraint

◆ m_objects

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

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