X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsVtkGUIEditorGraphic%2FvtkGBlackBoxView.h;h=466fb002cbbfd1c837ab9ed47d26f6539dd36b0d;hb=a6d479881eeb637cd06afa3b2177e430fa05571e;hp=8114f51809a33761b1f9b3ae7a3f7252261a15d0;hpb=5df5effdcd9f09c81c68fd63b1f0359593a823bd;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h index 8114f51..466fb00 100644 --- a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h +++ b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h @@ -46,9 +46,12 @@ Version: $Revision$ //Includes same project #include "GlobalConstants.h" #include "vtkGObjectView.h" +#include "GBlackBoxModel.h" //Includes creaMaracasVisu +#include "vtkInteractorStyleBaseView.h" + //Includes vtk #include "vtkPolyDataMapper.h" @@ -82,14 +85,8 @@ namespace bbtk private: //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); @@ -100,8 +97,10 @@ namespace bbtk //Protected Methods virtual void addVtkActors(); + virtual void removeVtkActors(); virtual void createVtkObjects(); - virtual void update(int command); + virtual void update(int idController,int command); + virtual void updateColors(); };