2 //----------------------------------------------------------------------------------------------------------------
3 // Class definition include
4 //----------------------------------------------------------------------------------------------------------------
5 #include "ContourThing.h"
7 //----------------------------------------------------------------------------------------------------------------
8 // Class implementation
9 //----------------------------------------------------------------------------------------------------------------
10 /** @file ContourThing.cxx */
12 //------------------------------------------------------------------------------------------------------------
13 // Constructors & Destructors
14 //------------------------------------------------------------------------------------------------------------
17 * Creates a ContourThing
19 ContourThing :: ContourThing(manualContourModel * model)
25 * Destroys a ContourThing
27 ContourThing :: ~ContourThing()
32 //------------------------------------------------------------------------------------------------------------
34 //------------------------------------------------------------------------------------------------------------
39 std::string ContourThing :: getName()
47 void ContourThing :: setName(std::string aName)
52 manualContourModel * ContourThing ::getModel()
57 void ContourThing :: setModel(manualContourModel * model)
63 * Executes the given command if posible and returns is posible or not
64 * @param theSpecificCommand Is the specific command to execute
65 * @return Returns if the command was successfuly executed
67 bool ContourThing :: executeCommand (CommandObject * theSpecificCommand)
73 * Interprets the given command and constructs the opposite command for returning it
74 * @param theSpecificDOCommand Is the specific DO command
75 * @return Returns the UNDO command of the given one
77 CommandObject * ContourThing :: getUndoCommandOf(CommandObject * theSpecificDOCommand)
79 ExecutableCommand * unDOcommand = new ExecutableCommand("UNDO command");