[vtkusers] Re: GenericDataSetTessellator question
François Bertel
francois.bertel at kitware.com
Thu Mar 24 11:39:17 EST 2005
Hi Soeren,
I suspect that this problem comes from the implementation of:
int vtkBridgeCell::GetNumberOfBoundaries(int dim)
For dim=0, the number of boundaries is NOT the number of points but the
number of "corner" points, for a quad it is always 4, whatever is the
number of points. The current implementation just returns the actual
number of points for a linear cell, but for a none linear cell it
returns the number of points minus the number of edges, which is right
for the VTK quadratic cells (because there is one extra point per edge),
BUT which is wrong in your case. So you should add your case here by
returning 4 in the quad case and see what happens.
Regards.
--
François Bertel, PhD | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
| Clifton Park NY 12065, USA
More information about the vtkusers
mailing list