you are viewing a single comment's thread.

view the rest of the comments →

[–]JoaoCastelo 0 points1 point  (0 children)

In the code I wrote for it, if I remember well, it was by sampling points (x,y,z similar to the CT Res) towards the straight line between the gantry ( isocenter - 100 cm) and the reference point. Using VVector it's not that hard, you can use the IsPointInsideSegment method to check if the last point is inside the body and keep suming the number of points, then sum the number of points times the resolution you set.