]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/wxVtkSceneManager.h
*** empty log message ***
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / wxVtkSceneManager.h
index f3383ed5600286c079a76898e64bcba9a93a76dc..d272f60ac5e2a37ee22782eb2fd78c5f0b0efc86 100644 (file)
@@ -43,20 +43,28 @@ Version:   $Revision$
 #ifndef __wxVtkSceneManager_h__
 #define __wxVtkSceneManager_h__
 
-//Includes Same project
-#include "VTKGObjectsFactory.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
 {
@@ -68,17 +76,28 @@ namespace bbtk
                ~wxVtkSceneManager();
 
                void configureBaseView();
-               void createGBlackBox();
+               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:
 
        };