<div dir="ltr">Hi Artem,<div><br></div><div>You can try using vtkContourTriangulator, it only uses the connected points for the triangulation and it works in any orientation:</div><div><a href="http://www.vtk.org/doc/nightly/html/classvtkContourTriangulator.html#details">http://www.vtk.org/doc/nightly/html/classvtkContourTriangulator.html#details</a></div><div><br></div><div>Delaunay2D also has a method for working in planes other than the XY plane: calling the method SetProjectionPlaneMode(VTK_BEST_FITTING_PLANE) should work, if all of your input points are in the same plane.</div><div><br></div><div> - David<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 11, 2015 at 4:47 AM, Artem Babayan <span dir="ltr"><<a href="mailto:artem.paraview@googlemail.com" target="_blank">artem.paraview@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Hello,<br><br>I have<br><br>1) vtk_poijnts -- set of 3D points (vtkPoints object) located within the computational 3D box.<br>2) poly_1 -- std::vector<int> -- connected subset of points from 1) representing non-convex polygon on the side of computational box. E.g. in XZ plane.<br>3) poly_hole_1, poly_hole_2 -- 2 subsets of points from 1) each representing possibly non-convex hole in poly_1 from 2).<br><br>How am I visualise it with VTK? <br><br>I assume that as I have holes in polygon the only choice of I have is to use vtkDelaunay2D?<br><br>vtkDelaunay2D apparently uses all points from vtk_points for triangulization, while I need only points from poly_1, poly_hole_1 and poly_hole_2 ?<br><br></div><div>I need to tell somehow vtkDelaunay2D than I want to tesselate in XZ plane rather than in XY plane?<br><br></div><div>Thank you<span class=""><font color="#888888"><br></font></span></div><span class=""><font color="#888888"><div>Artem<br></div></font></span></div></blockquote></div><br></div></div></div>