]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GObjectController.h
Organizing code, the state now is in the view and the general render was simplified...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / GObjectController.h
index a490e635007d4b7c0c6c9342bda14909021d459e..873396e762f2f09cc939838652c5c3e34fbd13d5 100644 (file)
@@ -69,6 +69,12 @@ namespace bbtk
                //Public methods
 
                void setModelAndView(GObjectModel* model, vtkGObjectView* view);
+               int getGObjectType();
+               GObjectModel* getModel();
+               vtkGObjectView* getView();
+
+               int getId();
+               void setId(int id);
 
        private:
 
@@ -83,6 +89,7 @@ namespace bbtk
                //Protected Attributes 
                GObjectModel* _model;
                vtkGObjectView* _view;
+               int _id;
 
                //Protected Methods
                virtual bool  OnMouseMove();