[vtkusers] Point order of faces in a cell

Bill Lorensen bill.lorensen at gmail.com
Thu Feb 20 10:58:13 EST 2014


I think just Voxel and Pixel.

I believe they all are anti-clockwise.


On Thu, Feb 20, 2014 at 10:34 AM, Paul Edwards <paul.m.edwards at gmail.com> wrote:
> Hi Bill,
>
> 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?
>
> Thanks,
> Paul
>
>
> On 20 February 2014 15:13, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>>
>> Each face for a voxel is returned with a pixel's point ordering. They
>> need to be traversed as you would a pixel.
>> Figure 5-2 in the VTK book shows the ordering.
>>
>> I also found a figure on this page:
>> http://vislab.eas.ualberta.ca/VisLab/Data.aspx
>>
>> Bill
>>
>> On Thu, Feb 20, 2014 at 9:47 AM, Paul Edwards <paul.m.edwards at gmail.com>
>> wrote:
>> > Hi,
>> >
>> > I had assumed (wrongly) that the point order for a face when calling
>> > vtkCell::GetFace would traverse the edges and make up the polygon for
>> > that
>> > face.  Is it a bug that this isn't the case for vtkVoxel?  Or, is there
>> > a
>> > another way I can do this?
>> >
>> > Thanks in advance,
>> > Paul
>> >
>> > _______________________________________________
>> > Powered by www.kitware.com
>> >
>> > Visit other Kitware open-source projects at
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Please keep messages on-topic and check the VTK FAQ at:
>> > http://www.vtk.org/Wiki/VTK_FAQ
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.vtk.org/mailman/listinfo/vtkusers
>> >
>>
>>
>>
>> --
>> Unpaid intern in BillsBasement at noware dot com
>
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list