Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
RGBA.hh
1 
2 // Jan Woetzel
3 
4 #ifndef _RGBA_hh_
5 #define _RGBA_hh_
6 
7 #include "bias_config.h"
8 #include <Base/Math/Vector4.hh>
9 
10 
11 /// predefined colors
12 /// opaque = not transparent
13 #define RGBAuc_WHITE_OPAQUE BIAS::RGBAuc(255,255,255, 255)
14 
15 /// semi transparent white
16 #define RGBAuc_WHITE_SEMI BIAS::RGBAuc(255,255,255, 128)
17 /// semi transparent black
18 #define RGBAuc_BLACK_SEMI BIAS::RGBAuc(0,0,0, 128)
19 /// semi transparent red
20 #define RGBAuc_RED_SEMI BIAS::RGBAuc(255, 0, 0, 128)
21 /// semi transparent green
22 #define RGBAuc_GREEN_SEMI BIAS::RGBAuc(0, 255, 0, 128)
23 /// semi transparent blue
24 #define RGBAuc_BLUE_SEMI BIAS::RGBAuc(0, 0, 255, 128)
25 /// semi transparent yellow
26 #define RGBAuc_YELLOW_SEMI BIAS::RGBAuc(255, 255, 0, 128)
27 /// semi transparent
28 #define RGBAuc_CYAN_SEMI BIAS::RGBAuc(0, 255, 255, 128)
29 /// semi transparent magenta
30 #define RGBAuc_MAGENTA_SEMI BIAS::RGBAuc(255, 0, 255, 128)
31 /// semi transparent medium grey
32 #define RGBAuc_GREY_SEMI BIAS::RGBAuc(128, 128, 128, 128)
33 /// semi transparent dark red
34 #define RGBAuc_DARKRED_SEMI BIAS::RGBAuc(128, 0, 0, 128)
35 /// semi transparent dark green
36 #define RGBAuc_DARKGREEN_SEMI BIAS::RGBAuc(0, 128, 0, 128)
37 /// semi transparent darkblue
38 #define RGBAuc_DARKBLUE_SEMI BIAS::RGBAuc(0, 0, 128, 128)
39 
40 
41 
42 namespace BIAS {
43  /** @class RGBAuc
44  @ingroup g_math
45  @brief class RGBAuc is asynonym for a Vector4 of corerct type
46  @author Jan Woetzel **/
48 
49  /** @class RGBAf
50  @ingroup g_math
51  @brief class RGBAf is asynonym for a Vector4 of correct type
52  @author Jan Woetzel **/
54 
55  /** @class RGBAd
56  @ingroup g_math
57  @brief class RGBAd is asynonym for a Vector4 of correct type
58  @author Jan Woetzel **/
60 
61 } // namespace BIAS
62 #endif
63 
BIAS::Vector4< float > RGBAf
Definition: RGBA.hh:53
BIAS::Vector4< unsigned char > RGBAuc
Definition: RGBA.hh:47
BIAS::Vector4< double > RGBAd
Definition: RGBA.hh:59