[Insight-users] coordinates of spatial objects

jason.c jason.chao at live.ca
Wed Feb 11 17:51:38 EST 2009


Hi All,

I want to obtain the coordinates of a box spatial object, in physical space. 

In particular,

  ob1->GetObjectToParentTransform()->SetOffset(off[1]);
  ob2->GetObjectToParentTransform()->SetOffset(off[2]);
  ob3->GetObjectToParentTransform()->SetOffset(off[3]);

Given that

obj2->AddSpatialObjects( obj3 );
obj1->AddSpatialObjects( obj2 );
grp->AddSpatialObjects( obj1 );

How can this be done? 

Thanks!
Jason

-- 
View this message in context: http://n2.nabble.com/spatial-objects-tp2304411p2311972.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.



More information about the Insight-users mailing list