Public Member Functions | Protected Attributes

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]

List of all members.

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

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

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

Definition at line 155 of file btSoftBodySolver_DX11.h.

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

Definition at line 153 of file btSoftBodySolver_DX11.h.

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

Definition at line 151 of file btSoftBodySolver_DX11.h.

Maximum number of links allocated to this cloth.

Definition at line 157 of file btSoftBodySolver_DX11.h.

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

Definition at line 149 of file btSoftBodySolver_DX11.h.

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

Definition at line 145 of file btSoftBodySolver_DX11.h.

Current number of links allocated to this cloth.

Definition at line 159 of file btSoftBodySolver_DX11.h.

Current number of triangles that are part of this cloth.

Definition at line 147 of file btSoftBodySolver_DX11.h.

Current number of vertices that are part of this cloth.

Definition at line 143 of file btSoftBodySolver_DX11.h.

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: