SoftBody class to maintain information about a soft body instance within a solver. More...
#include <btSoftBodySolver_OpenCL.h>
Public Member Functions | |
btOpenCLAcceleratedSoftBodyInterface (btSoftBody *softBody) | |
int | getNumVertices () |
int | getNumTriangles () |
int | getMaxVertices () |
int | getMaxTriangles () |
int | getFirstVertex () |
int | getFirstTriangle () |
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 () |
btSoftBody * | getSoftBody () |
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. | |
btSoftBody * | m_softBody |
The actual soft body this data represents. |
SoftBody class to maintain information about a soft body instance within a solver.
This data addresses the main solver arrays.
Definition at line 96 of file btSoftBodySolver_OpenCL.h.
btOpenCLAcceleratedSoftBodyInterface::btOpenCLAcceleratedSoftBodyInterface | ( | btSoftBody * | softBody | ) | [inline] |
Definition at line 123 of file btSoftBodySolver_OpenCL.h.
int btOpenCLAcceleratedSoftBodyInterface::getFirstLink | ( | ) | [inline] |
Definition at line 229 of file btSoftBodySolver_OpenCL.h.
int btOpenCLAcceleratedSoftBodyInterface::getFirstTriangle | ( | ) | [inline] |
Definition at line 161 of file btSoftBodySolver_OpenCL.h.
int btOpenCLAcceleratedSoftBodyInterface::getFirstVertex | ( | ) | [inline] |
Definition at line 156 of file btSoftBodySolver_OpenCL.h.
int btOpenCLAcceleratedSoftBodyInterface::getMaxLinks | ( | ) | [inline] |
Definition at line 219 of file btSoftBodySolver_OpenCL.h.
int btOpenCLAcceleratedSoftBodyInterface::getMaxTriangles | ( | ) | [inline] |
Definition at line 151 of file btSoftBodySolver_OpenCL.h.
int btOpenCLAcceleratedSoftBodyInterface::getMaxVertices | ( | ) | [inline] |
Definition at line 146 of file btSoftBodySolver_OpenCL.h.
int btOpenCLAcceleratedSoftBodyInterface::getNumLinks | ( | ) | [inline] |
Definition at line 224 of file btSoftBodySolver_OpenCL.h.
int btOpenCLAcceleratedSoftBodyInterface::getNumTriangles | ( | ) | [inline] |
Definition at line 141 of file btSoftBodySolver_OpenCL.h.
int btOpenCLAcceleratedSoftBodyInterface::getNumVertices | ( | ) | [inline] |
Definition at line 136 of file btSoftBodySolver_OpenCL.h.
btSoftBody* btOpenCLAcceleratedSoftBodyInterface::getSoftBody | ( | ) | [inline] |
Definition at line 234 of file btSoftBodySolver_OpenCL.h.
void btOpenCLAcceleratedSoftBodyInterface::setFirstLink | ( | int | firstLink | ) | [inline] |
Definition at line 214 of file btSoftBodySolver_OpenCL.h.
void btOpenCLAcceleratedSoftBodyInterface::setFirstTriangle | ( | int | firstTriangle | ) | [inline] |
Definition at line 199 of file btSoftBodySolver_OpenCL.h.
void btOpenCLAcceleratedSoftBodyInterface::setFirstVertex | ( | int | firstVertex | ) | [inline] |
Definition at line 194 of file btSoftBodySolver_OpenCL.h.
void btOpenCLAcceleratedSoftBodyInterface::setMaxLinks | ( | int | maxLinks | ) | [inline] |
Definition at line 204 of file btSoftBodySolver_OpenCL.h.
void btOpenCLAcceleratedSoftBodyInterface::setMaxTriangles | ( | int | maxTriangles | ) | [inline] |
Definition at line 189 of file btSoftBodySolver_OpenCL.h.
void btOpenCLAcceleratedSoftBodyInterface::setMaxVertices | ( | int | maxVertices | ) | [inline] |
Definition at line 184 of file btSoftBodySolver_OpenCL.h.
void btOpenCLAcceleratedSoftBodyInterface::setNumLinks | ( | int | numLinks | ) | [inline] |
Definition at line 209 of file btSoftBodySolver_OpenCL.h.
void btOpenCLAcceleratedSoftBodyInterface::setNumTriangles | ( | int | numTriangles | ) | [inline] |
Definition at line 179 of file btSoftBodySolver_OpenCL.h.
void btOpenCLAcceleratedSoftBodyInterface::setNumVertices | ( | int | numVertices | ) | [inline] |
Definition at line 174 of file btSoftBodySolver_OpenCL.h.
void btOpenCLAcceleratedSoftBodyInterface::updateBounds | ( | const btVector3 & | lowerBound, | |
const btVector3 & | upperBound | |||
) |
Update the bounds in the btSoftBody object.
Definition at line 1696 of file btSoftBodySolver_OpenCL.cpp.
int btOpenCLAcceleratedSoftBodyInterface::m_firstLink [protected] |
Index of first link in the world allocated to this cloth.
Definition at line 112 of file btSoftBodySolver_OpenCL.h.
int btOpenCLAcceleratedSoftBodyInterface::m_firstTriangle [protected] |
Index of first triangle in the world allocated to this cloth.
Definition at line 110 of file btSoftBodySolver_OpenCL.h.
int btOpenCLAcceleratedSoftBodyInterface::m_firstVertex [protected] |
Index of first vertex in the world allocated to this cloth.
Definition at line 108 of file btSoftBodySolver_OpenCL.h.
int btOpenCLAcceleratedSoftBodyInterface::m_maxLinks [protected] |
Maximum number of links allocated to this cloth.
Definition at line 114 of file btSoftBodySolver_OpenCL.h.
int btOpenCLAcceleratedSoftBodyInterface::m_maxTriangles [protected] |
Maximum number of triangles allocated to be part of this cloth.
Definition at line 106 of file btSoftBodySolver_OpenCL.h.
int btOpenCLAcceleratedSoftBodyInterface::m_maxVertices [protected] |
Maximum number of vertices allocated to be part of this cloth.
Definition at line 102 of file btSoftBodySolver_OpenCL.h.
int btOpenCLAcceleratedSoftBodyInterface::m_numLinks [protected] |
Current number of links allocated to this cloth.
Definition at line 116 of file btSoftBodySolver_OpenCL.h.
int btOpenCLAcceleratedSoftBodyInterface::m_numTriangles [protected] |
Current number of triangles that are part of this cloth.
Definition at line 104 of file btSoftBodySolver_OpenCL.h.
int btOpenCLAcceleratedSoftBodyInterface::m_numVertices [protected] |
Current number of vertices that are part of this cloth.
Definition at line 100 of file btSoftBodySolver_OpenCL.h.
The actual soft body this data represents.
Definition at line 119 of file btSoftBodySolver_OpenCL.h.