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