]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGObjectView.h
Updated Version with the moving of the objects updated and the background doesn't...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / vtkGObjectView.h
index 97ea5776d8723b60b4dad933af053dee161601af..3c6908a9605c3dd839a0ef34b8435d8b6aa970cf 100644 (file)
@@ -50,6 +50,7 @@ Version:   $Revision$
 
 //Includes creaMaracasVisu
 #include <wxVtkBaseView.h>
+#include <vtkInteractorStyleBaseView.h>
 
 //Includes vtk
 #include <vtkRenderer.h>
@@ -82,13 +83,17 @@ namespace bbtk
                virtual bool isPointInside(int X,int Y);
                virtual void moveObject(int X, int Y);
 
-               virtual void update(int command);
-               void isFirstDragging(bool param);
+               virtual void update(int idController,int command);
+               void setStartDragging(bool param);
+
+               void setState(int state);
+               int getState();
+               void setRefreshWaiting();
 
        private:
 
                //Private Attributes
-               bool _isFirstDragging;
+               bool _isStartDragging;
                double dragDifX;
                double dragDifY;
 
@@ -100,11 +105,14 @@ namespace bbtk
                //Protected Attributes
                wxVtkBaseView *_baseView;
                GObjectModel *_model;
-               vtkActor *_objectActor;
+               vtkActor *_objectBorderActor;
+               vtkActor *_fillBorderActor;
+               int  _state;
                
                //Protected Methods
                virtual void createVtkObjects();
                virtual void addVtkActors();
+               virtual void updateColors();
        };