[Insight-users] SpatialObjects GetParent() problem
Xabier Artaechevarria Artieda
xabiarta at unav.es
Fri May 9 04:58:37 EDT 2008
Hi all,
I am developing a new class inherited from BlobSpatialObject, which I
call SegmentSpatialObject.
I have a problem when using the GetParent() method, because it returns
a pointer to a SpatialObject, and not to a SegmentSpatialObject.
Then, with that pointer, I can not access the methods that are
specific to SegmentSpatialObject.
Is there any simple way in which GetParent() could return a
SegmentSpatialObject pointer, without having to rewrite all the
methods for hierarchy management?
Thanks for your help,
Xabi
--
Xabier Artaechevarria
Cancer Imaging Laboratory
Centre for Applied Medical Research
www.cima.es
----------------------------------------------------------------
Este mensaje ha sido enviado desde https://webmail.unav.es
More information about the Insight-users
mailing list