<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hello,</div><div><br></div><div>I'd like to use the Rigid3DTransform but I'm getting an error when I try to create a new instance. I commented out all the lines of my code expect for:</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span><span style="color: #aa0d91">typedef</span> itk::Rigid3DTransform<<span style="color: #aa0d91">double</span>> TransformType;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>TransformType::Pointer transform = TransformType::New(); </div></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3">The second line results in the following error:</font></div><div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>/Users/smrolfe/build/LandmarkRegistration.cxx:132: error: conversion from ‘itk::SmartPointer<itk::MatrixOffsetTransformBase<double, 3u, 3u> >’ to non-scalar type <span class="Apple-tab-span" style="white-space:pre">                </span>‘itk::SmartPointer<itk::Rigid3DTransform<double> >’ requested</div></div><div><br></div><div>It seems strange that just declaring a new instance of the filter would cause this error. I've tried substituting in the Rigid2DTransform and that works just fine. Please let me know if you have any ideas.</div><div><br></div><div>Thanks,</div><div>Sara</div><div><br></div></body></html>