#include <collisiondetectors/CD_Solid.h>
Inherits CD_BasicStyle, and CD_LinearContinuous.
Inheritance diagram for CD_Solid:


Public Member Functions | |
| CD_Solid (Universe &universe) | |
| CD_Solid (const CD_Solid &right) | |
| virtual | ~CD_Solid () |
| virtual CollisionDetectorBase * | Clone () const |
| virtual bool | IsInterfering (const Configuration &config) |
| bool | AddEntityToSolid (const Entity *entity) |
| int | AddMeshToSolid (const Mesh &mesh) |
| void | SetCollidingPairs () const |
| virtual void | ActivateFrames (const unsigned int frame1, const unsigned int frame2) |
| virtual void | DeactivateFrames (const unsigned int frame1, const unsigned int frame2) |
Static Public Member Functions | |
| static unsigned int | GetNewIndex () |
Protected Member Functions | |
| int | AddCylinderToSolid (const MPK_Cylinder *cylinder) |
| void | MarkIndexEntityRelationship (int index, const Entity *entity) |
Protected Attributes | |
| std::vector< const Mesh * > | meshes |
Private Attributes | |
| std::vector< unsigned int > | indexes |
| std::vector< std::set< unsigned int > > | frameSolid |
| int | collisionDetectorID |
| std::vector< void * > | shapeIDs |
Static Private Attributes | |
| static std::set< unsigned int > | allIndexesGlobal |
| static unsigned int | firstUnusedIndex = 0 |
| static int | activeCollisionDetector = -1 |
| static int | maxCollisionDetector = -1 |
| static int | currentCollisionDetectorID = -1 |
Definition at line 54 of file CD_Solid.h.
|
|
Definition at line 72 of file CD_Solid.cpp. References AddEntityToSolid(), CollisionDetectorBase::allGeometryUsed, CD_BasicStyle::entities, maxCollisionDetector, and CD_BasicStyle::theFrameManager. Referenced by Clone(). Here is the call graph for this function: ![]() |
|
|
Definition at line 97 of file CD_Solid.cpp. |
|
|
Definition at line 114 of file CD_Solid.cpp. |
|
||||||||||||
|
Reimplemented from CD_BasicStyle. Definition at line 358 of file CD_Solid.cpp. |
|
|
Definition at line 419 of file CD_Solid.cpp. |
|
|
Definition at line 199 of file CD_Solid.cpp. References AddMeshToSolid(), and ObjectGroup::Size(). Referenced by CD_Solid(). Here is the call graph for this function: ![]() |
|
|
Definition at line 264 of file CD_Solid.cpp. Referenced by AddEntityToSolid(). |
|
|
Implements CD_BasicStyle. Definition at line 144 of file CD_Solid.cpp. References CD_Solid(). Here is the call graph for this function: ![]() |
|
||||||||||||
|
Reimplemented from CD_BasicStyle. Definition at line 391 of file CD_Solid.cpp. |
|
|
Definition at line 349 of file CD_Solid.cpp. References firstUnusedIndex. |
|
|
Implements CD_Bool. Definition at line 154 of file CD_Solid.cpp. |
|
||||||||||||
|
Definition at line 435 of file CD_Solid.cpp. References allIndexesGlobal, Entity::BaseFrame(), firstUnusedIndex, frameSolid, and indexes. Here is the call graph for this function: ![]() |
|
|
Definition at line 308 of file CD_Solid.cpp. |
|
|
Definition at line 145 of file CD_Solid.h. |
|
|
Definition at line 125 of file CD_Solid.h. Referenced by MarkIndexEntityRelationship(). |
|
|
Definition at line 155 of file CD_Solid.h. |
|
|
Definition at line 160 of file CD_Solid.h. |
|
|
Definition at line 135 of file CD_Solid.h. Referenced by GetNewIndex(), and MarkIndexEntityRelationship(). |
|
|
Definition at line 140 of file CD_Solid.h. Referenced by MarkIndexEntityRelationship(). |
|
|
Definition at line 130 of file CD_Solid.h. Referenced by MarkIndexEntityRelationship(). |
|
|
Definition at line 150 of file CD_Solid.h. Referenced by CD_Solid(). |
|
|
Definition at line 111 of file CD_Solid.h. |
|
|
Definition at line 165 of file CD_Solid.h. |
1.4.6-NO