[vtkusers] Surface rendering of multiple objects

Christian Lackas lackas at invicro.com
Fri Feb 18 14:44:27 EST 2011


Hi Everybody,

I have a 3D volumetric dataset with distinct values from say 0 to 7
(unsigned chars) that represent voxels of different ROIs. I would like
to produce a surface rendering of these regions in user-selectable
colors, similar to this image here:

    http://www.spect-ct.com/site/site.cgi/dispentry.site?id=135

>From what I have read so far, vtkDiscreteMarchingCubes should be a good
starting point to convert the 3D volume into point data. I have also
read the GenerateModelsFromLabels.cxx, which seems to perform exactly
the segmentation I need. However, I don't understand how I can then show
the results on screen, and where to associate ROI values (aka labels)
with different colors.

So far, I have only succeeded in showing a surface rendering of all ROIs
(i.e. non 0 voxels) together.

Any further pointers are appreciated...

Thanks,
 Christian

-- 
http://www.invicro.com




More information about the vtkusers mailing list