svcore  1.9
SparseModel< PointType >::DeletePointCommand Class Reference

Command to remove a point, with undo. More...

#include <SparseModel.h>

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

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
 

Detailed Description

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

Command to remove a point, with undo.

Definition at line 201 of file SparseModel.h.

Constructor & Destructor Documentation

◆ DeletePointCommand()

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

Definition at line 204 of file SparseModel.h.

Member Function Documentation

◆ getName()

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

Implements Command.

Definition at line 208 of file SparseModel.h.

◆ execute()

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

◆ unexecute()

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

◆ getPoint()

template<typename PointType>
const PointType& SparseModel< PointType >::DeletePointCommand::getPoint ( ) const
inline

Member Data Documentation

◆ m_model

template<typename PointType>
SparseModel<PointType>* SparseModel< PointType >::DeletePointCommand::m_model
private

◆ m_point

template<typename PointType>
PointType SparseModel< PointType >::DeletePointCommand::m_point
private

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