I have used vtkCharts. I need to give the user the ability to change the position of some points.<div>(like in the example)</div><div>Can I do it with vtkCharts?</div><div>Thanks.<br><br><div class="gmail_quote">On Tue, Jun 26, 2012 at 5:37 PM, Jothybasu Selvaraj <span dir="ltr">&lt;<a href="mailto:jothybasu@gmail.com" target="_blank">jothybasu@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">If you are using vtkCharts for plotting then it can handle 2D plots just by mentioning (X,Y).<br><br>Are you using vtkCharts?<div>
<div class="h5"><br><br><br><br><div class="gmail_quote">On Tue, Jun 26, 2012 at 1:04 PM, Gishara Indeewarie <span dir="ltr">&lt;<a href="mailto:gish.777@gmail.com" target="_blank">gish.777@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ok.Thanks. Is this true to do 2d plot also?<div>Because my problem is that I only need to show the 2D one.</div><div> Users should not be given the ability to rotate the contour.</div>

<div>Is there any way of adding control points to a 2D plot?</div>
<div>Thanks again for the help.</div><div><div><div><br><div class="gmail_quote">On Tue, Jun 26, 2012 at 5:30 PM, Jothybasu Selvaraj <span dir="ltr">&lt;<a href="mailto:jothybasu@gmail.com" target="_blank">jothybasu@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Any point in 3D requires (X,Y,Z). You can&#39;t define a contour with just (X,Y) values.<br><br>Consider a circle with 10 mm radius, you may be happy with the (X,Y) values but VTK should be told where it should be positioned in the Z axis.<br>



<br><br>Jothy<div><div><br><br><div class="gmail_quote">On Tue, Jun 26, 2012 at 12:47 PM, Gishara Indeewarie <span dir="ltr">&lt;<a href="mailto:gish.777@gmail.com" target="_blank">gish.777@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Jothy, Thanks for the reply.<div>Can you explain me it further? </div><div>I want just a 2D contour, which means that I do not have the ability to rotate it.<div><div><br><br><div class="gmail_quote">On Tue, Jun 26, 2012 at 4:35 PM, Jothybasu Selvaraj <span dir="ltr">&lt;<a href="mailto:jothybasu@gmail.com" target="_blank">jothybasu@gmail.com</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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"><div><div>On Tue, Jun 26, 2012 at 12:02 PM, Gishara Indeewarie <span dir="ltr">&lt;<a href="mailto:gish.777@gmail.com" target="_blank">gish.777@gmail.com</a>&gt;</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>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">&lt;<a href="mailto:gish.777@gmail.com" target="_blank">gish.777@gmail.com</a>&gt;</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></div></div>_______________________________________________<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><span><font color="#888888"><br><br clear="all"><br>-- <br><div dir="ltr">Jothybasu Selvaraj<br>PhD Student<br>University of Liverpool<br>UK<br></div><br>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div></div><font color="#666666">Gish</font><br>
</font></span></div>
</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></div></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div></div><font color="#666666">Gish</font><br>
</font></span></div>
</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></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div></div><font color="#666666">Gish</font><br>
</div>