X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsVtkGUIEditorGraphic%2FGConnectorController.h;h=679c3ce017ab6253665d794776a192e03c53fbaf;hb=f6286f6851a4c0757cbacbee679d31bcc5a933bd;hp=fa92fc1c6650d8c9e380065ff0968071aea60663;hpb=4339183c287d12a0b68265ec017cb51e6b24e89a;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.h b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.h index fa92fc1..679c3ce 100644 --- a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.h +++ b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.h @@ -35,19 +35,22 @@ Version: $Revision$ * \brief Class bbtk::GConnectorController : abstract black-box interface. */ -/** -* \class bbtk::GConnectorController -* \brief -*/ +/**** +* Design and Developpement of BBTK GEditor +* Ricardo A Corredor J +* RaC - 2010 +****/ #ifndef __GConnectorController_h__ #define __GConnectorController_h__ //Includes same project +#include "GConnectorModel.h" #include "GObjectController.h" +#include "manualConnectorContourView.h" +#include "manualConnectorContourController.h" //Includes creaMaracasVisu -#include //Includes std #include @@ -65,7 +68,9 @@ namespace bbtk GConnectorController(); ~GConnectorController(); - //Public methods + //Public methods + + // Methods from InteractorStyleMaracas virtual bool OnMouseMove(); virtual bool OnLeftButtonDown(); virtual bool OnLeftButtonUp(); @@ -75,13 +80,21 @@ namespace bbtk virtual bool OnMiddleButtonDown(); virtual bool OnMiddleButtonUp(); - manualContourControler* getManualContourController(); - void setManualContourController(manualContourControler* controller); + // Implementation of the creaMaracasVisu controller + manualConnectorContourController* getManualContourController(); + void setManualContourController(manualConnectorContourController* controller); + + virtual void removeFromScene(); + + // Reports the end in the contour creation + void endContourCreation(); private: //Attributes - manualContourControler* _controller; + + // Implementation of the creaMaracasVisu contour (manualContourControler) controller + manualConnectorContourController* _controller; //Private Methods