SparseModel< PointType >::DeletePointCommand Class Reference

#include <SparseModel.h>

Inherits Command.

Inheritance diagram for SparseModel< PointType >::DeletePointCommand:

Inheritance graph
[legend]
Collaboration diagram for SparseModel< PointType >::DeletePointCommand:

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Command to remove a point, with undo.

Definition at line 180 of file 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


Constructor & Destructor Documentation

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

Definition at line 183 of file SparseModel.h.


Member Function Documentation

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

Implements Command.

Definition at line 187 of file SparseModel.h.

template<typename PointType>
virtual void SparseModel< PointType >::DeletePointCommand::execute (  )  [inline, virtual]

Implements Command.

Definition at line 189 of file SparseModel.h.

References SparseModel< PointType >::DeletePointCommand::m_model, and SparseModel< PointType >::DeletePointCommand::m_point.

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

Implements Command.

Definition at line 190 of file SparseModel.h.

References SparseModel< PointType >::DeletePointCommand::m_model, and SparseModel< PointType >::DeletePointCommand::m_point.

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

Definition at line 192 of file SparseModel.h.

References SparseModel< PointType >::DeletePointCommand::m_point.


Member Data Documentation

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

Definition at line 195 of file SparseModel.h.

Referenced by SparseModel< PointType >::DeletePointCommand::execute(), and SparseModel< PointType >::DeletePointCommand::unexecute().

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

Definition at line 196 of file SparseModel.h.

Referenced by SparseModel< PointType >::DeletePointCommand::execute(), SparseModel< PointType >::DeletePointCommand::getPoint(), and SparseModel< PointType >::DeletePointCommand::unexecute().


The documentation for this class was generated from the following file:
Generated on Wed Feb 20 15:45:35 2008 for SonicVisualiser by  doxygen 1.5.1