[vtkusers] VTk and STL-Containers from C++

David Doria daviddoria+vtk at gmail.com
Thu Jul 2 07:52:50 EDT 2009


On Thu, Jul 2, 2009 at 7:43 AM, ClaudeG <claude.gangolf at gmail.com> wrote:

>
> Hi, I have  a question about STL Containers and VTK, when i store VTK -
> Objects in a STL - container, like actors in a container, and when i want
> to
> use these objects, (actors), in two different function, how can i do that.
> To be more precisely, i create a stl - container which store the actors,
> then in a function a create the mappers and the associated actors which are
> stored in this container, now i want to manipulate this actors in a second
> function is that possible!
>
> Thanks in advance for your help
>

I don't see why not? It should just be like storing a container of pointers?
Can you post a simple, compilable example of where this is not working?

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090702/59233b69/attachment.htm>


More information about the vtkusers mailing list