#include <GeneralParticleSystem.h>
Public Types | |
| typedef std::vector< Particle > | VOP |
| typedef std::vector< VOP > | VOVOP |
| typedef std::vector< VOVOP > | VOVOVOP |
Public Member Functions | |
| GeneralParticleSystem () | |
| Default constructor. | |
| virtual | ~GeneralParticleSystem () |
| Default destructor. | |
| int | getMaxX () |
| Return maximal X Value of the particles. | |
| int | getMaxY () |
| Return maximal Y Value of the particles. | |
| int | getMinX () |
| Return minimal X Value of the particles. | |
| int | getMinY () |
| Return minimal X Value of the particles. | |
| void | addParticle (Particle p) |
| Add a Particle to the ParticleStore. | |
| Particle & | getParticle (int i) |
| Get a Particle from the ParticleStore. | |
| Particle & | getParticleByID (unsigned long id) |
| Get a particle with a specified ID. | |
| void | removeParticle (int i) |
| Remove a particle from the ParticleStore. | |
| int | getNumOfParticles () |
| Return the number of particles in the ParticleStore. | |
| Particle & | operator[] (int i) |
| Return the particle in the store by the [] Operator. | |
| std::vector< std::vector< Particle > > | getCluster (unsigned int numberOfClusterToFind=4, int densityX=20, int densityY=20) |
| Return the clusterPoints of the Particles in the System. | |
Private Types | |
| typedef std::list< bestCellt > | LISTSTR |
Private Member Functions | |
| void | findMinMaxValuesInParticleStore () |
| Find the min / max values of the coordinates in the particle System. | |
Static Private Member Functions | |
| bool | DFBestCellGreater (bestCellt b, bestCellt a) |
Private Attributes | |
| std::vector< Particle > | particleStore |
| int | minX |
| int | minY |
| int | maxX |
| int | maxY |
|
|||||
|
Definition at line 49 of file GeneralParticleSystem.h. |
|
|||||
|
Definition at line 70 of file GeneralParticleSystem.h. |
|
|||||
|
Definition at line 71 of file GeneralParticleSystem.h. |
|
|||||
|
Definition at line 72 of file GeneralParticleSystem.h. Referenced by GPS::GeneralParticleSystem< Particle >::getCluster(). |
|
|||||||||
|
Default constructor.
Definition at line 78 of file GeneralParticleSystem.h. References GPS::GeneralParticleSystem< Particle >::maxY, and GPS::GeneralParticleSystem< Particle >::minY. |
|
|||||||||
|
Default destructor.
Definition at line 88 of file GeneralParticleSystem.h. |
|
||||||||||||||||
|
Definition at line 45 of file GeneralParticleSystem.h. References GPS::GeneralParticleSystem< Particle >::bestCellt::count. |
|
|||||||||
|
Find the min / max values of the coordinates in the particle System.
Definition at line 54 of file GeneralParticleSystem.h. References GPS::GeneralParticleSystem< Particle >::maxY, GPS::GeneralParticleSystem< Particle >::minY, and GPS::GeneralParticleSystem< Particle >::particleStore. Referenced by GPS::GeneralParticleSystem< Particle >::removeParticle(). |
|
|||||||||
|
Return maximal X Value of the particles.
Definition at line 95 of file GeneralParticleSystem.h. |
|
|||||||||
|
Return maximal Y Value of the particles.
Definition at line 102 of file GeneralParticleSystem.h. References GPS::GeneralParticleSystem< Particle >::maxY. |
|
|||||||||
|
Return minimal X Value of the particles.
Definition at line 109 of file GeneralParticleSystem.h. |
|
|||||||||
|
Return minimal X Value of the particles.
Definition at line 116 of file GeneralParticleSystem.h. References GPS::GeneralParticleSystem< Particle >::minY. |
|
||||||||||
|
Add a Particle to the ParticleStore.
Definition at line 123 of file GeneralParticleSystem.h. References GPS::GeneralParticleSystem< Particle >::maxY, GPS::GeneralParticleSystem< Particle >::minY, and GPS::GeneralParticleSystem< Particle >::particleStore. |
|
||||||||||
|
Get a Particle from the ParticleStore.
Definition at line 138 of file GeneralParticleSystem.h. References GPS::GeneralParticleSystem< Particle >::particleStore. Referenced by GPS::GeneralParticleSystem< Particle >::getCluster(), and GPS::GeneralParticleSystem< Particle >::operator[](). |
|
||||||||||
|
Get a particle with a specified ID.
Definition at line 145 of file GeneralParticleSystem.h. References GPS::GeneralParticleSystem< Particle >::particleStore. |
|
||||||||||
|
Remove a particle from the ParticleStore.
Definition at line 157 of file GeneralParticleSystem.h. References GPS::GeneralParticleSystem< Particle >::findMinMaxValuesInParticleStore(), and GPS::GeneralParticleSystem< Particle >::particleStore. |
Here is the call graph for this function:

|
|||||||||
|
Return the number of particles in the ParticleStore.
Definition at line 168 of file GeneralParticleSystem.h. References GPS::GeneralParticleSystem< Particle >::particleStore. Referenced by GPS::GeneralParticleSystem< Particle >::getCluster(). |
|
||||||||||
|
Return the particle in the store by the [] Operator.
Definition at line 175 of file GeneralParticleSystem.h. References GPS::GeneralParticleSystem< Particle >::getParticle(). |
Here is the call graph for this function:

|
||||||||||||||||||||
Here is the call graph for this function:

|
|||||
|
|||||
|
Definition at line 36 of file GeneralParticleSystem.h. |
|
|||||
|
|||||
|
Definition at line 36 of file GeneralParticleSystem.h. |
|
|||||
1.3.6