14 #ifndef COLLISIONGEOM_H 15 #define COLLISIONGEOM_H 41 virtual void output(std::ostream &out)
const;
51 static void init_type() {
52 CollisionPolygon::init_type();
54 CollisionPolygon::get_class_type());
57 return get_class_type();
59 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
The abstract base class for all things that can collide with other things in the world,...
virtual PStatCollector & get_test_pcollector()
Returns a PStatCollector that is used to count the number of intersection tests made against a solid ...
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A lightweight class that represents a single element that may be timed and/or counted via stats.
A special CollisionPolygon created just for the purpose of detecting collision against geometry.
This class manages the traversal through the scene graph to detect collisions.
virtual PStatCollector & get_volume_pcollector()
Returns a PStatCollector that is used to count the number of bounding volume tests made against a sol...
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.