X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FwxVtkSceneManager.h;h=12c4fc4a31a3c9ff304dae64fc4b9709dbbd7808;hb=775c8164b5f679027b8bbafa97c0e0110711909b;hp=8924e50fba4169e4980821ac289bbdede5e18443;hpb=ec7fc3bf3cc44da7cb9f9b840391c2f44c52a875;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.h b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.h index 8924e50..12c4fc4 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.h +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.h @@ -84,7 +84,6 @@ Version: $Revision$ #include #include - namespace bbtk { class wxGEditorTabPanel; @@ -161,12 +160,15 @@ namespace bbtk void addObjects(std::map objectsMap); + //------- + // Makes a BlackBox Executable + bool MakeBoxExecutable();//DFCH //------- //Returns a string with the BBS script of the current diagram. std::string getDiagramBBS(bool wln=false); //Returns a string with the BBS script of the complex box. - std::string saveComplexBoxBBS(std::string cbName,std::string paName,std::string cbAuthor="",std::string cbCategory="",std::string cbDescription=""); + std::string saveComplexBoxBBS(); //Delete the object in the list of controllers with the id given by parameter. void deleteObject(int id); @@ -190,15 +192,25 @@ namespace bbtk std::string findANewNameForABox(); //------- - void SetComplexBoxName(std::string cbName); - void SetPackageName(std::string paName); - std::string GetComplexBoxName(); - std::string GetPackageName(); + void SetCbName(std::string cbNane); + void SetCbPackageName(std::string packagename); + void SetAuthor(std::string author); + void SetCategory(std::string category); + void SetDescription(std::string description); + + std::string GetCbName(); + std::string GetCbPackageName(); + std::string GetAuthor(); + std::string GetCategory(); + std::string GetDescription(); private: - std::string _complexBoxName; - std::string _packageName; + std::string _cbName; + std::string _cbPackageName; + std::string _Author; + std::string _Category; + std::string _Description; //wxPanel that uses the manager wxGEditorTabPanel *_parent;