]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | <!-- Copyright 2008 Lubomir Bourdev and Hailin Jin |
2 | ||
3 | Distributed under the Boost Software License, Version 1.0. | |
4 | (See accompanying file LICENSE_1_0.txt or copy at | |
5 | http://www.boost.org/LICENSE_1_0.txt) | |
6 | --> | |
7 | ||
8 | <!-- | |
9 | Copyright 2005-2007 Adobe Systems Incorporated | |
10 | Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt | |
11 | or a copy at http://stlab.adobe.com/licenses.html) | |
12 | ||
13 | Some files are held under additional license. | |
14 | Please see "http://stlab.adobe.com/licenses.html" for more information. | |
15 | --> | |
16 | ||
17 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
18 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
19 | <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> | |
20 | ||
21 | <head> | |
22 | <TITLE>Generic Image Library: color_base.hpp File Reference</TITLE> | |
23 | <META HTTP-EQUIV="content-type" CONTENT="text/html;charset=ISO-8859-1"/> | |
24 | <LINK TYPE="text/css" REL="stylesheet" HREF="adobe_source.css"/> | |
25 | </head> | |
26 | <body> | |
27 | <table border="0" cellspacing="0" cellpadding="0" style='width: 100%; margin: 0; padding: 0'><tr> | |
28 | <td width="100%" valign="top" style='padding-left: 10px; padding-right: 10px; padding-bottom: 10px'> | |
29 | <div class="qindex"><a class="qindex" href="index.html">Modules</a> | |
30 | | <a class="qindex" href="classes.html">Alphabetical List</a> | |
31 | | <a class="qindex" href="annotated.html">Class List</a> | |
32 | | <a class="qindex" href="dirs.html">Directories</a> | |
33 | | <a class="qindex" href="files.html">File List</a> | |
34 | | <a class="qindex" href="../index.html">GIL Home Page</a> | |
35 | </div> | |
36 | <!-- End Header --> | |
37 | <!-- Generated by Doxygen 1.5.6 --> | |
38 | <div class="navpath"><a class="el" href="g_i_l_0076.html">boost</a> » <a class="el" href="g_i_l_0079.html">gil</a> | |
39 | </div> | |
40 | <div class="contents"> | |
41 | <h1>color_base.hpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> | |
42 | pixel class and related utilities | |
43 | <p> | |
44 | <dl class="author" compact><dt><b>Author:</b></dt><dd>Lubomir Bourdev and Hailin Jin <br> | |
45 | Adobe Systems Incorporated </dd></dl> | |
46 | <dl class="date" compact><dt><b>Date:</b></dt><dd>2005-2007 <br> | |
47 | Last updated on May 6, 2007 </dd></dl> | |
48 | ||
49 | <p> | |
50 | <code>#include <cassert></code><br> | |
51 | <code>#include <boost/mpl/range_c.hpp></code><br> | |
52 | <code>#include <boost/mpl/size.hpp></code><br> | |
53 | <code>#include <boost/mpl/vector_c.hpp></code><br> | |
54 | <code>#include <boost/type_traits.hpp></code><br> | |
55 | <code>#include <boost/utility/enable_if.hpp></code><br> | |
56 | <code>#include "<a class="el" href="g_i_l_0093.html">gil_config.hpp</a>"</code><br> | |
57 | <code>#include "<a class="el" href="g_i_l_0642.html">utilities.hpp</a>"</code><br> | |
58 | <code>#include "<a class="el" href="g_i_l_0091.html">gil_concept.hpp</a>"</code><br> | |
59 | ||
60 | <p> | |
61 | <a href="g_i_l_0066.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> | |
62 | <tr><td></td></tr> | |
63 | <tr><td colspan="2"><br><h2>Namespaces</h2></td></tr> | |
64 | <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceboost.html">boost</a></td></tr> | |
65 | ||
66 | <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><b>boost::gil</b></td></tr> | |
67 | ||
68 | <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><b>boost::gil::detail</b></td></tr> | |
69 | ||
70 | <tr><td colspan="2"><br><h2>Classes</h2></td></tr> | |
71 | <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="g_i_l_0499.html">homogeneous_color_base< Element, Layout, 1 ></a></td></tr> | |
72 | ||
73 | <tr><td class="mdescLeft"> </td><td class="mdescRight">A homogeneous color base holding one color element. Models <a class="el" href="g_i_l_0296.html" title="Color base whose elements all have the same type.">HomogeneousColorBaseConcept</a> or <a class="el" href="g_i_l_0298.html" title="Homogeneous color base that also has a default constructor. Refines Regular.">HomogeneousColorBaseValueConcept</a>. <a href="g_i_l_0499.html#_details">More...</a><br></td></tr> | |
74 | <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="g_i_l_0501.html">homogeneous_color_base< Element, Layout, 2 ></a></td></tr> | |
75 | ||
76 | <tr><td class="mdescLeft"> </td><td class="mdescRight">A homogeneous color base holding two color elements. Models <a class="el" href="g_i_l_0296.html" title="Color base whose elements all have the same type.">HomogeneousColorBaseConcept</a> or <a class="el" href="g_i_l_0298.html" title="Homogeneous color base that also has a default constructor. Refines Regular.">HomogeneousColorBaseValueConcept</a>. <a href="g_i_l_0501.html#_details">More...</a><br></td></tr> | |
77 | <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="g_i_l_0503.html">homogeneous_color_base< Element, Layout, 3 ></a></td></tr> | |
78 | ||
79 | <tr><td class="mdescLeft"> </td><td class="mdescRight">A homogeneous color base holding three color elements. Models <a class="el" href="g_i_l_0296.html" title="Color base whose elements all have the same type.">HomogeneousColorBaseConcept</a> or <a class="el" href="g_i_l_0298.html" title="Homogeneous color base that also has a default constructor. Refines Regular.">HomogeneousColorBaseValueConcept</a>. <a href="g_i_l_0503.html#_details">More...</a><br></td></tr> | |
80 | <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="g_i_l_0505.html">homogeneous_color_base< Element, Layout, 4 ></a></td></tr> | |
81 | ||
82 | <tr><td class="mdescLeft"> </td><td class="mdescRight">A homogeneous color base holding four color elements. Models <a class="el" href="g_i_l_0296.html" title="Color base whose elements all have the same type.">HomogeneousColorBaseConcept</a> or <a class="el" href="g_i_l_0298.html" title="Homogeneous color base that also has a default constructor. Refines Regular.">HomogeneousColorBaseValueConcept</a>. <a href="g_i_l_0505.html#_details">More...</a><br></td></tr> | |
83 | <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="g_i_l_0507.html">homogeneous_color_base< Element, Layout, 5 ></a></td></tr> | |
84 | ||
85 | <tr><td class="mdescLeft"> </td><td class="mdescRight">A homogeneous color base holding five color elements. Models <a class="el" href="g_i_l_0296.html" title="Color base whose elements all have the same type.">HomogeneousColorBaseConcept</a> or <a class="el" href="g_i_l_0298.html" title="Homogeneous color base that also has a default constructor. Refines Regular.">HomogeneousColorBaseValueConcept</a>. <a href="g_i_l_0507.html#_details">More...</a><br></td></tr> | |
86 | <tr><td colspan="2"><br><h2>Functions</h2></td></tr> | |
87 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f2e268005ec717a8e48c708170c0c3f7"></a><!-- doxytag: member="color_base.hpp::memunit_advanced" ref="f2e268005ec717a8e48c708170c0c3f7" args="(const P *p, std::ptrdiff_t diff)" --> | |
88 | template<typename P> </td></tr> | |
89 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">P * </td><td class="memTemplItemRight" valign="bottom"><b>memunit_advanced</b> (const P *p, std::ptrdiff_t diff)</td></tr> | |
90 | ||
91 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g2cdd9bfd1b27576659b8c79a3a0233de"></a><!-- doxytag: member="color_base.hpp::semantic_at_c" ref="g2cdd9bfd1b27576659b8c79a3a0233de" args="(ColorBase &p)" --> | |
92 | template<int K, typename ColorBase> </td></tr> | |
93 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">disable_if< is_const<br> | |
94 | < ColorBase >, typename <br> | |
95 | kth_semantic_element_reference_type<br> | |
96 | < ColorBase, K >::type >::type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0114.html#g2cdd9bfd1b27576659b8c79a3a0233de">semantic_at_c</a> (ColorBase &p)</td></tr> | |
97 | ||
98 | <tr><td class="mdescLeft"> </td><td class="mdescRight">A mutable accessor to the K-th semantic element of a color base. <br></td></tr> | |
99 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="gba9e03ce04fda71e2e840c10325b8b11"></a><!-- doxytag: member="color_base.hpp::semantic_at_c" ref="gba9e03ce04fda71e2e840c10325b8b11" args="(const ColorBase &p)" --> | |
100 | template<int K, typename ColorBase> </td></tr> | |
101 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">kth_semantic_element_const_reference_type<br> | |
102 | < ColorBase, K >::type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0114.html#gba9e03ce04fda71e2e840c10325b8b11">semantic_at_c</a> (const ColorBase &p)</td></tr> | |
103 | ||
104 | <tr><td class="mdescLeft"> </td><td class="mdescRight">A constant accessor to the K-th semantic element of a color base. <br></td></tr> | |
105 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="c6984471214fd5bc1c999ba576ed33a1"></a><!-- doxytag: member="color_base.hpp::dynamic_at_c" ref="c6984471214fd5bc1c999ba576ed33a1" args="(homogeneous_color_base< Element, Layout, K > &cb, std::size_t i)" --> | |
106 | template<typename Element, typename Layout, int K> </td></tr> | |
107 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">element_reference_type<br> | |
108 | < homogeneous_color_base<br> | |
109 | < Element, Layout, K > >::type </td><td class="memTemplItemRight" valign="bottom"><b>dynamic_at_c</b> (homogeneous_color_base< Element, Layout, K > &cb, std::size_t i)</td></tr> | |
110 | ||
111 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="cde161ea778dffb6d3e4ebe6fb5e3be0"></a><!-- doxytag: member="color_base.hpp::dynamic_at_c" ref="cde161ea778dffb6d3e4ebe6fb5e3be0" args="(const homogeneous_color_base< Element, Layout, K > &cb, std::size_t i)" --> | |
112 | template<typename Element, typename Layout, int K> </td></tr> | |
113 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">element_const_reference_type<br> | |
114 | < homogeneous_color_base<br> | |
115 | < Element, Layout, K > >::type </td><td class="memTemplItemRight" valign="bottom"><b>dynamic_at_c</b> (const homogeneous_color_base< Element, Layout, K > &cb, std::size_t i)</td></tr> | |
116 | ||
117 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="41f833cee7c8fd13d9413b19827932ec"></a><!-- doxytag: member="color_base.hpp::dynamic_at_c" ref="41f833cee7c8fd13d9413b19827932ec" args="(const homogeneous_color_base< Element &, Layout, K > &cb, std::size_t i)" --> | |
118 | template<typename Element, typename Layout, int K> </td></tr> | |
119 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">element_reference_type<br> | |
120 | < homogeneous_color_base<br> | |
121 | < Element &, Layout, K ><br> | |
122 | >::type </td><td class="memTemplItemRight" valign="bottom"><b>dynamic_at_c</b> (const homogeneous_color_base< Element &, Layout, K > &cb, std::size_t i)</td></tr> | |
123 | ||
124 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="e7c83163604b0ab85d8bcb4eac4d307a"></a><!-- doxytag: member="color_base.hpp::dynamic_at_c" ref="e7c83163604b0ab85d8bcb4eac4d307a" args="(const homogeneous_color_base< const Element &, Layout, K > &cb, std::size_t i)" --> | |
125 | template<typename Element, typename Layout, int K> </td></tr> | |
126 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">element_const_reference_type<br> | |
127 | < homogeneous_color_base<br> | |
128 | < const Element &, Layout, K ><br> | |
129 | >::type </td><td class="memTemplItemRight" valign="bottom"><b>dynamic_at_c</b> (const homogeneous_color_base< const Element &, Layout, K > &cb, std::size_t i)</td></tr> | |
130 | ||
131 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="gd16b06024270e06a4e0ba5163da7ed15"></a><!-- doxytag: member="color_base.hpp::at_c" ref="gd16b06024270e06a4e0ba5163da7ed15" args="(detail::homogeneous_color_base< E, L, N > &p)" --> | |
132 | template<int K, typename E, typename L, int N> </td></tr> | |
133 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">add_reference< E >::type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0119.html#gd16b06024270e06a4e0ba5163da7ed15">at_c</a> (detail::homogeneous_color_base< E, L, N > &p)</td></tr> | |
134 | ||
135 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides mutable access to the K-th element, in physical order. <br></td></tr> | |
136 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="gd2561249354a1bea233ff2e53491583d"></a><!-- doxytag: member="color_base.hpp::at_c" ref="gd2561249354a1bea233ff2e53491583d" args="(const detail::homogeneous_color_base< E, L, N > &p)" --> | |
137 | template<int K, typename E, typename L, int N> </td></tr> | |
138 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">add_reference< typename <br> | |
139 | add_const< E >::type >::type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0119.html#gd2561249354a1bea233ff2e53491583d">at_c</a> (const detail::homogeneous_color_base< E, L, N > &p)</td></tr> | |
140 | ||
141 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides constant access to the K-th element, in physical order. <br></td></tr> | |
142 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="d9f37f8a37c2782d020d6cca10e60852"></a><!-- doxytag: member="color_base.hpp::swap" ref="d9f37f8a37c2782d020d6cca10e60852" args="(detail::homogeneous_color_base< E, L, N > &x, detail::homogeneous_color_base< E, L, N > &y)" --> | |
143 | template<typename E, typename L, int N> </td></tr> | |
144 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><b>swap</b> (detail::homogeneous_color_base< E, L, N > &x, detail::homogeneous_color_base< E, L, N > &y)</td></tr> | |
145 | ||
146 | </table> | |
147 | </div> | |
148 | <hr size="1"><address style="text-align: right;"><small>Generated on Sat May 2 13:50:15 2009 for Generic Image Library by | |
149 | <a href="http://www.doxygen.org/index.html"> | |
150 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> | |
151 | </body> | |
152 | </html> |