[IGSTK-Developers] Position the CylinerSpatialObject

Patrick Cheng cheng at isis.georgetown.edu
Thu Dec 15 12:18:43 EST 2005


Hi all,

I am proposing adding a RequestSetTipPoints( PointType &pts ) to the 
CylinderSpatialObject. The parameters passed by are two points indicates 
the two ends of the CylinderSpatialObject.

Reason:

1. In path planing, we need to place the CylinderSpatialObject by 
setting entry point and target point. We don't have the Transform here. 
Actually place the CylinderSpatialObject by fixing it's two ends is more 
straight forward.

2. When the CylinderSpatialObject is attached to the tracker tool, even 
if we get the transform and orientation right (We haven't got to that 
point yet), Then there should be another shift applied to the 
CylinderSpatialObject to move it's tip to the probe tip. This is very 
cumbersome, confusing, and erroneous. Why don't we take the transform 
and the size of CylinderSpatialObject, and internally calculate the 
points for the two ends (Which is easy to do), and place the 
CylinderSpatialObject in the right position by pinpointing the two ends?

Thank you,

Patrick




More information about the IGSTK-Developers mailing list