<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7232.36">
<TITLE>RE: [vtkusers] Re: GenericDataSetTessellator question</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>> Hi Soeren,<BR>
><BR>
> I suspect that this problem comes from the implementation of:<BR>
><BR>
> int vtkBridgeCell::GetNumberOfBoundaries(int dim)<BR>
><BR>
> For dim=0, the number of boundaries is NOT the number of points but the<BR>
> number of "corner" points, for a quad it is always 4, whatever is the<BR>
> number of points. The current implementation just returns the actual<BR>
> number of points for a linear cell, but for a none linear cell it<BR>
> returns the number of points minus the number of edges, which is right<BR>
> for the VTK quadratic cells (because there is one extra point per edge),<BR>
> BUT which is wrong in your case. So you should add your case here by<BR>
> returning 4 in the quad case and see what happens.<BR>
<BR>
This interface may change in the future to accommodate<BR>
higher order cells whose higher order modes aren't<BR>
associated with interpolated points; in the future,<BR>
the point iterator will most probably only loop over the<BR>
"corner" points. The mid-edge and mid-face points will<BR>
be accessible through an as-yet-undefined DofNodeIterator<BR>
which will return mode-shape coefficients which may or may<BR>
not be interpolated exactly.<BR>
<BR>
David</FONT>
</P>
</BODY>
</HTML>