Hi Franck,
I would like to include a rotation of the source. For my application, there is an off-set between the axis of rotation of the device and the point from which the X-rays originate. I'm currently implementing the rotation as a displacement along a circle with radius equal to the off-set. As discussed, this could be a useful built-in function for gVXR.
Hi Bas,
it is now possible to rotate the source using two specific functions.
rotateFocalSpot
androtateSource
. I haven't written the unit tests, i.e. the code is not tested. It's tomorrow's job.Hi Bas,
I added two unit tests in gvxr/tests/TestPointSource.cxx. See
TestRotationCentred
andTestRotationNotCentred
. It seems to work well when no focal spot is used.regards,
Franck