[vtkusers] Quadratic triangle + linear edge - cell scalars incorrect (vtk 4.5)

John Platt jcplatt at lineone.net
Mon May 24 15:38:44 EDT 2004


Hi Users,

 

When I add a linear edge to an unstructured grid consisting of a single
quadratic triangle, the centre linear triangle of the triangulated
quadratic triangle and the edge have swapped cell scalars - see
attachment (triangle should be all red & edge blue).

 

When either of the cells is drawn in isolation there is no problem.

 

The cell scalars coming out of
vtkDataSetSurfaceFilter::UnstructuredGridExecute() appear OK.

 

Does anybody else have this problem? I have attached the c++ code just
in case it is a fault on my part.

 

Many thanks for your help.

 

John.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040524/a99d8599/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QTri-Line.png
Type: image/png
Size: 971 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040524/a99d8599/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QTri-Line.cpp
Type: application/octet-stream
Size: 2960 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040524/a99d8599/attachment.obj>


More information about the vtkusers mailing list