Problem with vtkPolyData::InsertNextLinkedCell()

Harry_Timtschenko at moldflow.com Harry_Timtschenko at moldflow.com
Mon Nov 1 02:31:24 EST 1999


Hi,

I am trying to add a triangle to polydata that has links built. I would
like the links to update accordingly.

I am using vtkPolyData::InsertNextLinkedCell() to insert the triangle but
the links don't seem to update. E.g. calling IsTriangle() on the added
triangle fails.
Calling DeleteCells() followed by BuildLinks() fixes things but I don't
want to do this after adding each triangle as it is too slow.

Any ideas?

Harry





IMPORTANT:  This transmission is intended for the sole use of the addressee
and may contain confidential or legally privileged information. If you are
not the intended recipient, you are notified that any use or dissemination
of this communication is strictly prohibited.  If you have received this
transmission in error please notify us immediately by telephone at [the
number / one of the numbers] set forth below so that we can arrange for the
return of the document at no cost to you.

Thank You.
Moldflow Corporation
781-674-0085 (United States), 613-9720-2088 (Australia), 33-472-8211-30
(France), 81-03-5325-3171 (Japan)




-----------------------------------------------------------------------------
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