## panelMap

panelMap — The widget to create coloured map.

## Synopsis

    ToolPanel*          panelMapInit                        ();
    void                panelMapSet                         (guint planeId,
                                                             guint scalarFieldId,
                                                             guint shadeId);
    void                panelMapSet_scale                   (ToolMatrixScalingFlag scale);
    void                panelMapSet_nIsoLines               (guint nIsoLines);
    void                panelMapSet_isoLinesColor           (float *color);
    void                panelMapSet_precision               (guint prec);
    void                panelMapSet_inputMinMax             (float *minMax);

## Description

This is the user interface for the coloured maps. For a plane, a scalar field and a shade, it is possible to draw one coloured plane. The available planes are taken from the panelPlane subpanel and the scalar field for the panelSurfaces.

## Details

### panelMapInit ()

    ToolPanel*          panelMapInit                        ();

### panelMapSet ()

    void                panelMapSet                         (guint planeId,
                                                             guint scalarFieldId,
                                                             guint shadeId);

Change the values of the three combobox of this panel.

`planeId` : | a entry for the plane combobox ;
`scalarFieldId` : | a entry for the scalar field combobox ;
`shadeId` : | a entry for the shade combobox.

Since 3.4

### panelMapSet_scale ()

    void                panelMapSet_scale                   (ToolMatrixScalingFlag scale);

Set the scaling method.

`scale` : | the status.

Since 3.4

### panelMapSet_nIsoLines ()

    void                panelMapSet_nIsoLines               (guint nIsoLines);

Change the number of drawn isolines.

`nIsoLines` : | a value.

Since 3.4

### panelMapSet_isoLinesColor ()

    void                panelMapSet_isoLinesColor           (float *color);

Change the colour of drawn isolines. If `color` is NULL, then the specific colour is unchecked and inversed colours are used.

`color` : | an RGB value (can be NULL).

Since 3.5

### panelMapSet_precision ()

    void                panelMapSet_precision               (guint prec);

Set the precision used to render the maps. At 200, there is no adaptive mesh.

`prec` : | a pourcentage.

Since 3.6

### panelMapSet_inputMinMax ()

    void                panelMapSet_inputMinMax             (float *minMax);

Set-up the minimum and maximum scaling values. In case `minMax` is NULL, then the automatic normalisation is chosen.

`minMax` : | two floats containing min and max values. Can be NULL.

Since 3.6