// qsize.setWidth(850);
// mToolWidget->setFixedSize(qsize);
// Set how many inputs are needed for this tool
- mFilter = new clitk::AffineRegistrationGenericFilter;
cb_transform->hide();
cb_interpolator->hide();
cb_optimizer->hide();
// Set how many inputs are needed for this tool
- AddInputSelector("Select moving image",mFilter);
- AddInputSelector("Select fixed image",mFilter);
+ AddInputSelector("Select moving image");
+ AddInputSelector("Select fixed image");
}
//------------------------------------------------------------------------------
}
//Translations
if (tX!=0||tY!=0||tZ!=0)
- transform->Translate(tX*mInput1->GetImage()->GetSpacing()[0],tY*mInput1->GetImage()->GetSpacing()[1],tZ*mInput1->GetImage()->GetSpacing()[2]);
+ transform->Translate(tX*mInput1->GetImage()->GetSpacing()[0],
+ tY*mInput1->GetImage()->GetSpacing()[1],
+ tZ*mInput1->GetImage()->GetSpacing()[2]);
}
//------------------------------------------------------------------------------