Hi again. Still not able to cas the vtk array of triangles to a c++ regular int array. Also I would like to ask if anyone knows how to use the transform filter to change the projection plane in delaunay2D. What I would like to do is make two delaunay2D triangulations with different projection planes over a single set of 3D points. Many thanks
<br><br><div><span class="gmail_quote">On 5/7/07, <b class="gmail_sendername">Godofredo</b> &lt;<a href="mailto:godofredoiii@gmail.com">godofredoiii@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>1st of all, many thanks. I&#39;m using C++ so the example cells.tcl gives me an<br>idea but doesn&#39;t help me as much as I need. Let me explain a little further.<br>What I want to do is to make two delaunay 2D triangulations in two different
<br>porjection planes to a set of 3D points which are collected from a 3d<br>scanner. The triangulation is part of a bigger application which at the end<br>is going save data as a vrml file but not just after the triangulation.
<br>Thats why I would like to obtain data from the vtk part of code as arrays of<br>points and triangles if it was possible.<br><br><br>Luca Pallozzi Lavorante wrote:<br>&gt;<br>&gt; Godofredo,<br>&gt; the vtkVRMLExporter class will generate a VRML file for you. Its input is
<br>&gt; a<br>&gt; vtkRenderWindow instance, as it exports the entire scene.<br>&gt; Have a look at the example Rendering/Testing/Tcl/cells.tcl, as well as the<br>&gt; vtkVRMLExporter online documentation.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Luca
<br>&gt;<br>&gt;<br>&gt; On 5/4/07, Godofredo &lt;<a href="mailto:godofredoiii@gmail.com">godofredoiii@gmail.com</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Hi. I&#39;m making a Delaunay2D triangulation over a set of 3D point cloud.
<br>&gt;&gt; I&#39;ve<br>&gt;&gt; followed some examples and managed to do it. What I would like to do now<br>&gt;&gt; is<br>&gt;&gt; to obtain the triangles and vertex of the triangulation as arrays. I&#39;m<br>&gt;&gt; new
<br>&gt;&gt; with vtks so there&#39;s a lot of knowledge I&#39;m missing. Is there a way to<br>&gt;&gt; obtain triangles and vertex as a vrml fashion for example? I mean, points<br>&gt;&gt; coordinates and triangle vertex index to that points? Hope I&#39;ve explained
<br>&gt;&gt; myself. Thanks in advance.<br>&gt;&gt; --<br>&gt;&gt; View this message in context:<br>&gt;&gt; <a href="http://www.nabble.com/Retrieve-poligonal-data-after-delaunay-triangulation-tf3691278.html#a10320141">http://www.nabble.com/Retrieve-poligonal-data-after-delaunay-triangulation-tf3691278.html#a10320141
</a><br>&gt;&gt; Sent from the VTK - Users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; This is the private VTK discussion list.
<br>&gt;&gt; Please keep messages on-topic. Check the FAQ at:<br>&gt;&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>&gt;&gt; Follow this link to subscribe/unsubscribe:<br>&gt;&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers">
http://www.vtk.org/mailman/listinfo/vtkusers</a><br>&gt;&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; This is the private VTK discussion list.<br>&gt; Please keep messages on-topic. Check the FAQ at:
<br>&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br>&gt;<br>&gt;<br><br>--<br>View this message in context: <a href="http://www.nabble.com/Retrieve-poligonal-data-after-delaunay-triangulation-tf3691278.html#a10353077">http://www.nabble.com/Retrieve-poligonal-data-after-delaunay-triangulation-tf3691278.html#a10353077
</a><br>Sent from the VTK - Users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br><br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: 
<a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br></blockquote></div><br>