[Insight-users] spatial objects
jason.c
jason.chao at live.ca
Tue Feb 10 14:19:01 EST 2009
Hi All,
I like to create a hierarchy of spatial objects, e.g.:
obj3->AddSpatialObjects( obj4 );
obj2->AddSpatialObjects( obj3 );
obj1->AddSpatialObjects( obj2 );
How can I get the bounding box capturing the entire hierarchy?
I tried to put obj1 in a GroupSpatialOjbect
grp->AddSpatialObjects( obj1 );
grp->ComputeBoundingBox();
But that only computes the bounding box of the first object.
Thanks,
Jason
--
View this message in context: http://n2.nabble.com/spatial-objects-tp2304411p2304411.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.
More information about the Insight-users
mailing list