]> 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 45dd9ec5a4e1094079aed55066c09fdbfe5acedb..ccbc264993b68fd6b5be0951989fd0146f7c0307 100644 (file)
@@ -69,12 +69,20 @@ 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:
 
                //Attributes
-               GObjectModel* _model;
-               vtkGObjectView* _view;
+               
                
 
                //Private Methods
@@ -82,14 +90,20 @@ namespace bbtk
        protected:
 
                //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);
+
+
 
        };