]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/wxVtkSceneManager.h
*** empty log message ***
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / wxVtkSceneManager.h
index 7a0a5413ee4a66be8c3cee3ed416cecf7b2e5378..d272f60ac5e2a37ee22782eb2fd78c5f0b0efc86 100644 (file)
@@ -43,12 +43,28 @@ Version:   $Revision$
 #ifndef __wxVtkSceneManager_h__
 #define __wxVtkSceneManager_h__
 
+//Includes same project
+#include "GObjectsMVCFactory.h"
+
+//Includes bbtk
+#include <bbtkBlackBoxInputDescriptor.h>
+#include <bbtkBlackBoxDescriptor.h>
+
 //Includes creaMaracasVisu
 #include <wxVtk3DBaseView.h>
 #include <InteractorStyleMaracas.h>
+#include <vtkInteractorStyleBaseView2D.h>
+
+//Includes vtk
+#include <vtkRenderWindow.h>
+#include <vtkRenderWindowInteractor.h>
+#include <vtkRenderer.h>
+#include <vtkInteractorStyleImage.h>
 
 //Includes std
 #include <iostream>
+#include <map>
+
 
 namespace bbtk
 {
@@ -56,17 +72,32 @@ namespace bbtk
        class wxVtkSceneManager : public InteractorStyleMaracas 
        {
        public: 
-               wxVtkSceneManager(wxVtk3DBaseView *baseView, int id);
+               wxVtkSceneManager(wxDropTarget *parent, wxVtk3DBaseView *baseView, int id);
                ~wxVtkSceneManager();
 
                void configureBaseView();
-               //void addGBox(double x=0, double y=0);
+               void createGBlackBox(int x, int y,std::string packageName, std::string boxName);
+               void createGInputPort(BlackBoxInputDescriptor *desc,GBlackBoxModel *blackBox);
+               void createGOutputPort(BlackBoxOutputDescriptor *desc,GBlackBoxModel *blackBox);
+               void registerController(InteractorStyleMaracas *param);
+
+               vtkRenderWindow* getRenderWindow();
+               vtkRenderer* getRenderer();
+               void disconnectDrop();
+               virtual bool OnMouseMove();
+
                
        private:
 
                int _id;
                wxVtk3DBaseView *_baseView;
+               std::vector<GObjectModel*> objects;
+               std::vector<GObjectModel*> selectedObjects;
+
+               void refreshRenderWindow();
 
+               //ERASE
+               int cantTemp;
        protected:
 
        };