/*========================================================================= Program: bbtk Module: $RCSfile$ Language: C++ Date: $Date$ Version: $Revision$ =========================================================================*/ /* --------------------------------------------------------------------- * Copyright (c) CREATIS-LRMN (Centre de Recherche en Imagerie Medicale) * Authors : Eduardo Davila, Laurent Guigues, Jean-Pierre Roux * * This software is governed by the CeCILL-B license under French law and * abiding by the rules of distribution of free software. You can use, * modify and/ or redistribute the software under the terms of the CeCILL-B * license as circulated by CEA, CNRS and INRIA at the following URL * http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html * or in the file LICENSE.txt. * * As a counterpart to the access to the source code and rights to copy, * modify and redistribute granted by the license, users are provided only * with a limited warranty and the software's author, the holder of the * economic rights, and the successive licensors have only limited * liability. * * The fact that you are presently reading this means that you have had * knowledge of the CeCILL-B license and that you accept its terms. * ------------------------------------------------------------------------ */ /** * \file * \brief Class bbtk::BlackBox : abstract black-box interface. */ /** * \class bbtk::WxGUIEditorGraphicBBS * \brief */ #ifndef __WxGUIEditorGraphicBBS_h__ #define __WxGUIEditorGraphicBBS_h__ //Includes same project #include "wxTabPanelsManager.h" #include "wxPropertiesPanel.h" #include "C:\RaC\CREATIS\bbtkGEditor\data\icons\wxart_new.xpm" //Includes creaMaracasVisu //Includes bbtk #include #include #include #include //Includes vtk //Includes wxWidgets #include #include #include #include #include #include #include #include #include //Includes std namespace bbtk { class wxTabPanelsManager; class wxGUIEditorGraphicBBS : public wxFrame { public: wxGUIEditorGraphicBBS(wxFrame *parent ); ~wxGUIEditorGraphicBBS(); void initToolbar(); void initMenu(); void initTabPanelsManager(); void initPackageBrowser(); void initHelpHTMLBrowser(); void initPropertiesPanel(); wxAuiNotebook* getAuiNotebook(); void displayBlackBoxInfo(std::string packageName, std::string boxName); void updateStatusBar(std::string textStatus); void RegenerateAll(); void DoRegeneratePackageDoc(const std::string& pack); void DoRegenerateBoxesLists(); void OnToolLeftClick(wxCommandEvent& event); void OnExit(wxCommandEvent& event); private: wxAuiManager *_frameAUIMgr; wxTabPanelsManager *_tabsMgr; wxAuiNotebook *_notebook; WxGUIPackageBrowser2 *_pkgBrowser; WxGUIHtmlBrowser *_helpHtmlBrowser; wxPropertiesPanel *_propertiesPanel; std::string _dataDir; std::string _actualPkgBrowserBoxName; std::string _actualPkgBrowserPkgName; protected: }; } // namespace bbtk #endif