]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.h
Compilation problems corrections:
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxVtkSceneManager.h
index ac27e88e7467ef0f3fe5e2eb1d015207acd51671..fe5889c831a0ec357c4f3a2694a05dba54ee992e 100644 (file)
@@ -82,6 +82,8 @@ Version:   $Revision$
 
 //Includes std
 #include <iostream>
+#include <string>
+#include <sstream>
 #include <map>
 
 namespace bbtk
@@ -107,6 +109,8 @@ namespace bbtk
                virtual bool OnLeftButtonUp();
                virtual bool OnRightButtonUp();
                virtual bool OnLeftDClick();
+                virtual bool OnMiddleButtonDown(); ///JLGR 21-05-2012
+                virtual bool OnMiddleButtonUp(); ///JLGR 21-05-2012
 
                //-------
                int createGBlackBox(int x, int y, std::string packageName, std::string boxType );
@@ -159,7 +163,12 @@ namespace bbtk
                //Add a map of object controllers
                void addObjects(std::map<int,GObjectController*> objectsMap);
 
+                /// Duplicates Objects to current a diagram
+                void DuplicateObjects(std::map<int,GObjectController*> objectsMap);///JLGR 21-05-2012
 
+               //-------
+               // Makes a BlackBox Executable
+               bool MakeBoxExecutable();//DFCH
                //-------
                //Returns a string with the BBS script of the current diagram.
                std::string getDiagramBBS(bool wln=false);
@@ -179,7 +188,7 @@ namespace bbtk
                void saveDiagram(std::string &content);
 
                //Load the diagram
-               void loadDiagram(ifstream &inputStream);
+               void loadDiagram(std::stringstream &inputStream);
 
                //Center the view of the camera in the initial position
                void centerView();