[vtkusers] Nonlinear cells/unstructured grid - cell data not copied - vtkDataSetSurfaceFilter (vtk 4.2)

John Platt jcplatt at lineone.net
Fri Dec 12 05:01:49 EST 2003


Hi Users,

 

When nonlinear cells in an unstructured grid are triangulated, cell data
for the new cells is not copied. This causes access violation when
attempting to render.

 

The following edits seem to correct this problem.

 

vtkDataSetSurfaceFilter.cxx /
vtkDataSetSurfaceFilter::UnstructuredGridExecute()

 

At about line 892 insert 

 

            outputCD->CopyData( cd, cellId, this->NumberOfNewCells++ );

 

Repeat at about lines 906 & 931.

 

If this is still a problem (I don't have CVS client installed yet),
perhaps these changes could be reviewed and make vtk 4.4.

 

Thanks.

 

John Platt

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20031212/6a3914b6/attachment.htm>


More information about the vtkusers mailing list