[vtkusers] vtkContourFilter: continuous contour

Amy Henderson amy.henderson at kitware.com
Wed Jun 23 08:51:45 EDT 2004


Hi Rosa,

In the vtkPolyDataConnectivityFilter, did you turn on the ColorRegions 
option? When you do that, a scalar value is added to each point in the 
output indicating which region that point is in.

- Amy

At 03:22 AM 6/23/2004, Rosa Ruiloba wrote:
>Hello,
>
>I have used vtkPolyDataConnectivityFilter but I don't know how to obtain
>the regions.
>I have asked for ALL REGIONS (SetExtractionModeToAllRegions) and I have
>58 regions (GetNumberOfExtractedRegions) and the same number of cells
>that for the ContourFilter output. My problem now is how can I to know
>what are the points in the region and its order (or connectivity)?
>
>Thank you for your help,
>
>Rosa
>On Tue, 2004-06-22 at 15:07, Amy Henderson wrote:
> > Using vtkConnectivityFilter may solve your problem.
> >
> > - Amy
> >
> > At 09:01 AM 6/22/2004, Rosa Ruiloba wrote:
> > >Hello,
> > >
> > >I'm a new user of VTK. A great thing!
> > >
> > >I'm computing isocontours on an image by using vtkContourFilter. For a
> > >given level contour value (ex.128) I have several contours on my image.
> > >I can obtain the contour points but how can I know if points belong to
> > >one iscoontour or to another? That is how can I know the pixel list
> > >belonging to the same continous contour ?
> > >
> > >Thank you very much
> > >
> > >--
> > >--
> > >NOVELTIS
> > >Parc Technologique du Canal
> > >2, avenue de l'Europe
> > >31526 RAMONVILLE SAINT AGNE CEDEX
> > >Tel: +(33) (0)5.62.88.11.16
> > >
> > >_______________________________________________
> > >This is the private VTK discussion list.
> > >Please keep messages on-topic. Check the FAQ at:
> > ><http://public.kitware.com/cgi-bin/vtkfaq>
> > >Follow this link to subscribe/unsubscribe:
> > >http://www.vtk.org/mailman/listinfo/vtkusers
> >
> >
> >
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at: 
> <http://public.kitware.com/cgi-bin/vtkfaq>
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >
>--
>--
>NOVELTIS
>Parc Technologique du Canal
>2, avenue de l'Europe
>31526 RAMONVILLE SAINT AGNE CEDEX
>Tel: +(33) (0)5.62.88.11.16
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers






More information about the vtkusers mailing list