]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GObjectController.h
Implemented deleting of boxes from the scene....
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / GObjectController.h
index a490e635007d4b7c0c6c9342bda14909021d459e..ccbc264993b68fd6b5be0951989fd0146f7c0307 100644 (file)
@@ -69,6 +69,15 @@ 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);
+               
+               void removeFromScene();
 
        private:
 
@@ -83,16 +92,19 @@ namespace bbtk
                //Protected Attributes 
                GObjectModel* _model;
                vtkGObjectView* _view;
+               bool _isLeftClickDown;
 
                //Protected Methods
                virtual bool  OnMouseMove();
                virtual bool  OnLeftButtonDown(); 
                virtual bool  OnLeftButtonUp();
                virtual bool  OnLeftDClick();
-               virtual bool  OnRightButtonDown();
+               virtual bool  OnMiddleButtonDown(); 
 
                virtual void moveObject(int X,int Y);
 
+
+
        };