X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsVtkGUIEditorGraphic%2FvtkGBlackBoxView.h;h=b17f19dbeca1e6274d8734885ef7f15d41f3a7ab;hb=refs%2Ftags%2FCREATOOLS_2-0-3;hp=18504607cb2325e76d57ca4a397f6a1affaa3176;hpb=d692e8eb4e546ccc9c69a8cc2f5d97be70752ddd;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h index 1850460..b17f19d 100644 --- a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h +++ b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h @@ -35,17 +35,19 @@ Version: $Revision$ * \brief Class bbtk::vtkGBlackBoxView : abstract black-box interface. */ -/** -* \class bbtk::vtkGBlackBoxView -* \brief -*/ +/**** +* Design and Developpement of BBTK GEditor +* Ricardo A Corredor J +* RaC - 2010 +****/ #ifndef __vtkGBlackBoxView_h__ #define __vtkGBlackBoxView_h__ //Includes same project #include "GlobalConstants.h" -#include "vtkGObjectView.h" +#include "vtkGBoxView.h" +#include "GBlackBoxModel.h" //Includes creaMaracasVisu @@ -70,7 +72,7 @@ Version: $Revision$ namespace bbtk { - class vtkGBlackBoxView : public vtkGObjectView + class vtkGBlackBoxView : public vtkGBoxView { public: @@ -84,14 +86,10 @@ namespace bbtk private: //Private Attributes - vtkPoints *_pts; - vtkPoints *_ptsFill; - vtkPolyDataMapper* bboxMapperFill; - vtkTextActor3D* _nameActor; - vtkTextActor3D* _typeActor; + vtkTextActor3D* _boxTextActor; //Private Methods - void updatePositionTextActors(double xInic, double yInic, double zInic); + void updatePositionTextActor(double xInic, double yInic, double zInic); protected: @@ -99,7 +97,9 @@ namespace bbtk //Protected Methods virtual void addVtkActors(); + virtual void removeVtkActors(); virtual void createVtkObjects(); + virtual void update(int idController,int command); virtual void updateColors(); };