[vtkusers] edges between moving assemblies
Sebastien Jourdain
sebastien.jourdain at kitware.com
Thu Nov 4 10:32:07 EDT 2010
Hi Clement,
I guess you will have to use Observer to listen change event on the
sphere and update the tube/line start/endpoint according to the new
coordinates.
Do you change the assembly location, or the dataset itself ?
Seb
On Wed, Nov 3, 2010 at 12:11 PM, creusot <creusot at cs.york.ac.uk> wrote:
>
> Hi,
> I have a small problem to design the scene I want with VTK.
> Basically I would like to have two Assemblies composed of several Actors
> (small spheres) and a set of edges between the two Assemblies connecting a
> subset of those spheres.
> Creating the Assemblies is very easy but I don't know what to do for the
> edges.
> If I create an edge as an Actor using the initial position of the sphere
> then the edges doesnt move when I move one of the Assembly compare to the
> other.
> How can I create a line or a tube which extremities are from two different
> objects and are not fixed?
> Best regards,
> Clement.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list