Image Component Library (ICL)
Public Types | Public Member Functions | Public Attributes | List of all members
icl::physics::BendingConstraint Struct Reference

#include <BendingConstraint.h>

Public Types

typedef btSoftBody::tLinkArray LinkArray
 
typedef btSoftBody::Material Material
 
typedef btSoftBody::Link Link
 

Public Member Functions

 BendingConstraint (Link *link, utils::Point a=utils::Point::null, utils::Point b=utils::Point::null)
 
void setStiffness (float val)
 
void updateLinkPointer (std::map< Material *, Link * > &lookup)
 
float getStiffness () const
 
std::pair< geom::Vec, geom::VecgetLine () const
 

Public Attributes

Linklink
 
Materialmaterial
 
utils::Point a
 
utils::Point b
 

Member Typedef Documentation

◆ Link

typedef btSoftBody::Link icl::physics::BendingConstraint::Link

◆ LinkArray

typedef btSoftBody::tLinkArray icl::physics::BendingConstraint::LinkArray

◆ Material

typedef btSoftBody::Material icl::physics::BendingConstraint::Material

Constructor & Destructor Documentation

◆ BendingConstraint()

icl::physics::BendingConstraint::BendingConstraint ( Link link,
utils::Point  a = utils::Point::null,
utils::Point  b = utils::Point::null 
)

Member Function Documentation

◆ getLine()

std::pair<geom::Vec,geom::Vec> icl::physics::BendingConstraint::getLine ( ) const

◆ getStiffness()

float icl::physics::BendingConstraint::getStiffness ( ) const

◆ setStiffness()

void icl::physics::BendingConstraint::setStiffness ( float  val)

◆ updateLinkPointer()

void icl::physics::BendingConstraint::updateLinkPointer ( std::map< Material *, Link * > &  lookup)

Member Data Documentation

◆ a

utils::Point icl::physics::BendingConstraint::a

◆ b

utils::Point icl::physics::BendingConstraint::b

◆ link

Link* icl::physics::BendingConstraint::link

◆ material

Material* icl::physics::BendingConstraint::material

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