]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h
Now the contour is created from the center of the initial port
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / vtkGBlackBoxView.h
index 2d5ce85352a3aacde2a9fb14f2353bf4e2290150..a38f8f46da984b0882706db2768ddadef8cf4021 100644 (file)
@@ -49,6 +49,8 @@ Version:   $Revision$
 
 //Includes creaMaracasVisu
 
+#include "vtkInteractorStyleBaseView.h"
+
 //Includes vtk
 
 #include "vtkPolyDataMapper.h"
@@ -57,6 +59,9 @@ Version:   $Revision$
 #include "vtkRenderer.h"
 #include "vtkCellArray.h"
 
+#include "vtkTextActor3D.h"
+#include "vtkTextProperty.h"
+
 
 //Includes std
 #include <iostream>
@@ -80,10 +85,8 @@ namespace bbtk
 
                //Private Attributes
                vtkPoints *_pts;
-               vtkActor* _nameActor;
-               vtkActor* _typeActor;
-               vtkVectorText* _vectorNameText;
-               vtkVectorText* _vectorTypeText;
+               vtkTextActor3D* _nameActor;
+               vtkTextActor3D* _typeActor;
 
                //Private Methods
                void updatePositionTextActors(double xInic, double yInic, double zInic);
@@ -95,7 +98,8 @@ namespace bbtk
                //Protected Methods
                virtual void addVtkActors();
                virtual void createVtkObjects();
-               virtual void update(int command);
+               virtual void update(int idController,int command);
+               virtual void updateColors();
        };