]> 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 35a8c5115f3d872d5576cebd2ee64e2d675b4f85..a38f8f46da984b0882706db2768ddadef8cf4021 100644 (file)
@@ -48,17 +48,20 @@ Version:   $Revision$
 #include "vtkGObjectView.h"
 
 //Includes creaMaracasVisu
-#include <wxVtk3DBaseView.h>
+
+#include "vtkInteractorStyleBaseView.h"
 
 //Includes vtk
-#include <vtkRenderer.h>
 
 #include "vtkPolyDataMapper.h"
 #include "vtkActor.h"
-
+#include "vtkVectorText.h"
 #include "vtkRenderer.h"
 #include "vtkCellArray.h"
 
+#include "vtkTextActor3D.h"
+#include "vtkTextProperty.h"
+
 
 //Includes std
 #include <iostream>
@@ -76,21 +79,27 @@ namespace bbtk
                vtkGBlackBoxView();
                ~vtkGBlackBoxView();
                
-               //Public methods                        
+               //Public methods                
 
        private:
 
                //Private Attributes
+               vtkPoints *_pts;
+               vtkTextActor3D* _nameActor;
+               vtkTextActor3D* _typeActor;
 
                //Private Methods
+               void updatePositionTextActors(double xInic, double yInic, double zInic);
 
        protected:
 
                //Protected Attributes
                
                //Protected Methods
+               virtual void addVtkActors();
                virtual void createVtkObjects();
-               virtual void refresh();
+               virtual void update(int idController,int command);
+               virtual void updateColors();
        };