X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FEditorGraphicBBS%2FbbsVtkGUIEditorGraphic%2FvtkGBlackBoxView.h;h=2d5ce85352a3aacde2a9fb14f2353bf4e2290150;hb=1b3060e78b445e19d51933556fb072cc90e30c99;hp=35a8c5115f3d872d5576cebd2ee64e2d675b4f85;hpb=64fc9f949ff91d6e9d448ca0567e6205ee4d5be4;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h index 35a8c51..2d5ce85 100644 --- a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h +++ b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h @@ -48,14 +48,12 @@ Version: $Revision$ #include "vtkGObjectView.h" //Includes creaMaracasVisu -#include //Includes vtk -#include #include "vtkPolyDataMapper.h" #include "vtkActor.h" - +#include "vtkVectorText.h" #include "vtkRenderer.h" #include "vtkCellArray.h" @@ -76,21 +74,28 @@ namespace bbtk vtkGBlackBoxView(); ~vtkGBlackBoxView(); - //Public methods + //Public methods private: //Private Attributes + vtkPoints *_pts; + vtkActor* _nameActor; + vtkActor* _typeActor; + vtkVectorText* _vectorNameText; + vtkVectorText* _vectorTypeText; //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 command); };