public:
wxMaracasRendererView( wxWindow* parent, std::string path);
- ~wxMaracasRendererView( );
+ ~wxMaracasRendererView( );
static wxMaracasRendererView* getInstance(wxWindow* parent,std::string path="");
static wxMaracasRendererView* getInstance();
-
+
std::string getPath();
- wxMaracasRenderTabbedPanel* getTabbedPanel(int id)throw(char*);
+ wxMaracasRenderTabbedPanel* getTabbedPanel(int id) throw(char*);
- void setRenderer(vtkRenderer* renderer) throw(char*);
+ void setRenderer(vtkRenderer* renderer); /* throw(char*), */ // JPR
void onLoadImageFile();
void addVolumes(vtkImageData* img, std::string pathfile, std::string filename);
void addPanels(wxMaracasRenderTabbedPanel* wxtabs, vtkImageData* img, std::string pathfile, std::string filename);
void addRemoveSurf3Actor(int id, bool addremove);
std::vector<std::string> getFiles();
-
+
private:
static wxMaracasRendererView* instance;
std::vector<wxMaracasRenderTabbedPanel*> tabsVector;
std::vector<std::string> files;
-
+
wxAuiManager* wxauimanager;
wxToolBar * _toolb;
class ToolBarEventHandlerRenderer : public wxEvtHandler
{
-
public:
ToolBarEventHandlerRenderer();
~ToolBarEventHandlerRenderer();
class ToolBarRenderer : public wxToolBar{
-
public:
ToolBarRenderer(wxWindow * parent,std::string iconsdir);
~ToolBarRenderer(void);
-
private:
ToolBarEventHandlerRenderer* _evthand;
-
};
#endif