void ViewerNV::Process()
{
vtkImageData* img = bbGetInputIn();
-/*
- double spc[3];
- img->GetSpacing(spc);
- printf ("EED ViewerNV::Process A %f %f %f \n", spc[0], spc[1], spc[2] );
- img->SetSpacing( 1,1,1 );
- img->Update( );
- img->GetSpacing(spc);
- img->PrintSelf(std::cout,(vtkIndent)2);
- img->Print(std::cout);
- printf ("EED ViewerNV::Process B %f %f %f \n", spc[0], spc[1], spc[2] );
-*/
+
+
std::vector<int> type = bbGetInputnTypeView();
}else if (img != _currentimg){
_mwxwidget->SetImage(img);
}
-
_mwxwidget->RefreshView();
- _currenttype = type;
- _currentimg = img;
+ _currenttype = type;
+ _currentimg = img;
_point.clear();
_point.push_back((int)_mwxwidget->GetX());