I tried "tetraMesh.vtk" from data folder.<br><br>vtkUnstructuredGridReader reader = new vtkUnstructuredGridReader();<br> reader.SetFileName("C:/vtkData/tetraMesh.vtk");<br><br>vtkDataSetMapper mapper = new vtkDataSetMapper();<br>
mapper.SetInput(reader.GetOutput());<br><br>I press w key for wireframe but i don't see the tetrahedrons, only the boundary triangles.<br><br>Thanks. <br><br><div class="gmail_quote">2009/12/10 David Doria <span dir="ltr"><<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">On Thu, Dec 10, 2009 at 7:05 AM, Baliki B. <<a href="mailto:balikivtk@gmail.com">balikivtk@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> i have an unstructured grid (a file) which contains tetrahedrons.<br>
> I read the file with vtkUnstructuredGridReader.<br>
> Then i use a vtkDataSetMapper but i don't really get the tetrahedron but<br>
> the boundary tringles.<br>
><br>
> What am i doing wrong?<br>
> How can i visualize it so that i can see the tetrahedrons?<br>
><br>
> (Sorry if my questions are "stupid".)<br>
><br>
><br>
<br>
</div></div>Can you send us an example file?<br>
<br>
Thanks,<br>
<br>
David<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br>