ENDIF(WIN32)
TARGET_LINK_LIBRARIES( wxContourGUIExample
- creaImageIO
- Interface_Icons_NDimensions_lib
- Interface_ManagerContour_NDimensions_lib
- kernel_ManagerContour_NDimensions_lib
- CreaEnvironment
- maracasVisuLib
- vtkImaging vtkGraphics vtkRendering vtkFiltering vtkCommon
- )
+ creaImageIO
+ Interface_Icons_NDimensions_lib
+ Interface_ManagerContour_NDimensions_lib
+ kernel_ManagerContour_NDimensions_lib
+ CreaEnvironment
+ maracasVisuLib
+ vtkImaging vtkGraphics vtkRendering vtkFiltering vtkCommon
+ )
INSTALL_TARGETS(/bin/ wxContourGUIExample )
_builder->buildCountour_Envornment( imageSectionsFN, outlinesMap );
wxFrame* frame1 = new wxFrame(bbGetWxParent(), wxID_ANY, wxT("ROI Application - Evaluation version, 23 Oct 2008 "), wxPoint(50,50), wxSize(800, 600) );
- frame = new wxContourMainFrame( frame1, wxID_ANY, wxString(""), wxPoint(50,50), wxSize(800, 600) );
+ frame = new wxContourMainFrame( frame1, wxID_ANY, _T(""), wxPoint(50,50), wxSize(800, 600) );
frame1->CreateStatusBar();
+
wxAuiNotebook * parent = frame->createNotebook();
- OutlineModelManager * modelManager = new OutlineModelManager( _builder->getImSourceEnv(), _builder->getImSectionEnv(), _builder->getAxesEnv(), _builder->getContourEnv() );
+ OutlineModelManager * modelManager = new OutlineModelManager( _builder->getImSourceEnv(), _builder->getImSectionEnv(), _builder->getAxesEnv(), _builder->getContourEnv() );
- wxInstantChooserPanel * instantPanel = new wxInstantChooserPanel( parent, "Instant Chooser", true );
- ImageSourceThing * imageSource = modelManager->getImageSourceThingByKeyName( "Source Image 1" );
- wxContourViewPanel * theViewPanel = new wxContourViewPanel( imageSource->getSourceImage(), parent );
+ 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);
+
+ wxContourViewPanel * theViewPanel = new wxContourViewPanel( imageSource->getSourceImage(), parent );
eventHandler = new wxContourEventHandler();
eventHandler->setModelManager( modelManager );
successConfiuration &= frame->configurePanels( parent );
- interfMainPanel* pannew = interfMainPanel::getInstance(frame1, eventHandler, s+"/Icons");
+ //interfMainPanel* pannew = interfMainPanel::getInstance(frame1, eventHandler, s+"/Icons");
bbSetOutputWidget( frame );