[vtkusers] Wiki example "PolyDataContourToImageData" does not seem to work properly
sdobashi
dobashisuguru at gmail.com
Wed Jan 17 22:24:11 EST 2018
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
More information about the vtkusers
mailing list