[vtkusers] connectivity filter and hull
Lisa Avila
lisa.avila at kitware.com
Wed May 22 16:26:21 EDT 2002
Hello David,
I suspect that vtkPolyDataConnectivityFilter is passing all the points
through and vtkHull is working off of the points. You can through in a
vtkCleanPolyData in between to clean out the unused points.
Lisa
At 01:42 AM 5/21/2002, David Netherway wrote:
>Hello vtkusers,
>
>I am using the following:
>
>vtkImageData->vtkContourFilter->vtkPolyDataConnectivyFilter->vtkHull
>
>with the connectivity set using "SetExtractionModeToLargestRegion".
>
>The hull surrounds all of the isosurface not just the largest surface.
>
>If I set the connectivity to "SetExtractionModeToClosestPointRegion" and set
>the point near the largest surface then the hull surrounds just the largest
>surface as expected.
>
>If I use the following I get the expected behaviour:
>
>vtkImageData->vtkContourFilter->vtkPolyDataConnectivyFilter->vtkDecimatePro-
> >vtkHull
>
>Does anyone get the expected behaviour for the first pipeline above or know
>of the problem?
>
>I am using vtk4.1.1 Revision 1.1215 from May 14, 2002 on a windows platform.
>
>Thanks, David
>
>----- Original Message -----
>From: "ady roman" <ady_roman at yahoo.com>
>To: <vtkusers at public.kitware.com>
>Sent: Tuesday, 21 May, 2002 1:26 AM
>Subject: [vtkusers] DecimatePro and deciFranCut example
>
>
> >
> > Could some explain me how to use DecimatePro Filter?
> > I don't quite understand what the deciFranCut example
> > does :
> >
> > set topologies "On Off"
> > set accumulates "On Off"
> > foreach topology $topologies {
> > foreach accumulate $accumulates {
> > vtkDecimatePro deci$topology$accumulate
> > deci$topology$accumulate SetInput [fran
> > GetOutput]
> > deci$topology$accumulate SetTargetReduction .95
> > deci$topology$accumulate
> > PreserveTopology$topology
> > deci$topology$accumulate
> > AccumulateError$accumulate
> > vtkPolyDataMapper mapper$topology$accumulate
> > mapper$topology$accumulate SetInput
> > [deci$topology$accumulate GetOutput]
> > vtkActor fran$topology$accumulate
> > fran$topology$accumulate SetMapper
> > mapper$topology$accumulate
> > fran$topology$accumulate SetTexture atext
> > }
> > }
> >
> > How can I do this in C++?
> >
> > Regards,
> > A.Roman
> >
> > __________________________________________________
> > Do You Yahoo!?
> > LAUNCH - Your Yahoo! Music Experience
> > http://launch.yahoo.com
> > _______________________________________________
> > 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://public.kitware.com/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://public.kitware.com/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list