<div dir="ltr">Thanks again!</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 20 February 2014 15:58, 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">I think just Voxel and Pixel.<br>
<br>
I believe they all are anti-clockwise.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Thu, Feb 20, 2014 at 10:34 AM, Paul Edwards <<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>> wrote:<br>
> Hi Bill,<br>
><br>
> Thanks for the reply.  I was hoping to be able to deal with just the vtkCell<br>
> API rather than need to check a SafeDownCast for each of the derived<br>
> types...   Do you know if it is just vtkVoxel that is like this?  Also, is<br>
> there any requirement for the direction of the points for the ones that do<br>
> order the points around the polygon - either clockwise/anticlockwise?<br>
><br>
> Thanks,<br>
> Paul<br>
><br>
><br>
> On 20 February 2014 15:13, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>> wrote:<br>
>><br>
>> 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>
>><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>><br>
>> 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<br>
>> > that<br>
>> > face.  Is it a bug that this isn't the case for vtkVoxel?  Or, is there<br>
>> > a<br>
>> > another way I can do this?<br>
>> ><br>
>> > Thanks in advance,<br>
>> > Paul<br>
>> ><br>
>> > _______________________________________________<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>
>><br>
>><br>
>><br>
>> --<br>
>> Unpaid intern in BillsBasement at noware dot com<br>
><br>
><br>
<br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
</div></div></blockquote></div><br></div>