The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



ColorHigh


Unit: SDL_plot3d
Class: TPlot3D
Declaration: property ColorHigh: TColor;

If the property ColorCodingMode is not equal to ccmColorArray the property ColorHigh determines the color used for the highest z-value as defined by the property ColorScaleHigh. Depending on ColorCodingMode  the colors for z-values less than ColorScaleHigh are either interpolated towards ColorMid, or ColorLow, or are taken from the color array IsoColors.

Example: This property is used in the following example programs (see http://www.lohninger.com/examples.html for downloading the code): interpol3d, plot3dhole, plotit3d

Hint: Due to a bug in Delphi 2005 (.NET only) the surface cannot be colored using a color gradient. The color of the surface is fixed and corresponds to the color defined by the property ColorHigh. This bug occurs only under the .NET environment, under Win32 the color gradient is rendered as expected.

As of January 2005, there is no known work-around for this bug. If you need to display colored surfaces, you have to use Win32.



Last Update: 2023-Dec-13