<div dir="ltr"><div>Hi,</div><div><br></div><div>I would like to clone a geometry object, but it does not seem to be possible. Is this the expected behaviour or a bug?</div><div><br></div><div>The code below prints</div><div><br></div><div>1</div><div>0</div><div><br></div><div>i.e. the two geometry objects (seemingly clones) have different number of projections.</div><div><br></div><div>Code:</div><div><br></div><div>#include <rtkThreeDCircularProjectionGeometry.h></div><div>#include <iostream><br></div><div><br></div><div>int main(int argc, char *argv[])</div><div>{</div><div>  rtk::ThreeDCircularProjectionGeometry::Pointer geometry = rtk::ThreeDCircularProjectionGeometry::New();</div><div><br></div><div>  double sourceToIsocenterDistance = 1;</div><div>  double sourceToDetectorDistance = 1;</div><div>  double gantryAngleInDegrees = 0;</div><div>  geometry->AddProjection(sourceToIsocenterDistance,</div><div>                          sourceToDetectorDistance,</div><div>                          gantryAngleInDegrees);</div><div>  </div><div>  rtk::ThreeDCircularProjectionGeometry::Pointer geometryClone = geometry->Clone();</div><div><br></div><div>  std::cout << geometry->GetGantryAngles().size() << std::endl;</div><div>  std::cout << geometryClone->GetGantryAngles().size() << std::endl;</div><div><br></div><div>  return 0;</div><div>}</div><div><br></div><div>Best regards,</div><div>Fredrik</div></div>