* \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
-#include <wxVtk3DBaseView.h>
+
+#include "vtkInteractorStyleBaseView.h"
//Includes vtk
-#include <vtkRenderer.h>
#include "vtkPolyDataMapper.h"
#include "vtkActor.h"
-
+#include "vtkVectorText.h"
#include "vtkRenderer.h"
#include "vtkCellArray.h"
+#include "vtkTextActor3D.h"
+#include "vtkTextProperty.h"
+
//Includes std
#include <iostream>
namespace bbtk
{
- class vtkGBlackBoxView : public vtkGObjectView
+ class vtkGBlackBoxView : public vtkGBoxView
{
public:
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();
};