Bullet Collision Detection & Physics Library
Public Member Functions | Private Attributes | List of all members
btSoftBodyVertexData::VertexDescription Class Reference

Class describing a vertex for input into the system. More...

#include <btSoftBodySolverData.h>

Collaboration diagram for btSoftBodyVertexData::VertexDescription:
Collaboration graph
[legend]

Public Member Functions

 VertexDescription ()
 
 VertexDescription (const Vectormath::Aos::Point3 &position, float mass)
 
void setPosition (const Vectormath::Aos::Point3 &position)
 
void setInverseMass (float inverseMass)
 
void setMass (float mass)
 
Vectormath::Aos::Point3 getPosition () const
 
float getInverseMass () const
 
float getMass () const
 

Private Attributes

Vectormath::Aos::Point3 m_position
 
float m_inverseMass
 Inverse mass. More...
 

Detailed Description

Class describing a vertex for input into the system.

Definition at line 318 of file btSoftBodySolverData.h.

Constructor & Destructor Documentation

btSoftBodyVertexData::VertexDescription::VertexDescription ( )
inline

Definition at line 326 of file btSoftBodySolverData.h.

btSoftBodyVertexData::VertexDescription::VertexDescription ( const Vectormath::Aos::Point3 position,
float  mass 
)
inline

Definition at line 332 of file btSoftBodySolverData.h.

Member Function Documentation

float btSoftBodyVertexData::VertexDescription::getInverseMass ( ) const
inline

Definition at line 364 of file btSoftBodySolverData.h.

float btSoftBodyVertexData::VertexDescription::getMass ( ) const
inline

Definition at line 369 of file btSoftBodySolverData.h.

Vectormath::Aos::Point3 btSoftBodyVertexData::VertexDescription::getPosition ( ) const
inline

Definition at line 359 of file btSoftBodySolverData.h.

void btSoftBodyVertexData::VertexDescription::setInverseMass ( float  inverseMass)
inline

Definition at line 346 of file btSoftBodySolverData.h.

void btSoftBodyVertexData::VertexDescription::setMass ( float  mass)
inline

Definition at line 351 of file btSoftBodySolverData.h.

void btSoftBodyVertexData::VertexDescription::setPosition ( const Vectormath::Aos::Point3 position)
inline

Definition at line 341 of file btSoftBodySolverData.h.

Member Data Documentation

float btSoftBodyVertexData::VertexDescription::m_inverseMass
private

Inverse mass.

If this is 0f then the mass was 0 because that simplifies calculations.

Definition at line 323 of file btSoftBodySolverData.h.

Vectormath::Aos::Point3 btSoftBodyVertexData::VertexDescription::m_position
private

Definition at line 321 of file btSoftBodySolverData.h.


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