A fuzzy logic C++ library
Defines
plot_private.hpp File Reference

Private header file for gapi interface, IS INCLUDED ONLY IN .CPP FILES. More...

#include "slifis.hpp"
+ Include dependency graph for plot_private.hpp:
+ This graph shows which files directly or indirectly include this file:

Defines

#define H_FIRST   30
#define H2_MARGIN   15
 margin between end of plot and end of horizontal axis
#define V2_MARGIN   20
 margin between top of y axis and "1.0" value
#define HALF   128
 used for defining colors
#define FULL   255
 used for defining colors
#define DEF_COLOR_FS_SEL   GAPI_BuildColor( 250, 100, 50 )
 Default color for sets of mf, color of selected function.
#define DEF_COLOR_FS_NOTSEL   GAPI_BuildColor( 100, 100, 100 )
 Default color for sets of mf, color of the non-selected function.
#define DEF_COLOR_MF   GAPI_BuildColor(200,0,200)
 Default color for membership functions.
#define DEF_COLOR_MF_SEL_PT   GAPI_BuildColor(100,0,100)
 Default color for selected points in membership functions.
#define DEF_COLOR_GRID   GAPI_BuildColor( 200, 20, 50 )
 Default color for grid.
#define DEF_COLOR_BACKGROUND   GAPI_BuildColor( 255,255,255 )
 Default color for background of all plots.
#define DEF_COLOR_RB2D_SEL_BOX   GAPI_BuildColor( 200, 250, 250 )
 Default color for PLOT_RB_2D.
#define DEF_COLOR_RB2D_SEL_TXT   GAPI_BuildColor( 0, 50, 50 )
 Default color for PLOT_RB_2D.
#define DEF_COLOR_RB2D_ROW   GAPI_BuildColor( 50, 50, 200 )
 Default color for PLOT_RB_2D.
#define DEF_COLOR_RB2D_COLUMN   GAPI_BuildColor( 50, 200, 50 )
 Default color for PLOT_RB_2D.
#define DEF_COLOR_RB2D_IDX_OUT   GAPI_BuildColor( 50, 50, 100 )
 Default color for PLOT_RB_2D.
#define DEF_COLOR_RB2D_IDX_RULE   GAPI_BuildColor( 150, 50, 50 )
 Default color for PLOT_RB_2D.
#define DEF_COLOR_RB2D_FS   GAPI_BuildColor( 250, 10, 20 )
 Default color for PLOT_RB_2D.
#define DEF_COLOR_RBT_SEL_ROW   GAPI_BuildColor( 160,160, 50)
 Default color for PLOT_RB_TEXT, selected row.
#define DEF_COLOR_RBT_CELL_TXT   GAPI_BuildColor( 0, 20, 20 )
 Default color for PLOT_RB_TEXT, cell text color.

Detailed Description

Private header file for gapi interface, IS INCLUDED ONLY IN .CPP FILES.

Visual aspect of drawing parameters:


  |<                                im_w                                         >|
  |-------------------------------------------------------------------------------|
  |                                                                               |
  |            |                                                                  |
  |            |                                                                  |
  |          1 +               /-------\                                          |
  |            |              /         \                                         |
  |            |             /           \                                        |
  |            |            /             \                                       |
  |          0 +===========+---------------+===========+-------------+            |
  |                                                                               |
  |-------------------------------------------------------------------------------|
  |< H_MARGIN >|< H_FIRST >|               |< H_FIRST >|< H2_MARGIN >|< H_MARGIN >|
  |                                        |
  |< - - -  x_first - - - >|<   _x_range  >|
  |< - - - - - - - - - - x_last - - - - - >|


Define Documentation

#define H_FIRST   30
#define H2_MARGIN   15

margin between end of plot and end of horizontal axis

Referenced by slifis_plot::PLOT_FUZZY::P_ComputeMargins(), and slifis_plot::PLOT_FUZZY::PLOT_FUZZY().

#define V2_MARGIN   20

margin between top of y axis and "1.0" value

Referenced by slifis_plot::PLOT_FUZZY::P_ComputeMargins().

#define HALF   128

used for defining colors

Referenced by slifis_plot::PLOT_FS::P_InitColorSet().

#define FULL   255

used for defining colors

Referenced by slifis_plot::PLOT_FS::P_InitColorSet().

#define DEF_COLOR_FS_SEL   GAPI_BuildColor( 250, 100, 50 )

Default color for sets of mf, color of selected function.

#define DEF_COLOR_FS_NOTSEL   GAPI_BuildColor( 100, 100, 100 )

Default color for sets of mf, color of the non-selected function.

#define DEF_COLOR_MF   GAPI_BuildColor(200,0,200)

Default color for membership functions.

Referenced by slifis_plot::PLOT_MF::P_Init().

#define DEF_COLOR_MF_SEL_PT   GAPI_BuildColor(100,0,100)

Default color for selected points in membership functions.

Referenced by slifis_plot::PLOT_MF::P_DrawPlot().

#define DEF_COLOR_GRID   GAPI_BuildColor( 200, 20, 50 )

Default color for grid.

Referenced by slifis_plot::GRID::GRID().

#define DEF_COLOR_BACKGROUND   GAPI_BuildColor( 255,255,255 )

Default color for background of all plots.

Referenced by slifis_plot::PLOT_DATA::PLOT_DATA().

#define DEF_COLOR_RB2D_SEL_BOX   GAPI_BuildColor( 200, 250, 250 )

Default color for PLOT_RB_2D.

#define DEF_COLOR_RB2D_SEL_TXT   GAPI_BuildColor( 0, 50, 50 )

Default color for PLOT_RB_2D.

#define DEF_COLOR_RB2D_ROW   GAPI_BuildColor( 50, 50, 200 )

Default color for PLOT_RB_2D.

#define DEF_COLOR_RB2D_COLUMN   GAPI_BuildColor( 50, 200, 50 )

Default color for PLOT_RB_2D.

#define DEF_COLOR_RB2D_IDX_OUT   GAPI_BuildColor( 50, 50, 100 )

Default color for PLOT_RB_2D.

#define DEF_COLOR_RB2D_IDX_RULE   GAPI_BuildColor( 150, 50, 50 )

Default color for PLOT_RB_2D.

#define DEF_COLOR_RB2D_FS   GAPI_BuildColor( 250, 10, 20 )

Default color for PLOT_RB_2D.

#define DEF_COLOR_RBT_SEL_ROW   GAPI_BuildColor( 160,160, 50)

Default color for PLOT_RB_TEXT, selected row.

#define DEF_COLOR_RBT_CELL_TXT   GAPI_BuildColor( 0, 20, 20 )

Default color for PLOT_RB_TEXT, cell text color.

Referenced by slifis_plot::PLOT_RB_TEXT::P_PrintCell().