|
svcore
1.9
|
Command to add a point, with undo. More...
#include <SparseModel.h>


Public Member Functions | |
| AddPointCommand (SparseModel< PointType > *model, const PointType &point, QString name="") | |
| virtual QString | getName () const |
| virtual void | execute () |
| virtual void | unexecute () |
| const PointType & | getPoint () const |
Private Attributes | |
| SparseModel< PointType > * | m_model |
| PointType | m_point |
| QString | m_name |
Command to add a point, with undo.
Definition at line 174 of file SparseModel.h.
|
inline |
Definition at line 177 of file SparseModel.h.
|
inlinevirtual |
Implements Command.
Definition at line 182 of file SparseModel.h.
References SparseModel< PointType >::AddPointCommand::m_name.
|
inlinevirtual |
Implements Command.
Definition at line 186 of file SparseModel.h.
References SparseModel< PointType >::AddPointCommand::m_model, and SparseModel< PointType >::AddPointCommand::m_point.
|
inlinevirtual |
Implements Command.
Definition at line 187 of file SparseModel.h.
References SparseModel< PointType >::AddPointCommand::m_model, and SparseModel< PointType >::AddPointCommand::m_point.
|
inline |
Definition at line 189 of file SparseModel.h.
References SparseModel< PointType >::AddPointCommand::m_point.
Referenced by SparseModel< PointType >::EditCommand::addCommand().
|
private |
Definition at line 192 of file SparseModel.h.
Referenced by SparseModel< PointType >::AddPointCommand::execute(), and SparseModel< PointType >::AddPointCommand::unexecute().
|
private |
Definition at line 193 of file SparseModel.h.
Referenced by SparseModel< PointType >::AddPointCommand::execute(), SparseModel< PointType >::AddPointCommand::getPoint(), and SparseModel< PointType >::AddPointCommand::unexecute().
|
private |
Definition at line 194 of file SparseModel.h.
Referenced by SparseModel< PointType >::AddPointCommand::getName().