16 #ifndef AGXCOLLIDE_SWEEPANDPRUNE_H
17 #define AGXCOLLIDE_SWEEPANDPRUNE_H
76 virtual void run()
override;
99 void insertNewGeometries();
101 void tagRemovedBounds();
102 void sortAxis(
int axis);
103 void removeGeometries();
126 #if HASH_FOR_SWEEP == HASH_NEW
128 #elif HASH_FOR_SWEEP == HASH_OLD
139 std::priority_queue<agx::UInt32, std::deque<agx::UInt32>, queuecmp> m_holes;
143 typedef std::pair<GeometryRef, agx::UInt32> RemovedGeometry;
147 saptable m_contactTable;
148 saptable m_impactTable;
149 saptable m_separationTable;
152 void insertNewGeometry( Geometry* geom,
agx::UInt32 axis,
size_t insertIndex,
size_t endpointIndex );
156 RemovedGeometrySet m_removeGeometries;
160 size_t m_numBoxesAvailable;
161 size_t m_numEndpointsAvailable;
169 #if HASH_FOR_SWEEP == HASH_NEW
171 #elif HASH_FOR_SWEEP == HASH_OLD
176 ActivePairTable m_activePairs;
Inheritance with partial specialization due to bug with ref_ptr containers.
Data storage for a collection of entity instances of a specified EntityModel.
A component is an object containing other objects, enabling hierarchical structuring.
Pointer to a entity instance of type Physics.BroadPhasePair.
agx::SetVector< agx::ref_ptr< agxCollide::Geometry > > GeometryRefSet
#define AGXPHYSICS_EXPORT
A representation of a generic task.
The geometry representation used by the collision detection engine.
Vector containing 'raw' data.
This class contains all Geometries and performs Broad Phase and Narrow Phase collision detection to c...
agx::SymmetricPair< Geometry * > SymmetricGeometryPtrPair
agx::HashVector< SymmetricGeometryPtrPair, SymmetricGeometryRefPair > ExternallyReportedPairsContainer
agx::SymmetricPair< GeometryRef > SymmetricGeometryRefPair
Axis aligned bounding box implementation.
Inheritance with partial specialization due to bug with ref_ptr containers.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
AGX_DECLARE_POINTER_TYPES(SpaceListener)