]> 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 6c5fe8d0b189b312bacb604ec6bc05dc7d0d3382..ccbc264993b68fd6b5be0951989fd0146f7c0307 100644 (file)
@@ -76,6 +76,8 @@ namespace bbtk
 
                int getId();
                void setId(int id);
+               
+               void removeFromScene();
 
        private:
 
@@ -90,7 +92,6 @@ namespace bbtk
                //Protected Attributes 
                GObjectModel* _model;
                vtkGObjectView* _view;
-               int _id;
                bool _isLeftClickDown;
 
                //Protected Methods
@@ -98,6 +99,7 @@ namespace bbtk
                virtual bool  OnLeftButtonDown(); 
                virtual bool  OnLeftButtonUp();
                virtual bool  OnLeftDClick();
+               virtual bool  OnMiddleButtonDown(); 
 
                virtual void moveObject(int X,int Y);