[IGSTK-Developers] FourViewsTrackingWithCT Application

Julien Jomier jjomier at cs.unc.edu
Wed Sep 14 16:30:21 EDT 2005


Patrick,

Well, the only problem is the hierarchy of SpatialObjects which is at 
the itkSpatialObject level. Therefore having an itkTextSpatialObject is 
convenient to compose the different transforms.
Let's say, for instance, that the Text is attached to the vessels within 
the liver, if you move around the liver you want to move the text as 
well, the SpatialObject class is doing the composition of the parent 
transforms for you.

I think we should still create an itkTextSpatialObject.
Another option will be to use a the itkSpatialObject class which has a 
pointer to the itkSpatialObjectProperty class and use the 'Name' 
(std::string) field for the text.

If someone has an opinion on that.
It might be useful to discuss that point at the T-Con tomorrow,

Julien

Patrick Cheng wrote:
> Hi Julien,
> 
> I don't think it's neccessary to make an itkTextSpatialObject, if we are 
> only going to have a string representation of the text. Unless we are 
> going to generate a polygon representation, like vtkTextSource.
> 
> I think we can just use the vtkTextSource in the igstkTextSpatialObject 
> without having a corresponding itkTextSpatialObject.
> 
> What do you think?
> 
> Patrick
> 
> Julien Jomier wrote:
> 
>> Hi Patrick,
>>
>> The simplest SpatialObject is probably the itkEllipseSpatialObject 
>> (Insight/Code/SpatialObject). I think we will have to create an 
>> itkTextSpatialObject class with an std::string member variable (just 
>> check it in the Sandbox and I'll move it to ITK as soon as it's stable).
>> Then we need to create the corresponding igstkTextSpatialObject and 
>> the ObjectRepresentation.
>>
>> Let me know if I can do anything to help,
>>
>> Julien
>>
>> Patrick Cheng wrote:
>>
>>> Hi Julien,
>>>
>>> I can work on that, Is there a requirement and design for the 
>>> TextSpatialObject? Is there a scratch class I can start with?
>>>
>>> Patrick
>>>
>>> Julien Jomier wrote:
>>>
>>>> Hi Patrick,
>>>>
>>>> I'm working on the SpatialObjectReader/Writer and will provide some 
>>>> datasets as soon as I can. I'll work on the TextSpatialObject too, 
>>>> unless you want to give it a try.
>>>>
>>>> I hope to have time to code today or tomorrow.
>>>> I'll keep you posted.
>>>>
>>>> Julien
>>>>
>>>> Patrick Cheng wrote:
>>>>
>>>>> Hi everyone,
>>>>>
>>>>> I guess we start coding for the iteration 6 now. As the new 
>>>>> application is largely depends on the Viewer, ImageIO, 
>>>>> ImageSpatialObject, and ImageSpatialObjectRepresentation, and there 
>>>>> are not quite ready yet. So I am thinking if I can take over some 
>>>>> tasks.
>>>>>
>>>>> For the iteration 6, I am also thinking shall we put the 'pick' 
>>>>> feature into the Viewer? I need it in the application to set the 
>>>>> landmarks in the image. It will be nice to have the text spatial 
>>>>> object ready too (to mark different points).
>>>>>
>>>>> A another open question: Do your guys think it's useful to add an 
>>>>> igstkSpatialObject Reader and Writer? I think it will save some 
>>>>> efforts for the application developer, especially when more 
>>>>> complicated or assambled spatial object is being used.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Patrick
>>>>>
>>>>
>>>>
>>>
>>
>>
> 



More information about the IGSTK-Developers mailing list