g4tools  5.4.0
Classes | Namespaces | Macros | Typedefs | Functions
style_colormap File Reference
#include "style_color"
#include "../hls"
#include "../sto"
#include "../num2s"
#include "../S_STRING"
#include "../forit"
#include <map>
#include "../colors"
#include "../words"
Include dependency graph for style_colormap:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tools::sg::style_colormap
 
class  tools::sg::style_default_colormap
 
class  tools::sg::style_ROOT_colormap
 
class  tools::sg::style_povama_colormap
 

Namespaces

 tools
 inlined C code : ///////////////////////////////////
 
 tools::sg
 

Macros

#define tools_sg_style_colormap
 
#define STYLE_COLORMAP_ADD(a__name)
 
#define TOOLS_SG_STYLE_COLORMAP_ADD_TCOLOR(a__i, a__name)    new_TColor(a__i,get_color_ROOT_##a__name<colorf>(),#a__name);
 

Typedefs

typedef std::map< std::string, style_colormap > tools::sg::cmaps_t
 

Functions

bool tools::sg::to_ulong (const std::string &a_s, unsigned long &a_v)
 
bool tools::sg::find_color (const cmaps_t &a_cmaps, const std::string &a_s, colorf &a_col)
 

Macro Definition Documentation

◆ STYLE_COLORMAP_ADD

#define STYLE_COLORMAP_ADD (   a__name)
Value:
tmp.set_name(#a__name);\
set_color_##a__name(tmp);\
add(tmp);

Definition at line 94 of file style_colormap.

◆ tools_sg_style_colormap

#define tools_sg_style_colormap

Definition at line 5 of file style_colormap.

◆ TOOLS_SG_STYLE_COLORMAP_ADD_TCOLOR

#define TOOLS_SG_STYLE_COLORMAP_ADD_TCOLOR (   a__i,
  a__name 
)     new_TColor(a__i,get_color_ROOT_##a__name<colorf>(),#a__name);