[vtkusers] VTK 2D Control Points example

Jothybasu Selvaraj jothybasu at gmail.com
Tue Jun 26 07:05:23 EDT 2012


You could simply set the z value to the z value of the plane on which you
are drawing.

Jothy

On Tue, Jun 26, 2012 at 12:02 PM, Gishara Indeewarie <gish.777 at gmail.com>wrote:

> 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.
>>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>


-- 
Jothybasu Selvaraj
PhD Student
University of Liverpool
UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120626/c72f6671/attachment.htm>


More information about the vtkusers mailing list