HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_Volume Class Reference

#include <GU_Volume.h>

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 22 of file GU_Volume.h.

Member Enumeration Documentation

anonymous enum
Enumerator
HOLLOW_OBJECT 
SOLID_OBJECT 

Definition at line 25 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 47 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: