Bullet Collision Detection & Physics Library
Public Member Functions | Protected Attributes | List of all members
btDX11SoftBodySolver::btAcceleratedSoftBodyInterface Class Reference

SoftBody class to maintain information about a soft body instance within a solver. More...

#include <btSoftBodySolver_DX11.h>

Collaboration diagram for btDX11SoftBodySolver::btAcceleratedSoftBodyInterface:
Collaboration graph
[legend]

Public Member Functions

 btAcceleratedSoftBodyInterface (btSoftBody *softBody)
 
int getNumVertices () const
 
int getNumTriangles () const
 
int getMaxVertices () const
 
int getMaxTriangles () const
 
int getFirstVertex () const
 
int getFirstTriangle () const
 
void updateBounds (const btVector3 &lowerBound, const btVector3 &upperBound)
 Update the bounds in the btSoftBody object. More...
 
void setNumVertices (int numVertices)
 
void setNumTriangles (int numTriangles)
 
void setMaxVertices (int maxVertices)
 
void setMaxTriangles (int maxTriangles)
 
void setFirstVertex (int firstVertex)
 
void setFirstTriangle (int firstTriangle)
 
void setMaxLinks (int maxLinks)
 
void setNumLinks (int numLinks)
 
void setFirstLink (int firstLink)
 
int getMaxLinks ()
 
int getNumLinks ()
 
int getFirstLink ()
 
btSoftBodygetSoftBody ()
 

Protected Attributes

int m_numVertices
 Current number of vertices that are part of this cloth. More...
 
int m_maxVertices
 Maximum number of vertices allocated to be part of this cloth. More...
 
int m_numTriangles
 Current number of triangles that are part of this cloth. More...
 
int m_maxTriangles
 Maximum number of triangles allocated to be part of this cloth. More...
 
int m_firstVertex
 Index of first vertex in the world allocated to this cloth. More...
 
int m_firstTriangle
 Index of first triangle in the world allocated to this cloth. More...
 
int m_firstLink
 Index of first link in the world allocated to this cloth. More...
 
int m_maxLinks
 Maximum number of links allocated to this cloth. More...
 
int m_numLinks
 Current number of links allocated to this cloth. More...
 
btSoftBodym_softBody
 The actual soft body this data represents. More...
 

Detailed Description

SoftBody class to maintain information about a soft body instance within a solver.

This data addresses the main solver arrays.

Definition at line 139 of file btSoftBodySolver_DX11.h.

Constructor & Destructor Documentation

btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::btAcceleratedSoftBodyInterface ( btSoftBody softBody)
inline

Definition at line 166 of file btSoftBodySolver_DX11.h.

Member Function Documentation

int btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::getFirstLink ( )
inline

Definition at line 274 of file btSoftBodySolver_DX11.h.

int btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::getFirstTriangle ( ) const
inline

Definition at line 204 of file btSoftBodySolver_DX11.h.

int btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::getFirstVertex ( ) const
inline

Definition at line 199 of file btSoftBodySolver_DX11.h.

int btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::getMaxLinks ( )
inline

Definition at line 264 of file btSoftBodySolver_DX11.h.

int btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::getMaxTriangles ( ) const
inline

Definition at line 194 of file btSoftBodySolver_DX11.h.

int btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::getMaxVertices ( ) const
inline

Definition at line 189 of file btSoftBodySolver_DX11.h.

int btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::getNumLinks ( )
inline

Definition at line 269 of file btSoftBodySolver_DX11.h.

int btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::getNumTriangles ( ) const
inline

Definition at line 184 of file btSoftBodySolver_DX11.h.

int btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::getNumVertices ( ) const
inline

Definition at line 179 of file btSoftBodySolver_DX11.h.

btSoftBody* btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::getSoftBody ( )
inline

Definition at line 279 of file btSoftBodySolver_DX11.h.

void btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::setFirstLink ( int  firstLink)
inline

Definition at line 259 of file btSoftBodySolver_DX11.h.

void btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::setFirstTriangle ( int  firstTriangle)
inline

Definition at line 244 of file btSoftBodySolver_DX11.h.

void btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::setFirstVertex ( int  firstVertex)
inline

Definition at line 239 of file btSoftBodySolver_DX11.h.

void btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::setMaxLinks ( int  maxLinks)
inline

Definition at line 249 of file btSoftBodySolver_DX11.h.

void btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::setMaxTriangles ( int  maxTriangles)
inline

Definition at line 234 of file btSoftBodySolver_DX11.h.

void btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::setMaxVertices ( int  maxVertices)
inline

Definition at line 229 of file btSoftBodySolver_DX11.h.

void btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::setNumLinks ( int  numLinks)
inline

Definition at line 254 of file btSoftBodySolver_DX11.h.

void btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::setNumTriangles ( int  numTriangles)
inline

Definition at line 224 of file btSoftBodySolver_DX11.h.

void btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::setNumVertices ( int  numVertices)
inline

Definition at line 219 of file btSoftBodySolver_DX11.h.

void btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::updateBounds ( const btVector3 lowerBound,
const btVector3 upperBound 
)

Update the bounds in the btSoftBody object.

Definition at line 2151 of file btSoftBodySolver_DX11.cpp.

Member Data Documentation

int btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::m_firstLink
protected

Index of first link in the world allocated to this cloth.

Definition at line 155 of file btSoftBodySolver_DX11.h.

int btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::m_firstTriangle
protected

Index of first triangle in the world allocated to this cloth.

Definition at line 153 of file btSoftBodySolver_DX11.h.

int btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::m_firstVertex
protected

Index of first vertex in the world allocated to this cloth.

Definition at line 151 of file btSoftBodySolver_DX11.h.

int btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::m_maxLinks
protected

Maximum number of links allocated to this cloth.

Definition at line 157 of file btSoftBodySolver_DX11.h.

int btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::m_maxTriangles
protected

Maximum number of triangles allocated to be part of this cloth.

Definition at line 149 of file btSoftBodySolver_DX11.h.

int btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::m_maxVertices
protected

Maximum number of vertices allocated to be part of this cloth.

Definition at line 145 of file btSoftBodySolver_DX11.h.

int btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::m_numLinks
protected

Current number of links allocated to this cloth.

Definition at line 159 of file btSoftBodySolver_DX11.h.

int btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::m_numTriangles
protected

Current number of triangles that are part of this cloth.

Definition at line 147 of file btSoftBodySolver_DX11.h.

int btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::m_numVertices
protected

Current number of vertices that are part of this cloth.

Definition at line 143 of file btSoftBodySolver_DX11.h.

btSoftBody* btDX11SoftBodySolver::btAcceleratedSoftBodyInterface::m_softBody
protected

The actual soft body this data represents.

Definition at line 162 of file btSoftBodySolver_DX11.h.


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