I just have only x and y values to draw the contour.<div> My requirement is that I need to add some control points to the contour, so the<div>user can adjust the shape using control points. The example works fine (<a href="http://www.cmake.org/Wiki/VTK/Examples/Cxx/Widgets/ContourWidget" target="_blank">http://www.cmake.org/Wiki/VTK/Examples/Cxx/Widgets/ContourWidget</a>)</div>
<div>unless it uses x,y,z data. I only want to have x,y data.</div><div>How can I do this?</div><div>Please help me.<br><br><div class="gmail_quote">On Tue, Jun 26, 2012 at 10:52 AM, Gishara Indeewarie <span dir="ltr"><<a href="mailto:gish.777@gmail.com" target="_blank">gish.777@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,
<div><br></div><div>I want to do a 2d contour with some control points in vtk.</div><div>I have found the example below:</div><div><a href="http://www.cmake.org/Wiki/VTK/Examples/Cxx/Widgets/ContourWidget" target="_blank">http://www.cmake.org/Wiki/VTK/Examples/Cxx/Widgets/ContourWidget</a>
</div><div><br></div><div>This is good, but the problem is I only want a 2D one. </div><div>Is there any way to do something like this for 2d data?</div><div>Thanks in advance.</div>
</blockquote></div><br>
</div></div>