]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGObjectView.h
The actual version updates the status bar with the highlighted object ... Also it...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / vtkGObjectView.h
index e15232f4bf16368250bd8bfc4af2361eef00a51f..691d2ef3290690c5887ebc58badc5272d261222d 100644 (file)
@@ -50,6 +50,7 @@ Version:   $Revision$
 
 //Includes creaMaracasVisu
 #include <wxVtkBaseView.h>
+#include <vtkInteractorStyleBaseView.h>
 
 //Includes vtk
 #include <vtkRenderer.h>
@@ -82,8 +83,12 @@ namespace bbtk
                virtual bool isPointInside(int X,int Y);
                virtual void moveObject(int X, int Y);
 
-               virtual void update(int command);
-               void isStartDragging(bool param);
+               virtual void update(int idController,int command);
+               void setStartDragging(bool param);
+
+               void setState(int state);
+               int getState();
+               void setRefreshWaiting();
 
        private:
 
@@ -100,11 +105,17 @@ namespace bbtk
                //Protected Attributes
                wxVtkBaseView *_baseView;
                GObjectModel *_model;
-               vtkActor *_objectActor;
+               vtkActor *_borderObjectActor;
+               vtkActor *_fillObjectActor;
+               vtkPolyDataMapper* _fillPolyMapper;
+               vtkPolyDataMapper* _borderPolyMapper;
+               vtkPoints *_pts;
+               int  _state;
                
                //Protected Methods
                virtual void createVtkObjects();
                virtual void addVtkActors();
+               virtual void updateColors();
        };