]> 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 9c5403b4c4e979a75d3ad59049ed46b62f45b87f..6c5fe8d0b189b312bacb604ec6bc05dc7d0d3382 100644 (file)
@@ -69,12 +69,18 @@ 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:
 
                //Attributes
-               GObjectModel* _model;
-               vtkGObjectView* _view;
+               
                
 
                //Private Methods
@@ -82,17 +88,20 @@ namespace bbtk
        protected:
 
                //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  OnMiddleButtonDown(); 
-               virtual bool  OnMiddleButtonUp();
-               virtual bool  OnRightButtonDown();
-               virtual bool  OnRightButtonUp();
+
+               virtual void moveObject(int X,int Y);
+
+
 
        };