[vtkusers] Fwd: Set two objects in a single window - VTK

David Doria daviddoria at gmail.com
Wed Feb 15 07:32:59 EST 2012


On Tue, Feb 14, 2012 at 11:30 PM, Gishara Indeewarie <gish.777 at gmail.com>wrote:

>
> Hi all,
>
> I saw that in the example (
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/MoveActor ) if we
> did not set the center of the objects only one object is shown. I want to
> show the two objects according to their natural coordinates that keeps the
> natural shape of the object which is formed by the added objects. The
> screenshots of the object I got and the object I want (with points)  is
> attached herewith.
> The code I used is similar to the one in the example except I did not set
> any center.
> Please help me.
>
> Thanks.
>

The objects appear automatically at their actual coordinates. If they are
appearing on top of each other, their coordintates are not as you think
they are. Try opening the files in Paraview - you will see the same issue.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120215/2e4058ed/attachment.htm>


More information about the vtkusers mailing list