32 #ifndef WVERTEXPROPERTY_H_
33 #define WVERTEXPROPERTY_H_
36 #include "WNewVertex.h"
41 using namespace butterfly;
64 size_t getTriangleCount();
71 void attachTriangle(
size_t triangleID );
78 void detachTriangle(
size_t triangleID );
86 vector<size_t> getAttachedTriangles();
96 size_t getStencilNeighbourID(
size_t index );
106 void insertStencilNeighbourIDToFront(
size_t stencilNeighbourID );
115 void addStencilNeighbourIDToBack(
size_t stencilNeighbourID );
137 void setBoundClass(
int boundCountClass );
145 bool containsTriangle(
size_t triangleID );
154 void attachNewVertex(
size_t toID );
164 bool newVertexExists(
size_t toID );
173 WNewVertex* getNewVertexProperty(
size_t toID );
180 float getMaxNeighbourDistance();
187 float getSumNeighbourDistance();
194 void setMaxNeighbourDistance(
float maxNeighbourDistance );
201 void setSumNeighbourDistance(
float sumNeighbourDistance );
209 int getStencilNeighbourIndex(
size_t neighbourID );
220 std::vector<WNewVertex*> getNewVerticesToHigherNeighborID();
Object that contains all necessary properties of a vertex necessary for a sufficient analysis.
vector< size_t > m_stencilOnNeighbours
List that keeps neighbour vertices IDs sorted by the circular order.
float m_maxNeighbourDistance
Maximal Neighbor vertex distance to the current vertex.
std::vector< WNewVertex * > m_newVertices
List of attached new vertices of the current vertex.
float m_sumNeighbourDistance
Sum of all Neighbor vertex distances to the current vertex.
std::vector< size_t > m_attachedTriangle
List of attached triangles to the current vertex.
int m_boundClass
Depicts the Vertex' kind of bound iit lies on <0: Extraordinary case.
Depicts a point that is subdivided on a line between two vertices.