<div dir="ltr">This might also be useful for you<div><a href="http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Replacement_of_SetInput">http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Replacement_of_SetInput</a><br></div><div><br></div><div>Chiranjib</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jul 31, 2016 at 11:00 PM, Chiranjib Sur <span dir="ltr"><<a href="mailto:sur.chiranjib@gmail.com" target="_blank">sur.chiranjib@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">This part of the example describes about the input connection, ports etc<div><br></div><div><pre style="font-family:monospace,monospace;padding:0px;border:0px none white;color:rgb(0,0,0);line-height:1.2em;font-stretch:normal;font-size:1em;margin-top:0px;margin-bottom:0px;vertical-align:top;background-image:none;background-color:rgb(249,249,249);background-position:initial;background-repeat:initial"> <span style="color:rgb(102,102,102)">// Generate a mesh from the input points. If Alpha is non-zero, then</span>
  <span style="color:rgb(102,102,102)">// tetrahedra, triangles, edges and vertices that lie within the</span>
  <span style="color:rgb(102,102,102)">// alpha radius are output.</span>
  vtkSmartPointer<span style="color:rgb(0,0,128)"><</span>vtkDelaunay3D<span style="color:rgb(0,0,128)">></span> delaunay3DAlpha <span style="color:rgb(0,0,128)">=</span>
    vtkSmartPointer<span style="color:rgb(0,0,128)"><</span>vtkDelaunay3D<span style="color:rgb(0,0,128)">></span><span style="color:rgb(0,128,128)">::</span><span style="color:rgb(0,119,136)">New</span><span style="color:rgb(0,128,0)">(</span><span style="color:rgb(0,128,0)">)</span><span style="color:rgb(0,128,128)">;</span>
  delaunay3DAlpha<span style="color:rgb(0,0,64)">-</span><span style="color:rgb(0,0,128)">></span>SetInputConnection <span style="color:rgb(0,128,0)">(</span>cleaner<span style="color:rgb(0,0,64)">-</span><span style="color:rgb(0,0,128)">></span>GetOutputPort<span style="color:rgb(0,128,0)">(</span><span style="color:rgb(0,128,0)">)</span><span style="color:rgb(0,128,0)">)</span><span style="color:rgb(0,128,128)">;</span>
  delaunay3DAlpha<span style="color:rgb(0,0,64)">-</span><span style="color:rgb(0,0,128)">></span>SetAlpha<span style="color:rgb(0,128,0)">(</span><span style="color:rgb(128,0,128)">0.1</span><span style="color:rgb(0,128,0)">)</span><span style="color:rgb(0,128,128)">;</span></pre><pre style="font-family:monospace,monospace;padding:0px;border:0px none white;color:rgb(0,0,0);line-height:1.2em;font-stretch:normal;font-size:1em;margin-top:0px;margin-bottom:0px;vertical-align:top;background-image:none;background-color:rgb(249,249,249);background-position:initial;background-repeat:initial"><span style="color:rgb(0,128,128)"><br></span></pre>VTK pipeline is the place you need to explore (<a href="http://www.vtk.org/Wiki/VTK/Tutorials/New_Pipeline" target="_blank">http://www.vtk.org/Wiki/VTK/Tutorials/New_Pipeline</a>). </div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Chiranjib</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jul 31, 2016 at 10:55 PM, sumeet kumar <span dir="ltr"><<a href="mailto:sumeet.kumar507@gmail.com" target="_blank">sumeet.kumar507@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Chiranjib,<br><br></div><div>I already saw this example. This example assumes that I have a<b> .vtp file . </b><br></div><div><br>But actually I have a hdf5 file where I have all the relevant data in my format. With that I create a unstructured mesh   <vtkUnstructuredGrid>  of points and now want to use that point data to generate the Delaunay3D mesh. Which means I already have a cloud of points with me in < <vtkUnstructuredGrid>  object. Now I want to use this object to create a Delaunay3D mesh.  Basically what I do not understand is how to deal with input connection, output ports etc.. or is there any simple way to deal with this.<span><font color="#888888"><br><br><br></font></span></div><span><font color="#888888"><div>Sumeet<br></div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jul 31, 2016 at 10:17 AM, Chiranjib Sur <span dir="ltr"><<a href="mailto:sur.chiranjib@gmail.com" target="_blank">sur.chiranjib@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Sumit,<div>Have you explored the examples for Delaunay3D in vtk. The example given here (<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Modelling/Delaunay3D" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Modelling/Delaunay3D</a>) has all the details about how to use this filer inside your C++ code.</div><div>If you have already seen it then post some more details about your problem. </div><div><br></div><div>Best wishes,</div><div>Chiranjib</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Sat, Jul 30, 2016 at 12:43 PM, sumeet kumar <span dir="ltr"><<a href="mailto:sumeet.kumar507@gmail.com" target="_blank">sumeet.kumar507@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div><div><br></div>I am writing a reader plug-in which reads a hdf5 file and creates a unstructured mesh of nodes & elements and also unstructured mesh of only gauss points.<br>The next what I want to do is to take this unstructured mesh of points and generate a Delaunay3D mesh.  <br></div>I can achieve the same in Paraview during rendering (in the GUI phase). But I want to achieve this inside the c++ code automatically. Basically I want to use the unstructured mesh <vtkUnstructuredGrid> of points to generate the Delaunay3D mesh (vtkUnstructuredGrid) and save it for further exploitation .<br><br><br></div><div>Best<span><font color="#888888"><br></font></span></div><span><font color="#888888">Sumeet <br clear="all"><div><div><div><br>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div><span><img src="http://faculty.engineering.ucdavis.edu/ceetemplate/wp-content/uploads/2013/06/CEE75percent500w.jpg" style="font-size:12.8px" height="31" width="200"><span style="font-size:12.8px">         </span><br><div><font style="font-family:"trebuchet ms",sans-serif;font-size:12.8px;color:rgb(51,51,51)">Sumeet Kumar Sinha</font></div><div><span style="color:rgb(51,51,51);font-family:"trebuchet ms",sans-serif;font-size:small">Graduate Student</span></div><div><span style="font-size:12.8px;font-family:"trebuchet ms",sans-serif;color:rgb(51,51,51)">Phone: (+1)</span><a href="tel:%28%2B91%29%209910516219" value="+919910516219" style="font-size:12.8px;font-family:"trebuchet ms",sans-serif;color:rgb(17,85,204)" target="_blank"> </a><span style="font-size:12.8px;font-family:"trebuchet ms",sans-serif;color:rgb(51,51,51)"><a href="tel:5306018271" value="+15306018271" target="_blank">5306018271</a></span></div><div><span style="color:rgb(51,51,51);font-family:"trebuchet ms",sans-serif;font-size:12.8px">Website : </span><a href="http://www.sumeetsinha.in/" style="font-family:"trebuchet ms",sans-serif;font-size:12.8px;color:rgb(17,85,204)" target="_blank">http://www.sumeetsinha.in/</a></div></span></div></div></div></div></div></div>
</div></div></div></font></span></div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><br>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><span><img src="http://faculty.engineering.ucdavis.edu/ceetemplate/wp-content/uploads/2013/06/CEE75percent500w.jpg" style="font-size:12.8000001907349px" height="31" width="200"><span style="font-size:12.8000001907349px">         </span><br><div><font style="font-family:'trebuchet ms',sans-serif;font-size:12.8000001907349px;color:rgb(51,51,51)">Sumeet Kumar Sinha</font></div><div><span style="color:rgb(51,51,51);font-family:'trebuchet ms',sans-serif;font-size:small">Graduate Student</span></div><div><span style="font-size:12.8000001907349px;font-family:'trebuchet ms',sans-serif;color:rgb(51,51,51)">Phone: (+1)</span><a href="tel:%28%2B91%29%209910516219" value="+919910516219" style="font-size:12.8000001907349px;font-family:'trebuchet ms',sans-serif;color:rgb(17,85,204)" target="_blank"> </a><span style="font-size:12.8000001907349px;font-family:'trebuchet ms',sans-serif;color:rgb(51,51,51)">5306018271</span></div><div><span style="color:rgb(51,51,51);font-family:'trebuchet ms',sans-serif;font-size:12.8000001907349px">Website : </span><a href="http://www.sumeetsinha.in/" style="font-family:'trebuchet ms',sans-serif;font-size:12.8000001907349px;color:rgb(17,85,204)" target="_blank">http://www.sumeetsinha.in/</a></div></span></div></div></div></div></div></div>
</div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>