athena/classathena_1_1_wii_image.html

366 lines
17 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Athena IO Library: athena::WiiImage Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Athena IO Library
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classathena_1_1_wii_image.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classathena_1_1_wii_image-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">athena::WiiImage Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>The <a class="el" href="classathena_1_1_wii_image.html" title="The WiiImage class. ">WiiImage</a> class.
<a href="classathena_1_1_wii_image.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_wii_image_8hpp_source.html">WiiImage.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for athena::WiiImage:</div>
<div class="dyncontent">
<div class="center"><img src="classathena_1_1_wii_image__coll__graph.png" border="0" usemap="#athena_1_1_wii_image_coll__map" alt="Collaboration graph"/></div>
<map name="athena_1_1_wii_image_coll__map" id="athena_1_1_wii_image_coll__map">
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac84fde109e9ccf99a43b6d05c1a89d2c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac84fde109e9ccf99a43b6d05c1a89d2c"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_image.html#ac84fde109e9ccf99a43b6d05c1a89d2c">WiiImage</a> ()</td></tr>
<tr class="memdesc:ac84fde109e9ccf99a43b6d05c1a89d2c"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classathena_1_1_wii_image.html" title="The WiiImage class. ">WiiImage</a>. <br /></td></tr>
<tr class="separator:ac84fde109e9ccf99a43b6d05c1a89d2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a731c277496c457bd5c1b18ddd1eab7e4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_image.html#a731c277496c457bd5c1b18ddd1eab7e4">WiiImage</a> (atUint32 <a class="el" href="classathena_1_1_wii_image.html#a12f4ee7eda20c5e6c4789391a32bfb8c">width</a>, atUint32 <a class="el" href="classathena_1_1_wii_image.html#a20a29c4278a6250f525c8f1484c360b5">height</a>, std::unique_ptr&lt; atUint8[]&gt; &amp;&amp;<a class="el" href="classathena_1_1_wii_image.html#adc628175f9f803f118a5e8471e923244">data</a>)</td></tr>
<tr class="memdesc:a731c277496c457bd5c1b18ddd1eab7e4"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classathena_1_1_wii_image.html" title="The WiiImage class. ">WiiImage</a>. <a href="#a731c277496c457bd5c1b18ddd1eab7e4">More...</a><br /></td></tr>
<tr class="separator:a731c277496c457bd5c1b18ddd1eab7e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34c9cb020cbe45fe3b6b65b46f1eb4cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_image.html#a34c9cb020cbe45fe3b6b65b46f1eb4cc">setWidth</a> (const atUint32 <a class="el" href="classathena_1_1_wii_image.html#a12f4ee7eda20c5e6c4789391a32bfb8c">width</a>)</td></tr>
<tr class="memdesc:a34c9cb020cbe45fe3b6b65b46f1eb4cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">setWidth <a href="#a34c9cb020cbe45fe3b6b65b46f1eb4cc">More...</a><br /></td></tr>
<tr class="separator:a34c9cb020cbe45fe3b6b65b46f1eb4cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12f4ee7eda20c5e6c4789391a32bfb8c"><td class="memItemLeft" align="right" valign="top">atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_image.html#a12f4ee7eda20c5e6c4789391a32bfb8c">width</a> () const </td></tr>
<tr class="memdesc:a12f4ee7eda20c5e6c4789391a32bfb8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">width <a href="#a12f4ee7eda20c5e6c4789391a32bfb8c">More...</a><br /></td></tr>
<tr class="separator:a12f4ee7eda20c5e6c4789391a32bfb8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a597eb28a476b95696f126ff51640f035"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_image.html#a597eb28a476b95696f126ff51640f035">setHeight</a> (const atUint32 <a class="el" href="classathena_1_1_wii_image.html#a20a29c4278a6250f525c8f1484c360b5">height</a>)</td></tr>
<tr class="memdesc:a597eb28a476b95696f126ff51640f035"><td class="mdescLeft">&#160;</td><td class="mdescRight">setHeight <a href="#a597eb28a476b95696f126ff51640f035">More...</a><br /></td></tr>
<tr class="separator:a597eb28a476b95696f126ff51640f035"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20a29c4278a6250f525c8f1484c360b5"><td class="memItemLeft" align="right" valign="top">atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_image.html#a20a29c4278a6250f525c8f1484c360b5">height</a> () const </td></tr>
<tr class="memdesc:a20a29c4278a6250f525c8f1484c360b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">height <a href="#a20a29c4278a6250f525c8f1484c360b5">More...</a><br /></td></tr>
<tr class="separator:a20a29c4278a6250f525c8f1484c360b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a732e2ab164bbe2189fddd3f4cd7b3e43"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_image.html#a732e2ab164bbe2189fddd3f4cd7b3e43">setData</a> (const atUint8 *<a class="el" href="classathena_1_1_wii_image.html#adc628175f9f803f118a5e8471e923244">data</a>)</td></tr>
<tr class="memdesc:a732e2ab164bbe2189fddd3f4cd7b3e43"><td class="mdescLeft">&#160;</td><td class="mdescRight">setData <a href="#a732e2ab164bbe2189fddd3f4cd7b3e43">More...</a><br /></td></tr>
<tr class="separator:a732e2ab164bbe2189fddd3f4cd7b3e43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc628175f9f803f118a5e8471e923244"><td class="memItemLeft" align="right" valign="top">atUint8 *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_image.html#adc628175f9f803f118a5e8471e923244">data</a> ()</td></tr>
<tr class="memdesc:adc628175f9f803f118a5e8471e923244"><td class="mdescLeft">&#160;</td><td class="mdescRight">data <a href="#adc628175f9f803f118a5e8471e923244">More...</a><br /></td></tr>
<tr class="separator:adc628175f9f803f118a5e8471e923244"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5115db93e6dbd5795e76a5b4414f3dc9"><td class="memItemLeft" align="right" valign="top">atUint8 *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_image.html#a5115db93e6dbd5795e76a5b4414f3dc9">toRGBA</a> ()</td></tr>
<tr class="memdesc:a5115db93e6dbd5795e76a5b4414f3dc9"><td class="mdescLeft">&#160;</td><td class="mdescRight">toRGBA <a href="#a5115db93e6dbd5795e76a5b4414f3dc9">More...</a><br /></td></tr>
<tr class="separator:a5115db93e6dbd5795e76a5b4414f3dc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="classathena_1_1_wii_image.html" title="The WiiImage class. ">WiiImage</a> class. </p>
<p>Definition at line <a class="el" href="_wii_image_8hpp_source.html#l00013">13</a> of file <a class="el" href="_wii_image_8hpp_source.html">WiiImage.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a731c277496c457bd5c1b18ddd1eab7e4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">athena::WiiImage::WiiImage </td>
<td>(</td>
<td class="paramtype">atUint32&#160;</td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">atUint32&#160;</td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::unique_ptr&lt; atUint8[]&gt; &amp;&amp;&#160;</td>
<td class="paramname"><em>data</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="classathena_1_1_wii_image.html" title="The WiiImage class. ">WiiImage</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">width</td><td></td></tr>
<tr><td class="paramname">height</td><td></td></tr>
<tr><td class="paramname">data</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="adc628175f9f803f118a5e8471e923244"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">atUint8* athena::WiiImage::data </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>data </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="a20a29c4278a6250f525c8f1484c360b5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">atUint32 athena::WiiImage::height </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>height </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="a732e2ab164bbe2189fddd3f4cd7b3e43"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::WiiImage::setData </td>
<td>(</td>
<td class="paramtype">const atUint8 *&#160;</td>
<td class="paramname"><em>data</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setData </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a597eb28a476b95696f126ff51640f035"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::WiiImage::setHeight </td>
<td>(</td>
<td class="paramtype">const atUint32&#160;</td>
<td class="paramname"><em>height</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setHeight </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">height</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a34c9cb020cbe45fe3b6b65b46f1eb4cc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::WiiImage::setWidth </td>
<td>(</td>
<td class="paramtype">const atUint32&#160;</td>
<td class="paramname"><em>width</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setWidth </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">width</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a5115db93e6dbd5795e76a5b4414f3dc9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">atUint8* athena::WiiImage::toRGBA </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>toRGBA </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="a12f4ee7eda20c5e6c4789391a32bfb8c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">atUint32 athena::WiiImage::width </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>width </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/athena/<a class="el" href="_wii_image_8hpp_source.html">WiiImage.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><b>athena</b></li><li class="navelem"><a class="el" href="classathena_1_1_wii_image.html">WiiImage</a></li>
<li class="footer">Generated on Sat Sep 17 2016 13:10:08 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
</ul>
</div>
</body>
</html>