]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
2 | 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> | |
3 | <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'> | |
4 | <head> | |
5 | <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/> | |
6 | <title>view proxy</title> | |
7 | <link href='reno.css' type='text/css' rel='stylesheet'/> | |
8 | </head> | |
9 | <body> | |
10 | <div class="body-0"> | |
11 | <div class="body-1"> | |
12 | <div class="body-2"> | |
13 | <div> | |
14 | <h1>QVM: Quaternions, Vectors, Matrices</h1> | |
15 | </div> | |
16 | <!-- Copyright (c) 2008-2016 Emil Dotchevski and Reverge Studios, Inc. --> | |
17 | <!-- Distributed under the Boost Software License, Version 1.0. (See accompanying --> | |
18 | <!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) --> | |
19 | <div class="RenoIncludeDIV"><div class="RenoAutoDIV"><h3>View Proxies</h3> | |
20 | </div> | |
21 | <p>Boost QVM defines various function templates which take a reference to a quaternion/vector/matrix object and return it by reference as a different unspecified static type with quaternion/vector/matrix semantics for which the <i><span class="RenoLink"><a href="quat_traits.html">quat_traits</a></span>/<span class="RenoLink"><a href="vec_traits.html">vec_traits</a></span>/<span class="RenoLink"><a href="mat_traits.html">mat_traits</a></span></i> template is specialized.</p> | |
22 | <p>For example, given a vector <i>v</i>, the expression <i><span class="RenoLink"><a href="col_mat.html">col_mat</a></span>(v)</i> returns a <span class="RenoLink">view proxy</span> that makes <i>v</i> "look and feel" like a matrix-column. More complex views are created by simple composition, for example <i><span class="RenoLink"><a href="transposed.html">transposed</a></span>(<span class="RenoLink"><a href="col_mat.html">col_mat</a></span>(v))</i> is equivalent to <i><span class="RenoLink"><a href="row_mat.html">row_mat</a></span>(v)</i>.</p> | |
23 | <p>Below is a list of all <span class="RenoLink">view proxies</span> supported by Boost QVM:</p> | |
24 | <div class="RenoPageList"><a href="accessing_matrix_elements.html">Accessing Matrix Elements</a><br/> | |
25 | <a href="accessing_quaternion_elements.html">Accessing Quaternion Elements</a><br/> | |
26 | <a href="accessing_vector_elements.html">Accessing Vector Elements</a><br/> | |
27 | <a href="accessing_vector_elements_and_swizzling_reference.html">Accessing Vector Elements by Swizzling</a><br/> | |
28 | <a href="col.html">col</a><br/> | |
29 | <a href="col_mat.html">col_mat</a><br/> | |
30 | <a href="del_col.html">del_col</a><br/> | |
31 | <a href="del_row.html">del_row</a><br/> | |
32 | <a href="del_row_col.html">del_row_col</a><br/> | |
33 | <a href="diag.html">diag</a><br/> | |
34 | <a href="diag_mat.html">diag_mat</a><br/> | |
35 | <a href="mref.html">mref</a><br/> | |
36 | <a href="qref.html">qref</a><br/> | |
37 | <a href="rotx_mat_scalar_.html">rotx_mat(scalar)</a><br/> | |
38 | <a href="rotx_quat_scalar_.html">rotx_quat(scalar)</a><br/> | |
39 | <a href="roty_mat_scalar_.html">roty_mat(scalar)</a><br/> | |
40 | <a href="roty_quat_scalar_.html">roty_quat(scalar)</a><br/> | |
41 | <a href="rotz_mat_scalar_.html">rotz_mat(scalar)</a><br/> | |
42 | <a href="rotz_quat_scalar_.html">rotz_quat(scalar)</a><br/> | |
43 | <a href="row.html">row</a><br/> | |
44 | <a href="row_mat.html">row_mat</a><br/> | |
45 | <a href="scalar_cast_mat_.html">scalar_cast(mat)</a><br/> | |
46 | <a href="scalar_cast_quat_.html">scalar_cast(quat)</a><br/> | |
47 | <a href="scalar_cast_vec_.html">scalar_cast(vec)</a><br/> | |
48 | <a href="swap_cols.html">swap_cols</a><br/> | |
49 | <a href="swap_rows.html">swap_rows</a><br/> | |
50 | <a href="translation.html">translation</a><br/> | |
51 | <a href="translation_mat.html">translation_mat</a><br/> | |
52 | <a href="transposed.html">transposed</a><br/> | |
53 | <a href="vref.html">vref</a></div> | |
54 | </div><div class="RenoAutoDIV"><div class="RenoHR"><hr/></div> | |
55 | See also: <span class="RenoPageList"><a href="accessing_vector_elements_and_swizzling_reference.html">Accessing Vector Elements by Swizzling</a> | <a href="index.html">Boost QVM</a> | <a href="boost_qvm_map_hpp.html">boost/qvm/map.hpp</a> | <a href="boost_qvm_map_mat_mat_hpp.html">boost/qvm/map_mat_mat.hpp</a> | <a href="boost_qvm_map_mat_vec_hpp.html">boost/qvm/map_mat_vec.hpp</a> | <a href="boost_qvm_map_vec_mat_hpp.html">boost/qvm/map_vec_mat.hpp</a> | <a href="boost_qvm_swizzle_hpp.html">boost/qvm/swizzle.hpp</a> | <a href="col.html">col</a> | <a href="col_mat.html">col_mat</a> | <a href="del_col.html">del_col</a> | <a href="del_row.html">del_row</a> | <a href="del_row_col.html">del_row_col</a> | <a href="diag.html">diag</a> | <a href="diag_mat.html">diag_mat</a> | <a href="known_quirks_and_issues.html">Known Quirks and Issues</a> | <a href="mref.html">mref</a> | <a href="neg_col.html">neg_col</a> | <a href="neg_row.html">neg_row</a> | <a href="qref.html">qref</a> | <a href="rot_mat.html">rot_mat</a> | <a href="rot_quat.html">rot_quat</a> | <a href="rotx_mat_scalar_.html">rotx_mat(scalar)</a> | <a href="rotx_quat_scalar_.html">rotx_quat(scalar)</a> | <a href="roty_mat_scalar_.html">roty_mat(scalar)</a> | <a href="roty_quat_scalar_.html">roty_quat(scalar)</a> | <a href="rotz_mat_scalar_.html">rotz_mat(scalar)</a> | <a href="rotz_quat_scalar_.html">rotz_quat(scalar)</a> | <a href="row.html">row</a> | <a href="row_mat.html">row_mat</a> | <a href="scalar_cast_mat_.html">scalar_cast(mat)</a> | <a href="scalar_cast_quat_.html">scalar_cast(quat)</a> | <a href="scalar_cast_vec_.html">scalar_cast(vec)</a> | <a href="swap_cols.html">swap_cols</a> | <a href="swap_rows.html">swap_rows</a> | <a href="translation.html">translation</a> | <a href="translation_mat.html">translation_mat</a> | <a href="transposed.html">transposed</a> | <a href="vref.html">vref</a></span> | |
56 | </div> | |
57 | <!-- Copyright (c) 2008-2016 Emil Dotchevski and Reverge Studios, Inc. --> | |
58 | <!-- Distributed under the Boost Software License, Version 1.0. (See accompanying --> | |
59 | <!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) --> | |
60 | <div id="footer"> | |
61 | <p> | |
62 | <a class="logo" href="http://jigsaw.w3.org/css-validator/check/referer"><img class="logo_pic" src="valid-css.png" alt="Valid CSS" height="31" width="88"/></a> | |
63 | <a class="logo" href="http://validator.w3.org/check?uri=referer"><img class="logo_pic" src="valid-xhtml.png" alt="Valid XHTML 1.0" height="31" width="88"/></a> | |
64 | <small>Copyright (c) 2008-2016 by Emil Dotchevski and Reverge Studios, Inc.<br/> | |
65 | Distributed under the <a href="http://www.boost.org/LICENSE_1_0.txt">Boost Software License, Version 1.0</a>.</small> | |
66 | </p> | |
67 | </div> | |
68 | </div> | |
69 | </div> | |
70 | </div> | |
71 | </body> | |
72 | </html> |