Inventor and vtk II
Will Schroeder
will.schroeder at kitware.com
Fri Dec 17 12:13:31 EST 1999
Hi Nils-
At 05:29 PM 12/17/99 +0100, Nils Holger Busch wrote:
>What I would like to get from vtk is a list of points with their 3D
>coordinate; I think vtkPolyData::GetPoints() does that.
>Plus a list (or more ) that would give me the vertices belonging to one
>triangle strip, best in consecutive order.
You need vtkPoints from GetPoints(), and the connectivity (vtkCellArray) from vtkPolyData::GetStrips(). Then you can loop over strips with vtkCellArray::GetNextCell() (invoking a vtkCellArray:;InitTraversal() first).
Will
>What combination of Cell Array, Cell List and Link List must I use?
>
>Thanks.
>
>--
>Best regards,
> Nils H. Busch
>
>______________________________________________________
>
> Max-Planck-Institute of Cognitive Neuroscience
> Phone: ++49 (341) 9940-234
> Fax: ++49 (341) 9940-221
> E-Mail: nilsb at cns.mpg.de
>______________________________________________________
>
>
>
>
>
>-----------------------------------------------------------------------------
>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