ContourWorkspace Class Reference

#include <ContourWorkspace.h>

Inheritance diagram for ContourWorkspace:

Inheritance graph
[legend]
Collaboration diagram for ContourWorkspace:

Collaboration graph
[legend]

List of all members.

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)
CommandsHandlergetCommandHandler ()
void setCommandHandler (CommandsHandler *aCommHandler)

Private Attributes

std::vector< std::string > selectedOutlineskNames
std::string actualOutlinekName
int workingGroupKey
OutlineModelManagertheModelBoss
CommandsHandlercommHandler
OutlineGroupactualGroup


Detailed Description

Definition at line 21 of file ContourWorkspace.h.


Constructor & Destructor Documentation

ContourWorkspace::ContourWorkspace ( OutlineModelManager parent  ) 

Definition at line 21 of file ContourWorkspace.cxx.

References commHandler, CommandsHandler::setModelBoss(), and theModelBoss.

00022         {
00023                 theModelBoss = parent;
00024                 commHandler = new CommandsHandler(); 
00025                 commHandler->setModelBoss(this);
00026         }

Here is the call graph for this function:

ContourWorkspace::~ContourWorkspace (  ) 

Definition at line 31 of file ContourWorkspace.cxx.

00032         {
00033 
00034         }


Member Function Documentation

void ContourWorkspace::callOutline_Agrupation_Of ( std::vector< std::string >  outlinesNamesToCall  ) 

Definition at line 141 of file ContourWorkspace.cxx.

00142         {
00143 
00144         }

void ContourWorkspace::callOutline_Combination_Of ( std::vector< std::string >  outlinesNamesToCall  ) 

Definition at line 122 of file ContourWorkspace.cxx.

00123         {
00124 
00125         }

void ContourWorkspace::callOutline_Fragmentation_Of ( std::vector< std::string >  outlinesNamesToCall  ) 

Definition at line 132 of file ContourWorkspace.cxx.

00133         {
00134 
00135         }

void ContourWorkspace::callOutline_Intersection_Of ( std::vector< std::string >  outlinesNamesToCall  ) 

Definition at line 112 of file ContourWorkspace.cxx.

00113         {
00114 
00115         }

void ContourWorkspace::callOutline_Union_Of ( std::vector< std::string >  outlinesNamesToCall  ) 

Definition at line 103 of file ContourWorkspace.cxx.

00104         {
00105 
00106         }

bool ContourWorkspace::callREDO (  ) 

Definition at line 150 of file ContourWorkspace.cxx.

References commHandler, and CommandsHandler::redo().

00151         {
00152                 return commHandler->redo();
00153         }

Here is the call graph for this function:

void ContourWorkspace::callRegisterCommand ( CommandObject doCommand,
CommandObject unDoCommand 
)

Definition at line 170 of file ContourWorkspace.cxx.

References commHandler, and CommandsHandler::registerCommand().

Referenced by OutlineModelManager::executeCommand_OutlineModel().

00171         {
00172                 commHandler->registerCommand( doCommand, unDoCommand );
00173         }

Here is the call graph for this function:

Here is the caller graph for this function:

bool ContourWorkspace::callUNDO (  ) 

Definition at line 159 of file ContourWorkspace.cxx.

References commHandler, and CommandsHandler::undo().

00160         {
00161                 return commHandler->undo();
00162         }

Here is the call graph for this function:

bool ContourWorkspace::executeCommand ( CommandObject theCommand,
bool  fromRegistration = false 
) [virtual]

Implements ICommandsUser.

Definition at line 45 of file ContourWorkspace.cxx.

References OutlineModelManager::executeCommand(), and theModelBoss.

00046         {
00047                 return theModelBoss->executeCommand(theCommand, fromRegistration);
00048         }

Here is the call graph for this function:

bool ContourWorkspace::executeCommandsQueue ( std::deque< CommandObject * > &  executionQueue,
bool  fromRegistration 
) [virtual]

Implements ICommandsUser.

Definition at line 55 of file ContourWorkspace.cxx.

References OutlineModelManager::executeCommandsQueue(), and theModelBoss.

00056         {
00057                 return theModelBoss->executeCommandsQueue(executionQueue, fromRegistration);
00058         }

Here is the call graph for this function:

CommandsHandler * ContourWorkspace::getCommandHandler (  ) 

Definition at line 178 of file ContourWorkspace.cxx.

References commHandler.

00179         {
00180                 return commHandler;
00181         }

int ContourWorkspace::getWorkingGroupKey (  ) 

Definition at line 94 of file ContourWorkspace.cxx.

References workingGroupKey.

00095         {
00096                 return workingGroupKey;
00097         }

void ContourWorkspace::setCommandHandler ( CommandsHandler aCommHandler  ) 

Definition at line 183 of file ContourWorkspace.cxx.

References commHandler.

00184         {
00185                 commHandler = aCommHandler;
00186         }

void ContourWorkspace::setWorkingGroup ( int  theWorkingGroupKey,
OutlineGroup theGroup 
)

Definition at line 84 of file ContourWorkspace.cxx.

References actualGroup, and workingGroupKey.

00085         {
00086                 workingGroupKey = theWorkingGroupKey;
00087                 actualGroup = theGroup;         
00088         }

void ContourWorkspace::spreadInDepth (  ) 

Method that propagates an outline over the deep concept of the axe

Definition at line 63 of file ContourWorkspace.cxx.

00064         {
00065                 //Getting the vector of the actual instant
00066 
00067                 //Getting the basic object name and patter to create the spreaded outlines
00068 
00069                 //Variating (i) the depth in the current axe, previously getting the axe size as maxmimum value conditioned by the imageSource deep in the axe direction
00070 
00071                 //Calling the creation of the section or plane and including it in the correspondig enviroment using the outlineManager for that
00072 
00073                 //Creating the (i-th) outline and including it in the correspondig enviroment using the outlineManager for that
00074 
00075                 //Including the (i-th) outline in a new propagation group calling the outlineManager
00076                 
00077         }


Member Data Documentation

Definition at line 156 of file ContourWorkspace.h.

Referenced by setWorkingGroup().

std::string ContourWorkspace::actualOutlinekName [private]

Definition at line 148 of file ContourWorkspace.h.

std::vector<std::string> ContourWorkspace::selectedOutlineskNames [private]

Definition at line 146 of file ContourWorkspace.h.

Definition at line 152 of file ContourWorkspace.h.

Referenced by ContourWorkspace(), executeCommand(), and executeCommandsQueue().

Definition at line 150 of file ContourWorkspace.h.

Referenced by getWorkingGroupKey(), and setWorkingGroup().


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

Generated on Wed Jun 27 23:28:33 2012 for creaContours_lib by  doxygen 1.5.7.1