]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GObjectController.h
Updated Version with the moving of the objects updated and the background doesn't...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / GObjectController.h
index a490e635007d4b7c0c6c9342bda14909021d459e..664ad9afe6666c37302622d48c64c854072a78f3 100644 (file)
@@ -69,6 +69,12 @@ namespace bbtk
                //Public methods
 
                void setModelAndView(GObjectModel* model, vtkGObjectView* view);
+               int getGObjectType();
+               GObjectModel* getModel();
+               vtkGObjectView* getView();
+
+               int getId();
+               void setId(int id);
 
        private:
 
@@ -83,13 +89,14 @@ namespace bbtk
                //Protected Attributes 
                GObjectModel* _model;
                vtkGObjectView* _view;
+               int _id;
+               bool _isLeftClickDown;
 
                //Protected Methods
                virtual bool  OnMouseMove();
                virtual bool  OnLeftButtonDown(); 
                virtual bool  OnLeftButtonUp();
                virtual bool  OnLeftDClick();
-               virtual bool  OnRightButtonDown();
 
                virtual void moveObject(int X,int Y);