 |
AGXDynamics
2.35.0.3
|
Go to the documentation of this file.
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 );
155 GeometryRefSet m_addGeometries;
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;
agx::SymmetricPair< Geometry * > SymmetricGeometryPtrPair
A std::pair, with both elements of the same type, and symmetric so (a, b) == (b, a)
Inheritance with partial specialization due to bug with ref_ptr containers.
agx::HashVector< SymmetricGeometryPtrPair, SymmetricGeometryRefPair > ExternallyReportedPairsContainer
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
Data storage for a collection of entity instances of a specified EntityModel.
Axis aligned bounding box implementation.
Vector containing 'raw' data.
#define AGXPHYSICS_EXPORT
A representation of a generic task.
agx::SymmetricPair< GeometryRef > SymmetricGeometryRefPair
Inheritance with partial specialization due to bug with ref_ptr containers.
The geometry representation used by the collision detection engine.
This class contains all Geometries and performs Broad Phase and Narrow Phase collision detection to c...
A component is an object containing other objects, enabling hierarchical structuring.
Pointer to a entity instance of type Physics.BroadPhasePair.
This namespace consists of a set of classes for handling geometric intersection tests including boole...
AGX_DECLARE_POINTER_TYPES(SpaceListener)
Inheritance with partial specialization due to bug with ref_ptr containers.