X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsVtkGUIEditorGraphic%2FvtkGBlackBoxView.h;h=90494d9ac3976b2ce1130eedd6febb16e33f29de;hb=66d85963bdb3dea88f7d8e8931855d092629b37c;hp=35a8c5115f3d872d5576cebd2ee64e2d675b4f85;hpb=64fc9f949ff91d6e9d448ca0567e6205ee4d5be4;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h index 35a8c51..90494d9 100644 --- a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h +++ b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h @@ -45,20 +45,24 @@ Version: $Revision$ //Includes same project #include "GlobalConstants.h" -#include "vtkGObjectView.h" +#include "vtkGBoxView.h" +#include "GBlackBoxModel.h" //Includes creaMaracasVisu -#include + +#include "vtkInteractorStyleBaseView.h" //Includes vtk -#include #include "vtkPolyDataMapper.h" #include "vtkActor.h" - +#include "vtkVectorText.h" #include "vtkRenderer.h" #include "vtkCellArray.h" +#include "vtkTextActor3D.h" +#include "vtkTextProperty.h" + //Includes std #include @@ -67,7 +71,7 @@ Version: $Revision$ namespace bbtk { - class vtkGBlackBoxView : public vtkGObjectView + class vtkGBlackBoxView : public vtkGBoxView { public: @@ -76,21 +80,26 @@ namespace bbtk vtkGBlackBoxView(); ~vtkGBlackBoxView(); - //Public methods + //Public methods private: //Private Attributes + 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 refresh(); + virtual void update(int idController,int command); + virtual void updateColors(); };