Hello All,

I have a bunch of centerline points with corresponding radii that I
wish to use with some vmtk classes, in particular
vtkvmtkCenterlineBranchExtractor.
The centerline points all start at the the same root position and each
centerline traces a particular branch in the vessel tree.
For example:

Line 1 (x, y z radius)
------------------------------
1.0 1.0. 3.0 0.5
1.0 1.0. 4.0 0.5
1.0 1.0. 5.0 0.7

Line 2 (x, y z radius)
------------------------------
1.0 1.0. 3.0 0.5
1.0 1.0. 4.0 0.5 <- last common point with line 1
1.0 2.0. 5.0 0.3

Etc...

How should I fill the vtkPolyData object with this data?
Which DataArrays should be filled, I think at least the radius.

Maybe there are some code examples (Python or C++) that could point me
in the right direction.

Best regards,

Pieter Kitslaar

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to