[vtkusers] Wiki example "PolyDataContourToImageData" does not seem to work properly

Bill Lorensen bill.lorensen at gmail.com
Thu Jan 18 01:10:48 EST 2018


You fix is correct. I'll update the example.

Thanks

Bill

On Wed, Jan 17, 2018 at 9:38 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> I'll take a look.
>
>
> On Wed, Jan 17, 2018 at 7:24 PM, sdobashi <dobashisuguru at gmail.com> wrote:
>> Hi everyone,
>>
>> Wiki example "PolyDataContourToImageData" does not seem to work properly:
>> https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/PolyDataContourToImageData/
>>
>> The output image "labelImage" is not a (filled) circle but has all zero
>> values.
>>
>> However, if I replace
>>
>> extruder-> SetExtrusionTypeToNormalExtrusion ();
>>
>> to
>>
>> extruder-> SetExtrusionTypeToVectorExtrusion ();
>>
>> it seems work properly.
>>
>> Any updates have been done as for vtkPolyDataToImageStencil or something?
>> or is there something wrong with me?
>>
>> I'm using the latest build at this time (commit:
>> a23006d5008c55b2804e36225d4eda3f6147b949)
>> and Visual Studio 2015.
>>
>> Any advice would be much appreciated.
>>
>>
>>
>> --
>> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
>> _______________________________________________
>> 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
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> https://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