creaContours_lib
|
#include <ContourWorkspace.h>
Public Member Functions | |
ContourWorkspace (OutlineModelManager *parent) | |
~ContourWorkspace () | |
virtual bool | executeCommand (CommandObject *theCommand, bool fromRegistration=false) |
virtual bool | executeCommandsQueue (std::deque< CommandObject * > &executionQueue, bool fromRegistration) |
void | spreadInDepth () |
void | setWorkingGroup (int theWorkingGroupKey, OutlineGroup *theGroup) |
int | getWorkingGroupKey () |
void | callOutline_Union_Of (std::vector< std::string > outlinesNamesToCall) |
void | callOutline_Intersection_Of (std::vector< std::string > outlinesNamesToCall) |
void | callOutline_Combination_Of (std::vector< std::string > outlinesNamesToCall) |
void | callOutline_Fragmentation_Of (std::vector< std::string > outlinesNamesToCall) |
void | callOutline_Agrupation_Of (std::vector< std::string > outlinesNamesToCall) |
bool | callREDO () |
bool | callUNDO () |
void | callRegisterCommand (CommandObject *doCommand, CommandObject *unDoCommand) |
CommandsHandler * | getCommandHandler () |
void | setCommandHandler (CommandsHandler *aCommHandler) |
Private Attributes | |
std::vector< std::string > | selectedOutlineskNames |
std::string | actualOutlinekName |
int | workingGroupKey |
OutlineModelManager * | theModelBoss |
CommandsHandler * | commHandler |
OutlineGroup * | actualGroup |
Definition at line 46 of file ContourWorkspace.h.
ContourWorkspace::ContourWorkspace | ( | OutlineModelManager * | parent | ) |
Definition at line 46 of file ContourWorkspace.cxx.
References commHandler, CommandsHandler::setModelBoss(), and theModelBoss.
ContourWorkspace::~ContourWorkspace | ( | ) |
Definition at line 56 of file ContourWorkspace.cxx.
void ContourWorkspace::callOutline_Agrupation_Of | ( | std::vector< std::string > | outlinesNamesToCall | ) |
Definition at line 166 of file ContourWorkspace.cxx.
void ContourWorkspace::callOutline_Combination_Of | ( | std::vector< std::string > | outlinesNamesToCall | ) |
Definition at line 147 of file ContourWorkspace.cxx.
void ContourWorkspace::callOutline_Fragmentation_Of | ( | std::vector< std::string > | outlinesNamesToCall | ) |
Definition at line 157 of file ContourWorkspace.cxx.
void ContourWorkspace::callOutline_Intersection_Of | ( | std::vector< std::string > | outlinesNamesToCall | ) |
Definition at line 137 of file ContourWorkspace.cxx.
void ContourWorkspace::callOutline_Union_Of | ( | std::vector< std::string > | outlinesNamesToCall | ) |
Definition at line 128 of file ContourWorkspace.cxx.
bool ContourWorkspace::callREDO | ( | ) |
Definition at line 175 of file ContourWorkspace.cxx.
References commHandler, and CommandsHandler::redo().
void ContourWorkspace::callRegisterCommand | ( | CommandObject * | doCommand, |
CommandObject * | unDoCommand | ||
) |
Definition at line 195 of file ContourWorkspace.cxx.
References commHandler, and CommandsHandler::registerCommand().
Referenced by OutlineModelManager::executeCommand_OutlineModel().
bool ContourWorkspace::callUNDO | ( | ) |
Definition at line 184 of file ContourWorkspace.cxx.
References commHandler, and CommandsHandler::undo().
|
virtual |
Implements ICommandsUser.
Definition at line 70 of file ContourWorkspace.cxx.
References OutlineModelManager::executeCommand(), and theModelBoss.
|
virtual |
Implements ICommandsUser.
Definition at line 80 of file ContourWorkspace.cxx.
References OutlineModelManager::executeCommandsQueue(), and theModelBoss.
CommandsHandler * ContourWorkspace::getCommandHandler | ( | ) |
Definition at line 203 of file ContourWorkspace.cxx.
References commHandler.
int ContourWorkspace::getWorkingGroupKey | ( | ) |
Definition at line 119 of file ContourWorkspace.cxx.
References workingGroupKey.
void ContourWorkspace::setCommandHandler | ( | CommandsHandler * | aCommHandler | ) |
Definition at line 208 of file ContourWorkspace.cxx.
References commHandler.
void ContourWorkspace::setWorkingGroup | ( | int | theWorkingGroupKey, |
OutlineGroup * | theGroup | ||
) |
Definition at line 109 of file ContourWorkspace.cxx.
References actualGroup, and workingGroupKey.
void ContourWorkspace::spreadInDepth | ( | ) |
Method that propagates an outline over the deep concept of the axe
Definition at line 88 of file ContourWorkspace.cxx.
|
private |
Definition at line 181 of file ContourWorkspace.h.
Referenced by setWorkingGroup().
|
private |
Definition at line 173 of file ContourWorkspace.h.
|
private |
Definition at line 179 of file ContourWorkspace.h.
Referenced by callREDO(), callRegisterCommand(), callUNDO(), ContourWorkspace(), getCommandHandler(), and setCommandHandler().
|
private |
Definition at line 171 of file ContourWorkspace.h.
|
private |
Definition at line 177 of file ContourWorkspace.h.
Referenced by ContourWorkspace(), executeCommand(), and executeCommandsQueue().
|
private |
Definition at line 175 of file ContourWorkspace.h.
Referenced by getWorkingGroupKey(), and setWorkingGroup().