#include <collide.H>
Inheritance diagram for Collide:
Public Member Functions | |
virtual | ~Collide () |
Collide (double s, int h, double r, double m) | |
bool | buildCollisionList (OctreeNode *) |
double | intersect (mlib::CWpt &, mlib::CWvec &, mlib::CWpt &, mlib::CWvec &) |
double | intersectSphere (mlib::CWpt &rO, mlib::CWvec &rV, mlib::CWpt &sO, double sR) |
Static Public Member Functions | |
static mlib::CWvec | get_move (mlib::CWpt &p, mlib::CWvec &v) |
static void | set_size (double) |
static BaseCollide * | instance () |
static bool | update_scene () |
Protected Member Functions | |
virtual mlib::CWvec | _get_move (mlib::CWpt &p, mlib::CWvec &v) |
virtual bool | _update_scene () |
Protected Attributes | |
stop_watch | _clock |
Bface_list | _hitFaces |
BMESHptr | _BSphere |
BMESHptr | _DestSphere |
double | _size |
int | _height |
double | _regularity |
double | _min_dist |
int | _objs |
BBOX | _polyBox |
ARRAY< OctreeNode * > | _RootNodes |
Static Protected Attributes | |
static BaseCollide * | _instance = 0 |
Definition at line 16 of file collide.H.
|
|
|
Definition at line 20 of file collide.H. References _BSphere, _DestSphere, _height, BaseCollide::_instance, _min_dist, _objs, _regularity, and _size. |
|
Reimplemented from BaseCollide. |
|
Implements BaseCollide. Definition at line 149 of file collide.C. References _height, _min_dist, _objs, _regularity, _RootNodes, ARRAY< T >::num(), VIEW::peek(), ARRAY< T >::push(), and sps(). |
|
Definition at line 203 of file collide.C. References _hitFaces, _polyBox, OctreeNode::get_children(), OctreeNode::get_leaf(), OctreeNode::intersects(), and BBOX::overlaps(). |
|
Reimplemented from BaseCollide. |
|
Definition at line 18 of file base_collide.H. References BaseCollide::_instance. Referenced by CamCruise::tick(). |
|
|
|
|
|
|
|
Definition at line 23 of file base_collide.H. References BaseCollide::_instance, and BaseCollide::_update_scene(). Referenced by Cam_int_fp::down2(). |
|
Definition at line 56 of file collide.H. Referenced by Collide(). |
|
|
|
Definition at line 57 of file collide.H. Referenced by Collide(). |
|
Definition at line 59 of file collide.H. Referenced by _update_scene(), and Collide(). |
|
Definition at line 55 of file collide.H. Referenced by buildCollisionList(). |
|
Definition at line 29 of file base_collide.H. Referenced by Collide(), BaseCollide::get_move(), BaseCollide::instance(), and BaseCollide::update_scene(). |
|
Definition at line 61 of file collide.H. Referenced by _update_scene(), and Collide(). |
|
Definition at line 62 of file collide.H. Referenced by _update_scene(), and Collide(). |
|
Definition at line 63 of file collide.H. Referenced by buildCollisionList(). |
|
Definition at line 60 of file collide.H. Referenced by _update_scene(), and Collide(). |
|
Definition at line 64 of file collide.H. Referenced by _update_scene(). |
|
Definition at line 58 of file collide.H. Referenced by Collide(). |