[vtkusers] VTK Contouring, combining perpendicular polygons

Andras Lasso lasso at queensu.ca
Tue Feb 12 17:27:05 EST 2019


> This whole process has felt pretty ridiculous

Have a look at the source code and you'll see how the filter works and understand its limitations. Any contributions for improving the filter are welcome.

VTK discussions have moved to https://discourse.vtk.org/. Please post further questions and comments there.

Andras

-----Original Message-----
From: vtkusers <vtkusers-bounces at vtk.org> On Behalf Of HarryG
Sent: Tuesday, February 12, 2019 4:29 PM
To: vtkusers at vtk.org
Subject: Re: [vtkusers] VTK Contouring, combining perpendicular polygons

I have implemented a feasible but probably suboptimal solution:
I ended up flipping the axes of the sagittal and coronal plane contours to give them constant Z values, then I extruded and stenciled that flipped data, then I was able to manually flip the axes of the stencil back to the original orientation to be merged with the other axes.

This whole process has felt pretty ridiculous, so I would love to hear if there is an easier way to do it, but this way works for now. 
Feel free to email if you have any questions on the details of my solution, and I can post the actual code here when it becomes open source in the coming months. 

Thanks,
Harry



--
Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvtk.1045678.n5.nabble.com%2FVTK-Users-f1224199.html&data=02%7C01%7Classo%40queensu.ca%7Ca1b9d6968ef5445f0f0e08d691318215%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C1%7C636856039155393657&sdata=iQtwsqXIb31NBQN8FTgPmnmDSM906xP%2BBjz%2FCw6RuYA%3D&reserved=0
_______________________________________________
Powered by https://na01.safelinks.protection.outlook.com/?url=www.kitware.com&data=02%7C01%7Classo%40queensu.ca%7Ca1b9d6968ef5445f0f0e08d691318215%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C1%7C636856039155393657&sdata=qXdRJoV3by2mQkeeKerzzTPKgqmatKAV7bgSWBJNEZY%3D&reserved=0

Visit other Kitware open-source projects at https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=02%7C01%7Classo%40queensu.ca%7Ca1b9d6968ef5445f0f0e08d691318215%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C1%7C636856039155393657&sdata=PprwIEZSRdQTX6tPCKWOuBw8Qre2KRYbqd1W1NfJxh8%3D&reserved=0

Please keep messages on-topic and check the VTK FAQ at: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vtk.org%2FWiki%2FVTK_FAQ&data=02%7C01%7Classo%40queensu.ca%7Ca1b9d6968ef5445f0f0e08d691318215%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C1%7C636856039155403666&sdata=XcwrvsgZJj35L3ehlzNV6E%2B2otL5mpIBULuowY03CEI%3D&reserved=0

Search the list archives at: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3Dvtkusers&data=02%7C01%7Classo%40queensu.ca%7Ca1b9d6968ef5445f0f0e08d691318215%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C1%7C636856039155403666&sdata=JtDYf69woX4ddw2Sn9ilCmr9SN8V%2Fqn5m7LoNKCBxYs%3D&reserved=0

Follow this link to subscribe/unsubscribe:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvtk.org%2Fmailman%2Flistinfo%2Fvtkusers&data=02%7C01%7Classo%40queensu.ca%7Ca1b9d6968ef5445f0f0e08d691318215%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C1%7C636856039155403666&sdata=J5jjOl5gFDAfxp1TPVtche2F2J6sWAfHQCb7l6kOCJg%3D&reserved=0


More information about the vtkusers mailing list