.Modelica.Mechanics.MultiBody.Visualizers.Colors

Information

This package contains functions to operate on colors. Note, a color is represented as a Real array with 3 elements where the elements are the red, green, blue values of the RGB color model. Every element must be in the range 0 … 255. The type of a color is Real and not Integer in order that a color can be used with less problems in a model, since in a model an Integer type could only be used in a when-clause. Typical declaration of a color value:

Real color[3](each min=0, each max=255);

This definition is also available as type Modelica.Mechanics.MultiBody.Types.RealColor.

Contents

NameDescription
ColorMapsLibrary of functions returning color maps
colorMapToSvgSave a color map on file in svg (scalable vector graphics) format
scalarToColorMap a scalar to a color using a color map

Generated at 2024-04-18T18:15:58Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos