This demonstration presents a 2D Texture used as a transfer function.
2DTexture with intensity and gradient are used as input.
Select a zone with a color in the top left viewer to associate this specified color to voxels.
FILES:
-
Medical/TransferFunction/medical2DTransferFunction/main.cxx
-
Medical/TransferFunction/medical2DTransferFunction/SoTransferFunction2D.h
-
Medical/TransferFunction/medical2DTransferFunction/SoTransferFunction2D.cxx
SEE ALSO
SoVolumeRendering, SoTransferFunction
SCREENSHOT: