GU_Volume Class Reference

#include <GU_Volume.h>

List of all members.

Public Types

enum  { HOLLOW_OBJECT, SOLID_OBJECT }

Public Member Functions

 GU_Volume (GU_Detail *geo, int divs, int type=SOLID_OBJECT)
virtual ~GU_Volume ()
float getVolume ()
UT_Vector3 getCenterOfMass ()
float getMomentOfInertia (const UT_Vector3 &about, const UT_Vector3 &axis, float mass=1.0F)
UT_Vector3 getResistanceTorque (const UT_Vector3 &rotvel, float resistance, int newtonmodel, float scale)
void DEBUGgetPoints (float *&pnts, int &num)
UT_BoundingBoxgetBoundingBox ()


Detailed Description

Definition at line 30 of file GU_Volume.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
HOLLOW_OBJECT 
SOLID_OBJECT 

Definition at line 33 of file GU_Volume.h.


Constructor & Destructor Documentation

GU_Volume::GU_Volume ( GU_Detail geo,
int  divs,
int  type = SOLID_OBJECT 
)

virtual GU_Volume::~GU_Volume (  )  [virtual]


Member Function Documentation

void GU_Volume::DEBUGgetPoints ( float *&  pnts,
int &  num 
)

UT_BoundingBox& GU_Volume::getBoundingBox (  )  [inline]

Definition at line 54 of file GU_Volume.h.

UT_Vector3 GU_Volume::getCenterOfMass (  ) 

float GU_Volume::getMomentOfInertia ( const UT_Vector3 about,
const UT_Vector3 axis,
float  mass = 1.0F 
)

UT_Vector3 GU_Volume::getResistanceTorque ( const UT_Vector3 rotvel,
float  resistance,
int  newtonmodel,
float  scale 
)

float GU_Volume::getVolume (  ) 


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

Generated on Fri May 25 00:10:29 2012 for HDK by  doxygen 1.5.9