Hello all,
I was wondering if we can convert a CompositeTransformType
to a TransformType
?
Here is my sample of code:
using TransformType = itk::Euler3DTransform< double >; TransformType::Pointer first_transformation = TransformType::New(); TransformType::Pointer second_transformation = TransformType::New(); CompositeTransformType::Pointer composite_transformation = CompositeTransformType::New(); composite_transformation->AddTransform( first_transformation ); composite_transformation->AddTransform( second_transformation ); TransformType::Pointer total_transformation = TransformType::New();
and I want to compute the following procedure:
total_transformation = composite_transformation;
or maybe
total_transformation->SetTransform( composite_transformation )
Is there any mean to convert a CompositeTransformType
to a TransformType
?
Thank you for your patience…