<div dir="ltr">You could simply set the z value to the z value of the plane on which you are drawing.<br><br>Jothy<br><br><div class="gmail_quote">On Tue, Jun 26, 2012 at 12:02 PM, 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">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>
<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>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Jothybasu Selvaraj<br>PhD Student<br>University of Liverpool<br>UK<br></div><br>
</div>