25 #ifndef WFIBERACTIONREMOVEVERTEX_H 
   26 #define WFIBERACTIONREMOVEVERTEX_H 
   33 #include "../WFiberHandler.h" 
   34 #include "WFiberAction.h" 
   46     typedef std::shared_ptr< WFiberActionRemoveVertex > 
SPtr;
 
The action when removing a Vertex.
 
size_t m_position
The position of the vertex in the vertices vector.
 
virtual void redo()
Redos this action.
 
WFiberActionRemoveVertex(osg::Vec3 vertex, size_t fiberIdx, size_t position, WFiberHandler *fiberHandler)
Creates this action.
 
virtual void undo()
Undos this action.
 
std::shared_ptr< WFiberActionRemoveVertex > SPtr
A shared_ptr to this class.
 
WFiberHandler * m_fiberHandler
The WFiberHandler of the action.
 
osg::Vec3 m_vertex
The vertex to add.
 
size_t m_fiberIdx
The index of the fiber this vertex was added to.
 
~WFiberActionRemoveVertex()
Empty destructor.
 
Super class for the actions.
 
Handles the fibers of the WMPointsConnector.