Panda3D
Public Member Functions | Static Public Member Functions | Friends
CollisionGeom Class Reference

A special CollisionPolygon created just for the purpose of detecting collision against geometry. More...

#include "collisionGeom.h"

Inheritance diagram for CollisionGeom:
CollisionPolygon CollisionPlane CollisionSolid CopyOnWriteObject CachedTypedWritableReferenceCount TypedWritableReferenceCount TypedWritable ReferenceCount TypedObject MemoryBase MemoryBase

List of all members.

Public Member Functions

virtual TypeHandle force_init_type ()
virtual PStatCollectorget_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 PStatCollectorget_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 CollisionSolidmake_copy ()
virtual void output (ostream &out) const

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()

Friends

class CollisionTraverser

Detailed Description

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.


Member Function Documentation

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.

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.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations