![]() |
![]() |
![]() |
V_Sim API - Reference Manual | ![]() |
---|---|---|---|---|
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);
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.
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. |
void panelMapSet (guint planeId, guint scalarFieldId, guint shadeId);
Change the values of the three combobox of this panel.
|
a entry for the plane combobox ; |
|
a entry for the scalar field combobox ; |
|
a entry for the shade combobox. |
Since 3.4
void panelMapSet_nIsoLines (guint nIsoLines);
Change the number of drawn isolines.
|
a value. |
Since 3.4
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.
|
an RGB value (can be NULL). |
Since 3.5
void panelMapSet_scale (matrix_scaleflag scale);
Set the scaling method.
|
the status. |
Since 3.4