Panda3D
|
A special CollisionPolygon created just for the purpose of detecting collision against geometry. More...
#include "collisionGeom.h"
Public Member Functions | |
virtual TypeHandle | force_init_type () |
virtual PStatCollector & | get_test_pcollector () |
Returns a PStatCollector that is used to count the number of intersection tests made against a solid of this type in a given frame. | |
virtual TypeHandle | get_type () const |
virtual PStatCollector & | get_volume_pcollector () |
Returns a PStatCollector that is used to count the number of bounding volume tests made against a solid of this type in a given frame. | |
virtual CollisionSolid * | make_copy () |
virtual void | output (ostream &out) const |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
Friends | |
class | CollisionTraverser |
A special CollisionPolygon created just for the purpose of detecting collision against geometry.
This kind of object does not have any persistance in the scene graph; it is created on-the-fly.
You should not attempt to create one of these directly; it is created only by the CollisionTraverser, as needed.
Definition at line 33 of file collisionGeom.h.
PStatCollector & CollisionGeom::get_test_pcollector | ( | ) | [virtual] |
Returns a PStatCollector that is used to count the number of intersection tests made against a solid of this type in a given frame.
Reimplemented from CollisionPolygon.
Definition at line 51 of file collisionGeom.cxx.
PStatCollector & CollisionGeom::get_volume_pcollector | ( | ) | [virtual] |
Returns a PStatCollector that is used to count the number of bounding volume tests made against a solid of this type in a given frame.
Reimplemented from CollisionPolygon.
Definition at line 39 of file collisionGeom.cxx.