]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GObjectController.h
The actual version updates the status bar with the highlighted object ... Also it...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / GObjectController.h
index a490e635007d4b7c0c6c9342bda14909021d459e..6c5fe8d0b189b312bacb604ec6bc05dc7d0d3382 100644 (file)
@@ -69,6 +69,13 @@ namespace bbtk
                //Public methods
 
                void setModelAndView(GObjectModel* model, vtkGObjectView* view);
+               int getGObjectType();
+               GObjectModel* getModel();
+               vtkGObjectView* getView();
+               std::string getStatusText();
+
+               int getId();
+               void setId(int id);
 
        private:
 
@@ -83,16 +90,19 @@ 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);
 
+
+
        };