panelMap

panelMap — The widget to create coloured map.

Synopsis

ToolPanel*          panelMapInit                        ();
void                panelMapSet                         (guint planeId,
                                                         guint scalarFieldId,
                                                         guint shadeId);
void                panelMapSet_nIsoLines               (guint nIsoLines);
void                panelMapSet_isoLinesColor           (float *color);
void                panelMapSet_scale                   (matrix_scaleflag scale);

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                        ();

Should be used in the list declared in externalModules.h to be loaded by V_Sim on start-up. This routine will create the ToolPanel where the coloured map stuff can be done, such as choosing a plane, associating a scalar field...

Returns :

a newly created ToolPanel object.

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_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_scale ()

void                panelMapSet_scale                   (matrix_scaleflag scale);

Set the scaling method.

scale :

the status.

Since 3.4