25 #include "WNewVertex.h"
void setNewVertexID(size_t newVertexID)
Sets the proposed ID for that new vertex.
virtual ~WNewVertex()
Destroys the new vertex property.
osg::Vec3 m_coordinate
Coordinate of the new vertex.
size_t getToID()
Returns the second vertex ID where the new vertex lies between these two points.
bool m_isValid
Property whether the new vertex is valid for subdivision.
size_t getNewVertexID()
Returns the proposed ID of that new vertex.
void setValid(bool isValid)
Sets the new vertex property whether it's valid for butterfly subdivision or not.
osg::Vec3 getCoordinate()
Returns coordinates of the new vertex.
bool isValid()
Returns whether the new vertex is marked to be valid for the butterfly subdivison of a line between t...
size_t m_newVertexID
ID the new vertex is proposed to have in the final triangle mesh.
void setCoordinate(osg::Vec3 coordinate)
Sets coordinates of the new vertex.
WNewVertex(size_t toID)
Initializes properties of a new vertex with all its necessary parameters.
size_t m_toID
The id of the second vertex the new vertex is connected to.