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


Public Member Functions | |
| DeletePointCommand (SparseModel< PointType > *model, const PointType &point) | |
| virtual QString | getName () const |
| virtual void | execute () |
| virtual void | unexecute () |
| const PointType & | getPoint () const |
Private Attributes | |
| SparseModel< PointType > * | m_model |
| PointType | m_point |
Command to remove a point, with undo.
Definition at line 201 of file SparseModel.h.
| SparseModel< PointType >::DeletePointCommand::DeletePointCommand | ( | SparseModel< PointType > * | model, |
| const PointType & | point | ||
| ) | [inline] |
Definition at line 204 of file SparseModel.h.
| virtual QString SparseModel< PointType >::DeletePointCommand::getName | ( | ) | const [inline, virtual] |
Implements Command.
Definition at line 208 of file SparseModel.h.
| virtual void SparseModel< PointType >::DeletePointCommand::execute | ( | ) | [inline, virtual] |
Implements Command.
Definition at line 210 of file SparseModel.h.
References SparseModel< PointType >::DeletePointCommand::m_model, and SparseModel< PointType >::DeletePointCommand::m_point.
| virtual void SparseModel< PointType >::DeletePointCommand::unexecute | ( | ) | [inline, virtual] |
Implements Command.
Definition at line 211 of file SparseModel.h.
References SparseModel< PointType >::DeletePointCommand::m_model, and SparseModel< PointType >::DeletePointCommand::m_point.
| const PointType& SparseModel< PointType >::DeletePointCommand::getPoint | ( | ) | const [inline] |
Definition at line 213 of file SparseModel.h.
References SparseModel< PointType >::DeletePointCommand::m_point.
Referenced by SparseModel< PointType >::EditCommand::addCommand().
SparseModel<PointType>* SparseModel< PointType >::DeletePointCommand::m_model [private] |
Definition at line 216 of file SparseModel.h.
Referenced by SparseModel< PointType >::DeletePointCommand::execute(), and SparseModel< PointType >::DeletePointCommand::unexecute().
PointType SparseModel< PointType >::DeletePointCommand::m_point [private] |
Definition at line 217 of file SparseModel.h.
Referenced by SparseModel< PointType >::DeletePointCommand::execute(), SparseModel< PointType >::DeletePointCommand::getPoint(), and SparseModel< PointType >::DeletePointCommand::unexecute().