[vtk-developers] question about vtkContourWidget/vtkContourRepresentation?
Karthik Krishnan
karthik.krishnan at kitware.com
Fri May 7 14:08:01 EDT 2010
On Fri, May 7, 2010 at 2:01 PM, Arnaud GELAS
<arnaud_gelas at hms.harvard.edu>wrote:
> Hi Karthik,
>
> Let me tell you a bit more about the process Nicolas is implementing:
>
> 1. Run a level set on a 2D image
> 2. Apply vtkContourFilter or vtkMarchignSquares
> 3. Decimate the resulting vtkPolyData using vtkDecimatePolyline
> 4. Initialize the contour widget with the resulting polydata
>
> In such a pipeline when initializing the contour widget, the input polydata
> points can not be in order, and then we finally ended iterating on the line
> to sort the order of the point container.
>
> So, I wonder do you think it could be included in the
> vtkContourRepresentation class?
>
Sure. Do you have the ordering code around ?
Thanks
--
karthik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100507/26c22f6b/attachment.html>
More information about the vtk-developers
mailing list