[vtkusers] VTK 2D Control Points example

Gishara Indeewarie gish.777 at gmail.com
Tue Jun 26 07:02:10 EDT 2012


I just have only x and y values to draw the contour.
 My requirement is that I need to add some control points to the contour,
so the
user can adjust the shape using control points. The example works fine (
http://www.cmake.org/Wiki/VTK/Examples/Cxx/Widgets/ContourWidget)
unless it uses x,y,z data. I only want to have x,y data.
How can I do this?
Please help me.

On Tue, Jun 26, 2012 at 10:52 AM, Gishara Indeewarie <gish.777 at gmail.com>wrote:

> Dear all,
>
> I want to do a 2d contour with some control points in vtk.
> I have found the example below:
> http://www.cmake.org/Wiki/VTK/Examples/Cxx/Widgets/ContourWidget
>
> This is good, but the problem is I only want a 2D one.
> Is there any way to do something like this for 2d data?
> Thanks in advance.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120626/b9dd1215/attachment.htm>


More information about the vtkusers mailing list