Public Member Functions | Protected Attributes
btHfFluidBuoyantConvexShape Class Reference

experimental buyancy fluid demo More...

#include <btHfFluidBuoyantConvexShape.h>

List of all members.

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

Detailed Description

experimental buyancy fluid demo

Definition at line 27 of file btHfFluidBuoyantConvexShape.h.


Constructor & Destructor Documentation

Definition at line 29 of file btHfFluidBuoyantConvexShape.cpp.

Definition at line 40 of file btHfFluidBuoyantConvexShape.cpp.


Member Function Documentation

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.

Definition at line 67 of file btHfFluidBuoyantConvexShape.h.

btScalar btHfFluidBuoyantConvexShape::getTotalVolume ( ) const [inline]

Definition at line 51 of file btHfFluidBuoyantConvexShape.h.

Definition at line 55 of file btHfFluidBuoyantConvexShape.h.

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.


Member Data Documentation

btConvexShape* btHfFluidBuoyantConvexShape::m_convexShape [protected]

Definition at line 83 of file btHfFluidBuoyantConvexShape.h.

Definition at line 77 of file btHfFluidBuoyantConvexShape.h.

Definition at line 81 of file btHfFluidBuoyantConvexShape.h.

Definition at line 78 of file btHfFluidBuoyantConvexShape.h.

Definition at line 79 of file btHfFluidBuoyantConvexShape.h.

Definition at line 80 of file btHfFluidBuoyantConvexShape.h.

Definition at line 82 of file btHfFluidBuoyantConvexShape.h.


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


uwsim
Author(s): Mario Prats
autogenerated on Mon Oct 6 2014 08:24:07