DicomObjects Reference
DicomObjects Reference / PropertiesFor3D Object / SetTransferFunction Method
The pixel value to be mapped to the first element of the Colours array
The pixel value to be mapped to the last element of the Colours array
An array of Colour values
In This Topic
    SetTransferFunction Method
    In This Topic
    Description
    Set the transfer function (Colour Map) for use in Volume Rendering
    Syntax
    Visual Basic
    Public Sub SetTransferFunction( _
       ByVal Min As Single, _
       ByVal Max As Single, _
       ByVal Colours As Variant _
    ) 
    Parameters
    Min
    The pixel value to be mapped to the first element of the Colours array
    Max
    The pixel value to be mapped to the last element of the Colours array
    Colours
    An array of Colour values
    Remarks

    The alpha values are central to Volume rendering, and it is important that "transparent" pixel ranges should be to colours with an alpha value < 1.

    Pixel values less than the Min value are mapped to the first colour in the array and those greater than the Max value are mapped to the last value.

    See Also