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


It is an extension of the gmMesh, since a ParticleVertex contains position and normal information just as a gmVertex does. Methods which access position and normal info are overrided to act on particle members.
Definition at line 24 of file ParticleVertex.h.
Public Member Functions | |
| ParticleVertex (SurfaceParticle *p) | |
| Constructor. | |
| gmVector3 & | getPosition () |
| Returns the particle position. | |
| gmVector3 & | getNormal () |
| Returns the particle normal. | |
| BOOL | getNeighbors (std::vector< ParticleVertex * > *nbors) |
| Get neighboring particle vertices. | |
| ParticleEdge * | findEdge (const NhalfEdgeVertex *vertex) |
| Find an edge. | |
| ParticleEdge * | findDirectedEdge (const NhalfEdgeVertex *vertex) |
| Find a directed edge. | |
Private Attributes | |
| SurfaceParticle * | particle |
| The particle at this vertex. | |
|
|
Constructor. A particle is required to create a particle vertex.
Definition at line 14 of file ParticleVertex.cpp. References particle. |
|
|
Find a directed edge.
Reimplemented from gmVertex. Definition at line 64 of file ParticleVertex.h. References NhalfEdgeVertex::findDirectedEdge(), and vertex. |
|
|
Find an edge.
Reimplemented from gmVertex. Definition at line 53 of file ParticleVertex.h. References NhalfEdgeVertex::findEdge(), and vertex. |
|
|
Get neighboring particle vertices.
Definition at line 28 of file ParticleVertex.cpp. References BOOL, and NhalfEdgeVertex::getNeighbors(). |
|
|
Returns the particle normal.
Reimplemented from gmVertex. Definition at line 43 of file ParticleVertex.h. References particle. |
|
|
Returns the particle position.
Reimplemented from gmVertex. Definition at line 38 of file ParticleVertex.h. References particle. |
|
|
The particle at this vertex.
Definition at line 28 of file ParticleVertex.h. Referenced by getNormal(), getPosition(), and ParticleVertex(). |
1.3.4