<div class="gmail_quote">On Fri, Aug 31, 2012 at 4:17 PM, cerina <span dir="ltr"><<a href="mailto:cerine-baratelli@hotmail.fr" target="_blank">cerine-baratelli@hotmail.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
Is it possible to visualize to meshes ( eg: rabbit and apple) in the same<br>
window!!??? , i see an example in which they use two sphereSource, and they<br>
give the coordinate for the second spheresource's center. Is it possible for<br>
all types of meshes to do that???if so, how can I organize my meshes in the<br>
window!!!</blockquote><div><br></div><div>It is possible!!! There is nothing magic about the SphereSources - they just produce a vtkPolyData. You should have your meshes (the output of a vtkXMLPolyDataReader most likely?) as vtkPolyData as well. </div>
<div><br></div><div>You can position/orient the actor that you produce from the vtkPolyData using something like this:</div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/TransformActor">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/TransformActor</a></div>
<div><br></div><div>I suggest you take a look at the "Transformations" slide set here: <a href="http://www.vtk.org/Wiki/VTK/Presentations">http://www.vtk.org/Wiki/VTK/Presentations</a></div><div><br></div><div>Good luck!!!</div>
<div><br></div><div>David</div></div>