experimental buyancy fluid demo More...
#include <btHfFluidBuoyantConvexShape.h>
Public Member Functions | |
btHfFluidBuoyantConvexShape (btConvexShape *convexShape) | |
virtual void | calculateLocalInertia (btScalar mass, btVector3 &inertia) const |
void | generateShape (btScalar radius, btScalar gap) |
virtual void | getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const |
btConvexShape * | getConvexShape () |
btScalar | getFloatyness () const |
virtual const btVector3 & | getLocalScaling () const |
virtual btScalar | getMargin () const |
virtual const char * | getName () const |
int | getNumVoxels () const |
btScalar | getTotalVolume () const |
btScalar | getVolumePerVoxel () const |
const btVector3 * | getVoxelPositionsArray () |
btScalar | getVoxelRadius () const |
void | setFloatyness (btScalar floatyness) |
virtual void | setLocalScaling (const btVector3 &scaling) |
virtual void | setMargin (btScalar margin) |
~btHfFluidBuoyantConvexShape () | |
Protected Attributes | |
btConvexShape * | m_convexShape |
btScalar | m_floatyness |
int | m_numVoxels |
btScalar | m_radius |
btScalar | m_totalVolume |
btScalar | m_volumePerVoxel |
btVector3 * | m_voxelPositions |
experimental buyancy fluid demo
Definition at line 27 of file btHfFluidBuoyantConvexShape.h.
btHfFluidBuoyantConvexShape::btHfFluidBuoyantConvexShape | ( | btConvexShape * | convexShape | ) |
Definition at line 29 of file btHfFluidBuoyantConvexShape.cpp.
Definition at line 40 of file btHfFluidBuoyantConvexShape.cpp.
void btHfFluidBuoyantConvexShape::calculateLocalInertia | ( | btScalar | mass, |
btVector3 & | inertia | ||
) | const [virtual] |
Definition at line 71 of file btHfFluidBuoyantConvexShape.cpp.
void btHfFluidBuoyantConvexShape::generateShape | ( | btScalar | radius, |
btScalar | gap | ||
) |
Definition at line 140 of file btHfFluidBuoyantConvexShape.cpp.
void btHfFluidBuoyantConvexShape::getAabb | ( | const btTransform & | t, |
btVector3 & | aabbMin, | ||
btVector3 & | aabbMax | ||
) | const [virtual] |
Definition at line 46 of file btHfFluidBuoyantConvexShape.cpp.
btConvexShape* btHfFluidBuoyantConvexShape::getConvexShape | ( | ) | [inline] |
Definition at line 34 of file btHfFluidBuoyantConvexShape.h.
btScalar btHfFluidBuoyantConvexShape::getFloatyness | ( | ) | const [inline] |
Definition at line 59 of file btHfFluidBuoyantConvexShape.h.
const btVector3 & btHfFluidBuoyantConvexShape::getLocalScaling | ( | ) | const [virtual] |
Definition at line 66 of file btHfFluidBuoyantConvexShape.cpp.
btScalar btHfFluidBuoyantConvexShape::getMargin | ( | ) | const [virtual] |
Definition at line 76 of file btHfFluidBuoyantConvexShape.cpp.
const char * btHfFluidBuoyantConvexShape::getName | ( | ) | const [virtual] |
Definition at line 61 of file btHfFluidBuoyantConvexShape.cpp.
int btHfFluidBuoyantConvexShape::getNumVoxels | ( | ) | const [inline] |
Definition at line 67 of file btHfFluidBuoyantConvexShape.h.
btScalar btHfFluidBuoyantConvexShape::getTotalVolume | ( | ) | const [inline] |
Definition at line 51 of file btHfFluidBuoyantConvexShape.h.
btScalar btHfFluidBuoyantConvexShape::getVolumePerVoxel | ( | ) | const [inline] |
Definition at line 55 of file btHfFluidBuoyantConvexShape.h.
const btVector3* btHfFluidBuoyantConvexShape::getVoxelPositionsArray | ( | ) | [inline] |
Definition at line 71 of file btHfFluidBuoyantConvexShape.h.
btScalar btHfFluidBuoyantConvexShape::getVoxelRadius | ( | ) | const [inline] |
Definition at line 47 of file btHfFluidBuoyantConvexShape.h.
void btHfFluidBuoyantConvexShape::setFloatyness | ( | btScalar | floatyness | ) | [inline] |
Definition at line 63 of file btHfFluidBuoyantConvexShape.h.
void btHfFluidBuoyantConvexShape::setLocalScaling | ( | const btVector3 & | scaling | ) | [virtual] |
Definition at line 56 of file btHfFluidBuoyantConvexShape.cpp.
void btHfFluidBuoyantConvexShape::setMargin | ( | btScalar | margin | ) | [virtual] |
Definition at line 51 of file btHfFluidBuoyantConvexShape.cpp.
btConvexShape* btHfFluidBuoyantConvexShape::m_convexShape [protected] |
Definition at line 83 of file btHfFluidBuoyantConvexShape.h.
btScalar btHfFluidBuoyantConvexShape::m_floatyness [protected] |
Definition at line 77 of file btHfFluidBuoyantConvexShape.h.
int btHfFluidBuoyantConvexShape::m_numVoxels [protected] |
Definition at line 81 of file btHfFluidBuoyantConvexShape.h.
btScalar btHfFluidBuoyantConvexShape::m_radius [protected] |
Definition at line 78 of file btHfFluidBuoyantConvexShape.h.
btScalar btHfFluidBuoyantConvexShape::m_totalVolume [protected] |
Definition at line 79 of file btHfFluidBuoyantConvexShape.h.
btScalar btHfFluidBuoyantConvexShape::m_volumePerVoxel [protected] |
Definition at line 80 of file btHfFluidBuoyantConvexShape.h.
btVector3* btHfFluidBuoyantConvexShape::m_voxelPositions [protected] |
Definition at line 82 of file btHfFluidBuoyantConvexShape.h.