![]() |
![]() |
![]() |
V_Sim API - Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
VisuUiPanel * visu_ui_panel_map_init (); VisuMap * visu_ui_panel_map_setData (guint planeId
,guint scalarFieldId
,guint shadeId
); void visu_ui_panel_map_setIsolinesColor (float *color
); void visu_ui_panel_map_setMinMax (float *minMax
); void visu_ui_panel_map_setNIsolines (guint nIsoLines
); void visu_ui_panel_map_setPrecision (guint prec
); void visu_ui_panel_map_setScale (ToolMatrixScalingFlag scale
); void visu_ui_panel_map_update (VisuMap *map
);
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 panelVisuPlane subpanel and the scalar field for the panelSurfaces.
VisuUiPanel * visu_ui_panel_map_init ();
Should be used in the list declared in externalModules.h to be loaded by V_Sim on start-up. This routine will create the VisuUiPanel where the coloured map stuff can be done, such as choosing a plane, associating a scalar field...
Returns : |
a newly created VisuUiPanel object. |
VisuMap * visu_ui_panel_map_setData (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. |
Returns : |
the associated VisuMap. [transfer none] |
Since 3.4
void visu_ui_panel_map_setIsolinesColor (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 visu_ui_panel_map_setMinMax (float *minMax
);
Set-up the minimum and maximum scaling values. In case minMax
is
NULL, then the automatic normalisation is chosen.
|
two floats containing min and max values. Can be NULL. |
Since 3.6
void visu_ui_panel_map_setNIsolines (guint nIsoLines
);
Change the number of drawn isolines.
|
a value. |
Since 3.4
void visu_ui_panel_map_setPrecision (guint prec
);
Set the precision used to render the maps. At 200, there is no adaptive mesh.
|
a pourcentage. |
Since 3.6
void visu_ui_panel_map_setScale (ToolMatrixScalingFlag scale
);
Set the scaling method.
|
the status. |
Since 3.4