//Includes creaMaracasVisu
+#include "vtkInteractorStyleBaseView.h"
+
//Includes vtk
#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>
vtkGBlackBoxView();
~vtkGBlackBoxView();
- //Public methods
+ //Public methods
private:
//Private Attributes
+ vtkPoints *_pts;
+ vtkPoints *_ptsFill;
+ vtkTextActor3D* _nameActor;
+ vtkTextActor3D* _typeActor;
//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 idController,int command);
+ virtual void updateColors();
};