#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_BoundingBox & | getBoundingBox () |
Definition at line 30 of file GU_Volume.h.
| anonymous enum |
| GU_Volume::GU_Volume | ( | GU_Detail * | geo, | |
| int | divs, | |||
| int | type = SOLID_OBJECT | |||
| ) |
| virtual GU_Volume::~GU_Volume | ( | ) | [virtual] |
| 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 | ( | ) |
1.5.9