Extracting Lines from Polydata
Will Schroeder
will.schroeder at kitware.com
Mon Sep 20 15:05:12 EDT 1999
Hi Mykola-
Try using vtkGeometryFilter and using the "CellClipping" functionality. Something like:
vtkGeometryFilter *gf = vtkGeometryFilter::New();
gf->SetInput(yourPolyData);
gf->CellClippingOn();
gf->SetCellMinimum(n);
gf->SetCellMaximum(m);
Right now it only works for contiguous cell ids.
Will
At 12:54 PM 9/20/99 +0200, Mykola Khotyaintsev wrote:
>Hello VTK-users,
>
>I have a vtkPolyData, which is a set of lines. I whant to
>display lines number n, n+1, ... , m.
>
>What Filter do I have to use?
>
>
>
>Mykola
>
>
>
>-----------------------------------------------------------------------------
>This is the private VTK discussion list. Please keep messages on-topic.
>Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
>To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
><majordomo at gsao.med.ge.com>. For help, send message body containing
>"info vtkusers" to the same address. Live long and prosper.
>-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list