svcore  1.9
SparseModel< PointType >::RelabelCommand Class Reference

Command to relabel a point. More...

#include <SparseModel.h>

Inheritance diagram for SparseModel< PointType >::RelabelCommand:
Collaboration diagram for SparseModel< PointType >::RelabelCommand:

List of all members.

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

Detailed Description

template<typename PointType>
class SparseModel< PointType >::RelabelCommand

Command to relabel a point.

Definition at line 255 of file SparseModel.h.


Constructor & Destructor Documentation

template<typename PointType>
SparseModel< PointType >::RelabelCommand::RelabelCommand ( SparseModel< PointType > *  model,
const PointType &  point,
QString  newLabel 
) [inline]

Member Function Documentation

template<typename PointType>
virtual QString SparseModel< PointType >::RelabelCommand::getName ( ) const [inline, virtual]

Implements Command.

Definition at line 265 of file SparseModel.h.

template<typename PointType>
virtual void SparseModel< PointType >::RelabelCommand::unexecute ( ) [inline, virtual]

Implements Command.

Definition at line 273 of file SparseModel.h.

References SparseModel< PointType >::RelabelCommand::execute().


Member Data Documentation

template<typename PointType>
SparseModel<PointType>* SparseModel< PointType >::RelabelCommand::m_model [private]

Definition at line 276 of file SparseModel.h.

Referenced by SparseModel< PointType >::RelabelCommand::execute().

template<typename PointType>
PointType SparseModel< PointType >::RelabelCommand::m_oldPoint [private]

Definition at line 277 of file SparseModel.h.

Referenced by SparseModel< PointType >::RelabelCommand::execute().

template<typename PointType>
PointType SparseModel< PointType >::RelabelCommand::m_newPoint [private]

The documentation for this class was generated from the following file: