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:

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

◆ RelabelCommand()

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

Member Function Documentation

◆ getName()

template<typename PointType>
virtual QString SparseModel< PointType >::RelabelCommand::getName ( ) const
inlinevirtual

Implements Command.

Definition at line 265 of file SparseModel.h.

◆ execute()

template<typename PointType>
virtual void SparseModel< PointType >::RelabelCommand::execute ( )
inlinevirtual

◆ unexecute()

template<typename PointType>
virtual void SparseModel< PointType >::RelabelCommand::unexecute ( )
inlinevirtual

Implements Command.

Definition at line 273 of file SparseModel.h.

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

Member Data Documentation

◆ m_model

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().

◆ m_oldPoint

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

Definition at line 277 of file SparseModel.h.

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

◆ m_newPoint

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

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