[IGSTK-Users] get representation from object or vice-versa?
Andinet Enquobahrie
andinet.enqu at kitware.com
Wed Jul 23 08:41:00 EDT 2008
Ray-
You can write your own class to connect a spatial object with a
representation
object and make the representation object publicly accessible.
We have implemented a similar class to use for testing purpose
igstkSpatialObjectTestHelper.h
It is in the Testing subdirectory.
To understand how it can be used, take a look at the spatial object tests
such as igstkCylinderObjectTest and igstkImageSpatialObjectTest
Hope that helps
Andinet
> hi, is there any way to get the object representation from the object
> or to get the object from the representation. representation->request
> set object seem to store a pointer to the object, but it is private.
> is there any way to get one from the other?
>
> thanks
>
> ---
> vice-chair http://ocjug.org/
>
>
> _______________________________________________
> IGSTK-Users mailing list
> IGSTK-Users at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
>
--
==========================================================
Andinet A. Enquobahrie, PhD
R&D Engineer
Kitware Inc.
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x124
www.kitware.com
More information about the IGSTK-Users
mailing list