AGX Dynamics  2.35.0.1
agx_hash_types.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2022. Algoryx Simulation AB.
3 
4 All AGX source code, intellectual property, documentation, sample code,
5 tutorials, scene files and technical white papers, are copyrighted, proprietary
6 and confidential material of Algoryx Simulation AB. You may not download, read,
7 store, distribute, publish, copy or otherwise disseminate, use or expose this
8 material unless having a written signed agreement with Algoryx Simulation AB, or having been
9 advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10 valid commercial license from Algoryx Simulation AB.
11 
12 Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13 from using this software, unless otherwise stated in written agreements with
14 Algoryx Simulation AB.
15 */
16 
17 #ifndef AGX_HASH_TYPES_H
18 #define AGX_HASH_TYPES_H
19 
20 #include <agx/agx.h>
21 
22 
23 #include <agx/HashTable.h>
24 #include <agx/HashSet.h>
25 
26 #include <agx/agx_vector_types.h>
27 
28 namespace agx
29 {
30 
31  // Types using HashTable
32  class Interaction;
33  class RigidBody;
34  class Constraint;
35  class ParticleSystem;
36  class ParticleEmitter;
37  class ParticleSink;
38  class ConstraintImplementation;
39 
40  class Attachment;
41 
42  //typedef HashTable< Interaction *, ref_ptr< Interaction> > InteractionTable;
44  //typedef HashTable< Constraint*, ref_ptr<Constraint> > ConstraintTable;
52 
53 
56  class FluidHasher;
58 
60 }
61 
62 #endif
Inheritance with partial specialization due to bug with ref_ptr containers.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
HashTable< RigidBody *, ref_ptr< RigidBody > > RigidBodyTable
HashTable< RigidBody *, Vec3 > RigidBodyPtrVec3Hash
HashTable< RigidBody *, int > RigidBodyPtrIntHash
HashTable< ParticleSystem *, ref_ptr< ParticleSystem > > ParticleSystemTable
agx::HashSet< agx::Index > IndexHashSet
agx::HashTable< int, ConstraintImplementation * > ConstraintImplementationHashTable
HashTable< RigidBody *, FluidContactVector *, FluidHasher > FluidParticleHash
HashTable< ConstraintImplementation *, int > ConstraintImplementationPtrIntHashTable
HashTable< RigidBody *, Real > RigidBodyPtrRealHash
HashTable< ParticleEmitter *, ref_ptr< ParticleEmitter > > ParticleEmitterTable
agx::HashTable< RigidBody *, Attachment * > RigidBodyPtrAttachmentPtrHashTable
HashTable< ParticleSink *, ref_ptr< ParticleSink > > ParticleSinkTable