- std::string xxx1("Instant Chooser");
- wxInstantChooserPanel * instantPanel = new wxInstantChooserPanel( parent,
- xxx1,
- true );
- //ImageSourceThing * imageSource = modelManager->getImageSourceThingByKeyName( wxT("Source Image 1") );
- std::string xxx2("Source Image 1");
- ImageSourceThing * imageSource = modelManager->getImageSourceThingByKeyName( xxx2);
+//-----------------------------------------------------------------
+void nDimensions::CreateWidget(wxWindow* parent)
+{
+ //vtkImageData* img = bbGetInputIn();
+
+ std::vector<vtkImageData*> selectedimages;
+ //selectedimages.push_back(img);
+
+ //wxFrame* frame1 = new wxFrame(parent, wxID_ANY, wxT("ROI Application - Evaluation version, 23 Oct 2008 "), wxPoint(400,50), wxSize(800, 600) );
+ //frame = wxContourMainFrame::getInstance(frame1, wxID_ANY, wxString(_T("")), wxPoint(100,50), wxSize(800, 600), selectedimages );
+ //new wxContourMainFrame( frame1, wxID_ANY, _T(""), wxPoint(50,50), wxSize(800, 600),selectedimages );
+ //frame1->CreateStatusBar();
+ //bbSetOutputWidget( frame1 );
+std::string datadir=".";
+#ifdef WIN32
+printf("EED WARNING Verify that GetDllAppPath in nDimensions::CreateWidget bbCreaContournDimensions is working.. \n");
+ datadir = crea::System::GetDllAppPath("bbCreaContours.dll");
+#else
+ datadir= crea::System::GetExecutablePath();
+#endif