X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FwxVtkSceneManager.h;h=fe5889c831a0ec357c4f3a2694a05dba54ee992e;hb=806f5f22eb6e0e3d33e9f5e63efc13bd16d616a7;hp=ac27e88e7467ef0f3fe5e2eb1d015207acd51671;hpb=7a77e00abe30e71c3a97f7a43b106c999ce9db87;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.h b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.h index ac27e88..fe5889c 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.h +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.h @@ -82,6 +82,8 @@ Version: $Revision$ //Includes std #include +#include +#include #include 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 objectsMap); + /// Duplicates Objects to current a diagram + void DuplicateObjects(std::map 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();