[vtkusers] A question

Wiebke Timm wiebke.timm at uni-bielefeld.de
Wed May 5 07:34:33 EDT 2004


Hi there!

On 11.03.2004, at 00:02, Charl P. Botha wrote:

> Luke Hua wrote:
>> My application dynamically create and delete actors in my scene. If I 
>> use pointer to track actors, I have to use large actor array to store 
>> data. I hate use array to store and delete data. It's a pain.
>>                                                           Luke
>
> What's the difference between storing an array of actor pointers (on 
> x86-32, 4 bytes each) and storing an array of IDs (on x86-32, int IDs 
> are 4 bytes each)?  I still don't see your problem.


If you want to find an object that created/holds the actor that 
corresponds to a picked one in the renderer, you have to use IDs. At 
least I can't think of another possibility.

Ciao!
    Wiebke




More information about the vtkusers mailing list