#include <ClusterMeshInterrogator.h>
Inheritance diagram for ClusterMeshInterrogator:


Public Types | |
| enum | ClusterPhase { INITIALIZE, ASSIGNNEWCENTERS, EXPANDCLUSTERS, FINDCLUSTERCENTERS } |
| different phase of the algorithm More... | |
Public Member Functions | |
| MAKE_PARTICLESTUFF_NAME () | |
| ClusterMeshInterrogator (Particles *ps=NULL) | |
| default constructor | |
| virtual void | cleanup () |
| cleanup does the clustering step | |
| virtual void | attachAttributes () |
| Attach all the attributes needed by the behavior. | |
| int | qlen () |
| parameters | |
| void | getq (double *q) |
| Get the parameters. | |
| void | setq (double *q) |
| Set particle stuff parameters. | |
| void | qname (char **qn) |
| Get the names of the parameters. | |
Public Attributes | |
| ClusterPhase | phase |
| std::vector< ClusterOpenMesh::FaceHandle > | clusterCenters |
| the position is stored in particle position this stores the face handles. | |
| std::vector< ClusterOpenMesh::FaceHandle > | costHeap |
| this vector will be used as a heap to do the Dijkstra walk | |
| std::vector< ClusterOpenMesh::FaceHandle > | lastFaceInCluster |
| stores the last face that is added to this cluster | |
| ClusterOpenMesh::FaceHandle | lastFace |
| last face that is added to the last iteration | |
| unsigned int | iteration |
| parameters | |
| unsigned int | minClusters |
| unsigned int | maxClusters |
| int | restartAlgorithm |
| SurfaceInterrogator * | surInt |
| pointer to the surface mesh | |
|
|
different phase of the algorithm
Definition at line 22 of file ClusterMeshInterrogator.h. |
|
|
default constructor
Definition at line 15 of file ClusterMeshInterrogator.cpp. References INITIALIZE, iteration, maxClusters, minClusters, phase, and restartAlgorithm. |
|
|
Attach all the attributes needed by the behavior. Defaults to a nop. Reimplemented from ParticleBehavior. Definition at line 25 of file ClusterMeshInterrogator.cpp. References ParticleStuff::attachAttribute(), ParticleBehavior::attachAttributes(), and surInt. |
|
|
cleanup does the clustering step
Reimplemented from ParticleBehavior. Definition at line 33 of file ClusterMeshInterrogator.cpp. References Particles::addParticle(), ASSIGNNEWCENTERS, Particles::clear(), clusterCenters, ClusterOpenMesh, costHeap, EXPANDCLUSTERS, FINDCLUSTERCENTERS, INITIALIZE, iteration, lastFace, lastFaceInCluster, maxClusters, ClusterMesh::mesh, minClusters, phase, ParticleBehavior::position, ParticleStuff::ps, ClusterMesh::removeCluster(), restartAlgorithm, ParticlePosition::setPosition(), Particles::size(), SurfaceInterrogator::surface, and surInt. |
|
|
Get the parameters. Defaults to no parameters. Reimplemented from ParticleStuff. Definition at line 192 of file ClusterMeshInterrogator.cpp. References iteration, maxClusters, minClusters, and restartAlgorithm. |
|
|
|
|
|
parameters
Reimplemented from ParticleStuff. Definition at line 188 of file ClusterMeshInterrogator.cpp. |
|
|
Get the names of the parameters. Defaults to no parameters. Reimplemented from ParticleStuff. Definition at line 206 of file ClusterMeshInterrogator.cpp. |
|
|
Set particle stuff parameters. Defaults to no parameters. Reimplemented from ParticleStuff. Definition at line 199 of file ClusterMeshInterrogator.cpp. References iteration, maxClusters, minClusters, and restartAlgorithm. |
|
|
the position is stored in particle position this stores the face handles.
Definition at line 26 of file ClusterMeshInterrogator.h. Referenced by cleanup(). |
|
|
this vector will be used as a heap to do the Dijkstra walk
Definition at line 29 of file ClusterMeshInterrogator.h. Referenced by cleanup(). |
|
|
parameters
Definition at line 38 of file ClusterMeshInterrogator.h. Referenced by cleanup(), ClusterMeshInterrogator(), getq(), and setq(). |
|
|
last face that is added to the last iteration
Definition at line 35 of file ClusterMeshInterrogator.h. Referenced by cleanup(). |
|
|
stores the last face that is added to this cluster
Definition at line 32 of file ClusterMeshInterrogator.h. Referenced by cleanup(). |
|
|
Definition at line 40 of file ClusterMeshInterrogator.h. Referenced by cleanup(), ClusterMeshInterrogator(), getq(), and setq(). |
|
|
Definition at line 39 of file ClusterMeshInterrogator.h. Referenced by cleanup(), ClusterMeshInterrogator(), getq(), and setq(). |
|
|
Definition at line 23 of file ClusterMeshInterrogator.h. Referenced by cleanup(), and ClusterMeshInterrogator(). |
|
|
Definition at line 41 of file ClusterMeshInterrogator.h. Referenced by cleanup(), ClusterMeshInterrogator(), getq(), and setq(). |
|
|
pointer to the surface mesh
Definition at line 44 of file ClusterMeshInterrogator.h. Referenced by attachAttributes(), and cleanup(). |
1.3.4