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


Definition at line 17 of file mesh/ParticleMesh.h.
Public Member Functions | |
| ParticleVertex * | addVertex (SurfaceParticle *) |
| Adds a new vertex with the given particle. | |
| MAKE_PARTICLESTUFF_NAME () | |
| ParticleMesh (Particles *ps=NULL) | |
| default constructor | |
| void | createDiamond (double size=10.0f) |
| create diamond | |
| virtual gmVector3 | getPosition (unsigned int i) |
| this gives a calling convertion for children to get the position of index i | |
| virtual void | setPosition (unsigned int i, gmVector3 p) |
| this gives a calling convertion for children to set the position of index i | |
| virtual void | clear () |
overloaded for gmVertex and gmEdge | |
| ParticleVertex * | addVertex () |
| create a new vertex in the mesh | |
| ParticleEdge * | addHalfEdge (ParticleVertex *v1, ParticleVertex *v2) |
| void | addVertex (ParticleVertex *vert) |
| void | addHalfEdge (ParticleEdge *edge) |
| ParticleVertex * | getFirstActiveVertex () |
| gets the first active vertex | |
| ParticleVertex * | getFirstActiveVertex (const U32 partition) |
| gets the first active vertex in a partition | |
| ParticleVertex * | collapseEdge (NhalfEdge *pCollapseEdge) |
| edge collapse for simplification and partitioning | |
| ParticleEdge * | uncollapseVertex (NhalfEdgeVertex *pVertex) |
| edge uncollapse for simplification and partitiong | |
| void | findMatching (std::vector< ParticleEdge * > *pMatchingArray) |
| void | getActiveEdgeList (std::vector< ParticleEdge * > *pEdgeArray) |
| void | getActiveVertexList (std::vector< ParticleVertex * > *pVertexArray) |
Public Attributes | |
| ParticleOpenMesh | mesh |
| Openmesh. | |
|
|
default constructor
Definition at line 12 of file NewParticleSystem/ParticleMesh.cpp. |
|
|
Definition at line 33 of file mesh/ParticleMesh.h. References NhalfEdgeMesh::addHalfEdge(), and edge. |
|
||||||||||||
|
Definition at line 27 of file mesh/ParticleMesh.h. References NhalfEdgeMesh::addHalfEdge(). |
|
|
Definition at line 31 of file mesh/ParticleMesh.h. References NhalfEdgeMesh::addVertex(). |
|
|
create a new vertex in the mesh
Reimplemented from gmMesh. Definition at line 25 of file mesh/ParticleMesh.h. |
|
|
Adds a new vertex with the given particle.
Definition at line 16 of file mesh/ParticleMesh.cpp. References NhalfEdgeMesh::addVertex(). |
|
|
Reimplemented from ParticlePosition. Definition at line 106 of file NewParticleSystem/ParticleMesh.cpp. References mesh. |
|
|
edge collapse for simplification and partitioning Creates a new vertex and deactivates old vertices. Also creates a new edges, and deactivates old ones. Allows for later uncollapse.
Reimplemented from gmMesh. Definition at line 43 of file mesh/ParticleMesh.h. References NhalfEdgeMesh::collapseEdge(). |
|
|
create diamond
Definition at line 17 of file NewParticleSystem/ParticleMesh.cpp. References Particles::addParticle(), mesh, and ParticleStuff::ps. Referenced by TopologyInterrogator::cleanup(). |
|
|
Definition at line 51 of file mesh/ParticleMesh.h. References NhalfEdgeMesh::findMatching(). |
|
|
Definition at line 60 of file mesh/ParticleMesh.h. References NhalfEdgeMesh::getActiveEdgeList(). |
|
|
Definition at line 69 of file mesh/ParticleMesh.h. References NhalfEdgeMesh::getActiveVertexList(). |
|
|
gets the first active vertex in a partition
Reimplemented from gmMesh. Definition at line 39 of file mesh/ParticleMesh.h. References NhalfEdgeMesh::getFirstActiveVertex(), and U32. |
|
|
gets the first active vertex
Reimplemented from gmMesh. Definition at line 35 of file mesh/ParticleMesh.h. References NhalfEdgeMesh::getFirstActiveVertex(). |
|
|
this gives a calling convertion for children to get the position of index i
Reimplemented from ParticlePosition. Definition at line 94 of file NewParticleSystem/ParticleMesh.cpp. References mesh. |
|
|
Reimplemented from ParticlePosition. |
|
||||||||||||
|
this gives a calling convertion for children to set the position of index i
Reimplemented from ParticlePosition. Definition at line 87 of file NewParticleSystem/ParticleMesh.cpp. References mesh. |
|
|
edge uncollapse for simplification and partitiong
Reimplemented from gmMesh. Definition at line 47 of file mesh/ParticleMesh.h. References NhalfEdgeMesh::uncollapseVertex(). |
|
|
Openmesh.
Definition at line 18 of file NewParticleSystem/ParticleMesh.h. Referenced by MeshShape::applyConstraint(), SkinMeshShape::applyForce(), MeshShape::applyForce(), SkinMeshShape::calculateTargetEdgeLength(), SkinMeshShape::cleanup(), MeshShape::cleanup(), clear(), createDiamond(), ParticleShaderTriangle::draw(), getPosition(), and setPosition(). |
1.3.4