]> 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 aea9ab9fb0c59e4d9d4f5d5543488128c94439f5..6c5fe8d0b189b312bacb604ec6bc05dc7d0d3382 100644 (file)
@@ -69,18 +69,40 @@ 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
 
        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 void moveObject(int X,int Y);
+
+
+
        };