X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FEditorGraphicBBS%2FbbsKernelEditorGraphic%2FwxVtkSceneManager.h;h=86f24fdfab050a282ee3d0191117a56fd71c92da;hb=31dee6ade406b4b04ea61b9e6527b663e9ed6540;hp=118d136d2a9fec85a709ff4ab993e4ae252f5310;hpb=343ecf790a799b8089a6d13fec0192fd9ad71da1;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/wxVtkSceneManager.h b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/wxVtkSceneManager.h index 118d136..86f24fd 100644 --- a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/wxVtkSceneManager.h +++ b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/wxVtkSceneManager.h @@ -118,7 +118,8 @@ namespace bbtk void displayBlackBoxInfo(std::string packageName, std::string boxName); void updateStatusBar(std::string textStatus); - std::string getDiagramScript(); + std::string getDiagramBBS(); + std::string saveComplexBoxBBS(std::string cbName,std::string cbAuthor="",std::string cbCategory="",std::string cbDescription=""); void deleteObject(int id); void deleteAllBoxes(); void saveDiagram(std::string &content); @@ -126,12 +127,20 @@ namespace bbtk void centerView(); void refreshScene(); - std::vector getBoxes(); + std::vector getBlackBoxes(); std::vector getConnections(); + std::vector getComplexInputPorts(); + std::vector getComplexOutputPorts(); + + std::map getSelectedObjects(); + int getNumSelectedObjects(); bool isComplexBox(); void setComplexBox(bool val); + int addObjectController(GObjectController* objController); + void addObjects(std::map objectsMap); + private: