]> Creatis software - clitk.git/blobdiff - vv/vvToolResample.cxx
textbox for loading initial transform included
[clitk.git] / vv / vvToolResample.cxx
index f9b7a4a25d61fbbda6261140e3d1a14ead4bb98b..403775e8c917477bf7c048d1f119ce09145b4709 100644 (file)
@@ -136,7 +136,7 @@ void vvToolResample::InputIsSelected(vvSlicerManager* m)
   mInputFileName = mCurrentSlicerManager->GetFileName().c_str();
 
   // Set current information
-  mPixelType = mCurrentImage->GetScalarTypeAsString().c_str();
+  mPixelType = mCurrentImage->GetScalarTypeAsITKString().c_str();
   //ds      ComponentType = mCurrentImageGetNumberOfScalarComponents();
   mDimension = mCurrentImage->GetNumberOfDimensions();
 
@@ -413,7 +413,7 @@ void vvToolResample::UpdateInterpolation()
     bSplineOrderSpinBox->show();
     bLUTFactorLabel->hide();
     bLUTSpinBox->hide();
-  } else if (interpolationComboBox->currentText() == "B-LUT (faster BSpline)")   {
+  } else if (interpolationComboBox->currentText() == "Blut (faster BSpline)")   {
     bSplineLabel->show();
     bSplineOrderSpinBox->show();
     bLUTFactorLabel->show();
@@ -464,7 +464,7 @@ void vvToolResample::apply()
 
   if (interpolationComboBox->currentText() == "BSpline")
     mFilter->SetBSplineOrder(bSplineOrderSpinBox->value());
-  else if (interpolationComboBox->currentText() == "B-LUT (faster BSpline)") {
+  else if (interpolationComboBox->currentText() == "Blut (faster BSpline)") {
     mFilter->SetInterpolationName("blut");
     mFilter->SetBSplineOrder(bSplineOrderSpinBox->value());
     mFilter->SetBLUTSampling(bLUTSpinBox->value());