X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsVtkGUIEditorGraphic%2FvtkGBlackBoxView.h;h=466fb002cbbfd1c837ab9ed47d26f6539dd36b0d;hb=a6d479881eeb637cd06afa3b2177e430fa05571e;hp=34b4c5bfa10d5cff23cfc52365163dae0dd99ccb;hpb=098558ac7780900858114a8ae01fe93847d67043;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h index 34b4c5b..466fb00 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 @@ -74,21 +80,27 @@ namespace bbtk vtkGBlackBoxView(); ~vtkGBlackBoxView(); - //Public methods + //Public methods private: //Private Attributes + vtkTextActor3D* _nameActor; + vtkTextActor3D* _typeActor; //Private Methods + void updatePositionTextActors(double xInic, double yInic, double zInic); protected: //Protected Attributes //Protected Methods + virtual void addVtkActors(); + virtual void removeVtkActors(); virtual void createVtkObjects(); - virtual void update(); + virtual void update(int idController,int command); + virtual void updateColors(); };