|
gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <stdio.h>#include <vector>#include <string>

Go to the source code of this file.
Classes | |
| struct | GmshColorTable |
Macros | |
| #define | COLORTABLE_NBMAX_PARAM 10 |
| #define | COLORTABLE_NBMAX_COLOR 1024 |
| #define | COLORTABLE_RGB 1 |
| #define | COLORTABLE_HSV 2 |
| #define | COLORTABLE_NUMBER 0 |
| #define | COLORTABLE_INVERT 1 |
| #define | COLORTABLE_SWAP 2 |
| #define | COLORTABLE_ROTATION 3 |
| #define | COLORTABLE_MODE 4 |
| #define | COLORTABLE_CURVATURE 0 |
| #define | COLORTABLE_BIAS 1 |
| #define | COLORTABLE_ALPHA 2 |
| #define | COLORTABLE_BETA 3 |
| #define | COLORTABLE_ALPHAPOW 4 |
Functions | |
| void | ColorTable_InitParam (int number, GmshColorTable *ct) |
| void | ColorTable_Recompute (GmshColorTable *ct) |
| void | ColorTable_Copy (GmshColorTable *ct) |
| void | ColorTable_Paste (GmshColorTable *ct) |
| void | ColorTable_Print (GmshColorTable *ct, FILE *fp, std::vector< std::string > *vec=nullptr) |
| int | ColorTable_IsAlpha (GmshColorTable *ct) |
| int | ColorTable_Diff (GmshColorTable *ct1, GmshColorTable *ct2) |
| void | RGB_to_HSV (double R, double G, double B, double *H, double *S, double *V) |
| void | HSV_to_RGB (double H, double S, double V, double *R, double *G, double *B) |
| #define COLORTABLE_ALPHA 2 |
Definition at line 41 of file ColorTable.h.
| #define COLORTABLE_ALPHAPOW 4 |
Definition at line 43 of file ColorTable.h.
| #define COLORTABLE_BETA 3 |
Definition at line 42 of file ColorTable.h.
| #define COLORTABLE_BIAS 1 |
Definition at line 40 of file ColorTable.h.
| #define COLORTABLE_CURVATURE 0 |
Definition at line 39 of file ColorTable.h.
| #define COLORTABLE_HSV 2 |
Definition at line 27 of file ColorTable.h.
| #define COLORTABLE_INVERT 1 |
Definition at line 32 of file ColorTable.h.
| #define COLORTABLE_MODE 4 |
Definition at line 35 of file ColorTable.h.
| #define COLORTABLE_NBMAX_COLOR 1024 |
Definition at line 15 of file ColorTable.h.
| #define COLORTABLE_NBMAX_PARAM 10 |
Definition at line 14 of file ColorTable.h.
| #define COLORTABLE_NUMBER 0 |
Definition at line 31 of file ColorTable.h.
| #define COLORTABLE_RGB 1 |
Definition at line 26 of file ColorTable.h.
| #define COLORTABLE_ROTATION 3 |
Definition at line 34 of file ColorTable.h.
| #define COLORTABLE_SWAP 2 |
Definition at line 33 of file ColorTable.h.
| void ColorTable_Copy | ( | GmshColorTable * | ct | ) |
Definition at line 1055 of file ColorTable.cpp.
| int ColorTable_Diff | ( | GmshColorTable * | ct1, |
| GmshColorTable * | ct2 | ||
| ) |
Definition at line 1071 of file ColorTable.cpp.
Referenced by PrintColorTable().

| void ColorTable_InitParam | ( | int | number, |
| GmshColorTable * | ct | ||
| ) |
Definition at line 22 of file ColorTable.cpp.
Referenced by PrintColorTable(), and PViewOptions::PViewOptions().

| int ColorTable_IsAlpha | ( | GmshColorTable * | ct | ) |
Definition at line 1112 of file ColorTable.cpp.
Referenced by drawPView::operator()().


| void ColorTable_Paste | ( | GmshColorTable * | ct | ) |
Definition at line 1063 of file ColorTable.cpp.
| void ColorTable_Print | ( | GmshColorTable * | ct, |
| FILE * | fp, | ||
| std::vector< std::string > * | vec = nullptr |
||
| ) |
Definition at line 1079 of file ColorTable.cpp.
Referenced by PrintColorTable().


| void ColorTable_Recompute | ( | GmshColorTable * | ct | ) |
Definition at line 724 of file ColorTable.cpp.
Referenced by opt_view_colormap_alpha(), opt_view_colormap_alpha_power(), opt_view_colormap_beta(), opt_view_colormap_bias(), opt_view_colormap_curvature(), opt_view_colormap_invert(), opt_view_colormap_number(), opt_view_colormap_rotation(), opt_view_colormap_swap(), PrintColorTable(), and PViewOptions::PViewOptions().


| void HSV_to_RGB | ( | double | H, |
| double | S, | ||
| double | V, | ||
| double * | R, | ||
| double * | G, | ||
| double * | B | ||
| ) |
Definition at line 1124 of file ColorTable.cpp.
Referenced by ColorTable_Recompute().


| void RGB_to_HSV | ( | double | R, |
| double | G, | ||
| double | B, | ||
| double * | H, | ||
| double * | S, | ||
| double * | V | ||
| ) |
Definition at line 1173 of file ColorTable.cpp.