<div dir="ltr">Hi Bill,<div><br></div><div>Thanks for the reply.  I was hoping to be able to deal with just the vtkCell API rather than need to check a SafeDownCast for each of the derived types...   Do you know if it is just vtkVoxel that is like this?  Also, is there any requirement for the direction of the points for the ones that do order the points around the polygon - either clockwise/anticlockwise?</div>
<div><br></div><div>Thanks,</div><div>Paul</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 20 February 2014 15:13, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Each face for a voxel is returned with a pixel's point ordering. They<br>
need to be traversed as you would a pixel.<br>
Figure 5-2 in the VTK book shows the ordering.<br>
<br>
I also found a figure on this page:<br>
<a href="http://vislab.eas.ualberta.ca/VisLab/Data.aspx" target="_blank">http://vislab.eas.ualberta.ca/VisLab/Data.aspx</a><br>
<br>
Bill<br>
<div><div class="h5"><br>
On Thu, Feb 20, 2014 at 9:47 AM, Paul Edwards <<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I had assumed (wrongly) that the point order for a face when calling<br>
> vtkCell::GetFace would traverse the edges and make up the polygon for that<br>
> face.  Is it a bug that this isn't the case for vtkVoxel?  Or, is there a<br>
> another way I can do this?<br>
><br>
> Thanks in advance,<br>
> Paul<br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
</font></span></blockquote></div><br></div>