libHSPlasma
|
#include <hsBounds.h>
Public Types | |
enum | { kAxisAligned = 0x1, kSphereSet = 0x2, kDistsSet = 0x4, kAxisZeroZero = 0x100000, kAxisOneZero = 0x200000, kAxisTwoZero = 0x400000 } |
![]() | |
enum | { kCenterValid = 0x1, kIsSphere = 0x2 } |
Public Member Functions | |
virtual const char * | ClassName () const |
hsBounds3Ext () | |
hsBounds3Ext | operator+ (const hsBounds3Ext &right) const |
virtual void | read (hsStream *S) |
virtual void | write (hsStream *S) |
unsigned int | getFlags () const |
hsVector3 | getCorner () const |
hsVector3 | getAxis (size_t idx) const |
hsFloatPoint2 | getDist (size_t idx) const |
float | getRadius () const |
void | unalign () |
void | setFlags (unsigned int flags) |
void | setCorner (const hsVector3 &corner) |
void | setAxis (size_t idx, const hsVector3 &ax) |
void | setDist (size_t idx, const hsFloatPoint2 &dist) |
void | setRadius (float rad) |
![]() | |
hsBounds3 () | |
void | init (const hsVector3 &right) |
hsBounds3 | operator+ (const hsBounds3 &right) const |
hsBounds3 & | operator+= (const hsBounds3 &right) |
hsBounds3 & | operator+= (const hsVector3 &point) |
hsVector3 | getMins () const |
hsVector3 | getMaxs () const |
hsVector3 | getCenter () const |
void | setMins (const hsVector3 &mins) |
void | setMaxs (const hsVector3 &maxs) |
void | setCenter (const hsVector3 ¢er) |
const hsVector3 & | updateCenter () |
![]() | |
hsBounds () | |
virtual | ~hsBounds () |
void | prcWrite (pfPrcHelper *prc) |
void | prcParse (const pfPrcTag *tag) |
int | getType () const |
void | setType (int type) |
Protected Member Functions | |
virtual void | IPrcWrite (pfPrcHelper *prc) |
virtual void | IPrcParse (const pfPrcTag *tag) |
Protected Attributes | |
unsigned int | fExtFlags |
hsVector3 | fCorner |
hsVector3 | fAxes [3] |
hsFloatPoint2 | fDists [3] |
float | fRadius |
![]() | |
hsVector3 | fMins |
hsVector3 | fMaxs |
hsVector3 | fCenter |
![]() | |
int | fType |
anonymous enum |
hsBounds3Ext::hsBounds3Ext | ( | ) |
|
virtual |
Reimplemented from hsBounds3.
hsVector3 hsBounds3Ext::getAxis | ( | size_t | idx | ) | const |
hsVector3 hsBounds3Ext::getCorner | ( | ) | const |
hsFloatPoint2 hsBounds3Ext::getDist | ( | size_t | idx | ) | const |
unsigned int hsBounds3Ext::getFlags | ( | ) | const |
float hsBounds3Ext::getRadius | ( | ) | const |
|
protectedvirtual |
Reimplemented from hsBounds3.
|
protectedvirtual |
Reimplemented from hsBounds3.
hsBounds3Ext hsBounds3Ext::operator+ | ( | const hsBounds3Ext & | right | ) | const |
void hsBounds3Ext::setAxis | ( | size_t | idx, |
const hsVector3 & | ax | ||
) |
void hsBounds3Ext::setCorner | ( | const hsVector3 & | corner | ) |
void hsBounds3Ext::setDist | ( | size_t | idx, |
const hsFloatPoint2 & | dist | ||
) |
void hsBounds3Ext::setFlags | ( | unsigned int | flags | ) |
void hsBounds3Ext::setRadius | ( | float | rad | ) |
void hsBounds3Ext::unalign | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |