[vtkusers] Accessing streamer array in vtkStreamer

Avan Suinesiaputra avan at science.uva.nl
Thu Dec 7 05:09:27 EST 2000


I want to make a tracer particle animation over a streamline.
First I put spheres in my streamline's start positions.
Then I animate the spheres using a vtkStreamArray's object to track
position of each sphere in a specified time.
Do you know a method to do that without vtkStreamArray.
I created the processing in C++ and it works good.

Avan

Berk Geveci wrote:

>         Those two methods are excluded from tcl wrapping because there
>         is no tcl equivalent of vtkStreamArray in tcl (vtkStreamArray
>         is an ordinary C++ class, it does not inherit from vtkObject).
>         Why do you want to access the stream array from tcl ?
>
> Avan Suinesiaputra wrote:
> >
> > I have a problem of accessing streamer array in vtkStreamer class.
> > If I use Tcl to get streamer array by calling GetNumberOfStreamers or
> > GetStreamers from vtkStreamer object, an error occured.
> > The error message is: no such method.
> >
> > But if I convert the same program with C, then it works.
> > How come ? Are those methods not compiled in VTKTcl libraries ?
> >
> > Thanks,
> >
> > Avan
> >





More information about the vtkusers mailing list