Re: VTK Contouring, combining perpendicular polygons

HarryG <[email protected]> Mon, 11 Feb 2019 14:38:01 -0700 (MST)
Newsgroups gmane.comp.lib.vtk.user
Message-ID <[email protected]>
Hi ,
I’m writing a follow-up to my previous post:

I have been mostly successful in combining stencil data from the three axes,
simply using vtkImageStencilData -> Add(). 

My problem now is that the contours on the X and Y axes behave very
strangely with my mask generation pathway (stacked polylines ->
vtkLinearExtrusionFilter -> vtkPolyDataToImageStencil -> vtkImageStencil
combined with blank mask), while on the z-slices it seems to work perfectly. 

I gather from the documentation this has something to do with the following
warning in vtkPolyDataToImageStencil: “If contours are provided, the
contours must be aligned with the Z planes. Other contour orientations are
not supported.”. 

Is there some way to get around this? In my mind any algorithm that works on
the axial slices should work on the other slices, and I don’t understand why
this isn’t the case. I’ve been trying to rotate the X and Y contours so they
line up along the Z axis, but am stuck when trying to rotate the stencil
back to the proper orientation to be combined with the others. 

Any advice would be greatly appreciated, 
Harry



--
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