]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.h
This commit was manufactured by cvs2svn to create tag 'CREATOOLS_2-0-3'.
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / vtkGBlackBoxView.h
index 466fb002cbbfd1c837ab9ed47d26f6539dd36b0d..b17f19dbeca1e6274d8734885ef7f15d41f3a7ab 100644 (file)
@@ -35,17 +35,18 @@ Version:   $Revision$
 *  \brief Class bbtk::vtkGBlackBoxView : abstract black-box interface. 
 */
 
-/**
-* \class bbtk::vtkGBlackBoxView
-* \brief 
-*/
+/****
+* Design and Developpement of BBTK GEditor
+* Ricardo A Corredor J <ra.corredor67@uniandes.edu.co>
+* 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
@@ -71,7 +72,7 @@ Version:   $Revision$
 namespace bbtk
 {
 
-       class vtkGBlackBoxView : public vtkGObjectView
+       class vtkGBlackBoxView : public vtkGBoxView
        {
 
        public: 
@@ -85,11 +86,10 @@ namespace bbtk
        private:
 
                //Private Attributes
-               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,6 +99,7 @@ namespace bbtk
                virtual void addVtkActors();
                virtual void removeVtkActors();
                virtual void createVtkObjects();
+
                virtual void update(int idController,int command);
                virtual void updateColors();
        };