svcore
1.9
|
Command to relabel a point. More...
#include <SparseModel.h>
Public Member Functions | |
RelabelCommand (SparseModel< PointType > *model, const PointType &point, QString newLabel) | |
virtual QString | getName () const |
virtual void | execute () |
virtual void | unexecute () |
Private Attributes | |
SparseModel< PointType > * | m_model |
PointType | m_oldPoint |
PointType | m_newPoint |
Command to relabel a point.
Definition at line 255 of file SparseModel.h.
SparseModel< PointType >::RelabelCommand::RelabelCommand | ( | SparseModel< PointType > * | model, |
const PointType & | point, | ||
QString | newLabel | ||
) | [inline] |
Definition at line 258 of file SparseModel.h.
References SparseModel< PointType >::RelabelCommand::m_newPoint.
virtual QString SparseModel< PointType >::RelabelCommand::getName | ( | ) | const [inline, virtual] |
Implements Command.
Definition at line 265 of file SparseModel.h.
virtual void SparseModel< PointType >::RelabelCommand::execute | ( | ) | [inline, virtual] |
Implements Command.
Definition at line 267 of file SparseModel.h.
References SparseModel< PointType >::RelabelCommand::m_model, SparseModel< PointType >::RelabelCommand::m_newPoint, and SparseModel< PointType >::RelabelCommand::m_oldPoint.
Referenced by SparseModel< PointType >::RelabelCommand::unexecute().
virtual void SparseModel< PointType >::RelabelCommand::unexecute | ( | ) | [inline, virtual] |
Implements Command.
Definition at line 273 of file SparseModel.h.
References SparseModel< PointType >::RelabelCommand::execute().
SparseModel<PointType>* SparseModel< PointType >::RelabelCommand::m_model [private] |
Definition at line 276 of file SparseModel.h.
Referenced by SparseModel< PointType >::RelabelCommand::execute().
PointType SparseModel< PointType >::RelabelCommand::m_oldPoint [private] |
Definition at line 277 of file SparseModel.h.
Referenced by SparseModel< PointType >::RelabelCommand::execute().
PointType SparseModel< PointType >::RelabelCommand::m_newPoint [private] |
Definition at line 278 of file SparseModel.h.
Referenced by SparseModel< PointType >::RelabelCommand::execute(), and SparseModel< PointType >::RelabelCommand::RelabelCommand().