X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsVtkGUIEditorGraphic%2FGObjectController.h;h=ff37a2f7e8d641b5ae1eaa633cfe12f0a1a4e005;hb=511369e67cf26244fc8768a727a03f42ff42865f;hp=fed4a545c0675cf19d0feb92c931a18b7e7f926b;hpb=d108e756e1f5444e19b63ec457033b7518ba060e;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GObjectController.h b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GObjectController.h index fed4a54..ff37a2f 100644 --- a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GObjectController.h +++ b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GObjectController.h @@ -81,63 +81,39 @@ Version: $Revision$ #include namespace bbtk { - class GObjectController : public InteractorStyleMaracas { public: - //Constructors GObjectController( ); ~ GObjectController( ); - //Public methods - void setModelAndView( GObjectModel* model, vtkGObjectView* view ); - // Same type of the saved in the model of the graphical objects int getGObjectType( ); - - GObjectModel* getModel( ); + GObjectModel* getModel( ); vtkGObjectView* getView( ); - std::string getStatusText( ); - // Same ObjectID from the model int getId( ); void setId( int id ); - virtual void removeFromScene( ); - private: - //Attributes - - - //Private Methods - protected: - //Protected Attributes - - GObjectModel *_model; - vtkGObjectView *_view; - + GObjectModel *_model; + vtkGObjectView *_view; bool _isLeftClickDown; - //Protected Methods - // Methods from InteractorStyleMaracas virtual bool OnMouseMove( ); virtual bool OnLeftButtonDown( ); virtual bool OnLeftButtonUp( ); virtual bool OnLeftDClick( ); virtual bool OnMiddleButtonDown( ); - virtual void moveObject( int X, int Y ); - }; - - } // namespace bbtk #endif