]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h
Organizing code, the state now is in the view and the general render was simplified...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / vtkGBlackBoxView.h
index 8114f51809a33761b1f9b3ae7a3f7252261a15d0..b64ce178d010cf228cff1eac2b258780f95b0cd2 100644 (file)
@@ -49,6 +49,8 @@ Version:   $Revision$
 
 //Includes creaMaracasVisu
 
+#include "vtkInteractorStyleBaseView.h"
+
 //Includes vtk
 
 #include "vtkPolyDataMapper.h"
@@ -83,13 +85,8 @@ namespace bbtk
 
                //Private Attributes
                vtkPoints *_pts;
-               vtkActor* _nameActor;
-               vtkActor* _typeActor;
-
-               //vtkVectorText* _vectorNameText;
-               vtkTextActor3D* _vectorNameText;
-
-               vtkVectorText* _vectorTypeText;
+               vtkTextActor3D* _nameActor;
+               vtkTextActor3D* _typeActor;
 
                //Private Methods
                void updatePositionTextActors(double xInic, double yInic, double zInic);
@@ -101,7 +98,8 @@ namespace bbtk
                //Protected Methods
                virtual void addVtkActors();
                virtual void createVtkObjects();
-               virtual void update(int command);
+               virtual void update(int idObservable,int command);
+               virtual void updateColors();
        };