if(images.size() > 0)
{
- _images = images;
- this->setVectImages();
+ _images = imgs;
+ this->setVectImages(imgs);
}
}
-void wxContourMainFrame::setVectImages( )
+void wxContourMainFrame::setVectImages(std::vector<vtkImageData*> imgs)
{
#if defined(__GNUC__)
notebook = this->createNotebook();
- kernelManager = new KernelManagerContour( _images , _datadir+"/data/" , strCreaContourDataTmp );
+ kernelManager = new KernelManagerContour( imgs , _datadir+"/data/" , strCreaContourDataTmp );
_instantPanel = new wxInstantChooserPanel( notebook, "Instant Chooser", true, false, "c" );
fscanf(pFile,"%s",tmp); // Version
fscanf(pFile,"%s",tmp); // 1.0.1 || 1.0.0
std::string version(tmp);
-
+
+ //AD:02-06-09
if (version=="1.0.1")
{
openContours(pFile,false);
}
-
+
+ //AD:02-06-09
else if (version=="1.0.0")
{
openContours(pFile,true);