X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FEditorGraphicBBS%2FbbsVtkGUIEditorGraphic%2FvtkGBlackBoxView.h;h=4391d61ae561ef8003d25cbfce7158541a27d304;hb=99033f029e92e00ac248e3fcac892b807b68e11f;hp=05a536a0b23b1ffae4ad7d7a17767d722a7af5f7;hpb=0b3b25440d23eabf549ebdfa0a4a39ea91ea2f23;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h index 05a536a..4391d61 100644 --- a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h +++ b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h @@ -46,17 +46,23 @@ Version: $Revision$ //Includes same project #include "GlobalConstants.h" #include "vtkGObjectView.h" +#include "GBlackBoxModel.h" //Includes creaMaracasVisu +#include "vtkInteractorStyleBaseView.h" + //Includes vtk #include "vtkPolyDataMapper.h" #include "vtkActor.h" - +#include "vtkVectorText.h" #include "vtkRenderer.h" #include "vtkCellArray.h" +#include "vtkTextActor3D.h" +#include "vtkTextProperty.h" + //Includes std #include @@ -79,17 +85,22 @@ namespace bbtk private: //Private Attributes - vtkPoints *_pts; + vtkTextActor3D* _boxTextActor; //Private Methods + void updatePositionTextActor(double xInic, double yInic, double zInic); protected: //Protected Attributes //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(); + void updatePorts(); };