SoTransferFunctionLoadColormap Method |
Loads a colormap from a file.
Namespace: OIV.LDM.Nodes
Returns true if successful. The specified file name must have an extension of either ".am" or ".col".
Note: This method loads RGBA values into the colorMap field, but the application must still set the predefColorMap field to NONE for the custom colormap values to be used.
Supported formats:
.am : Avizo Colormap v1.0
.col : Avizo Colormap v2.0