1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../../css/manpage.css" type="text/css" /> 7<title>GetDistanceToLevel</title> 8 </head> 9 <body> 10<h1><CODE>nn::ulcd::CTR::StereoCamera::GetDistanceToLevel</CODE> Member Function</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition">#include <nn/ulcd.h> 14f32 GetDistanceToLevel( 15 void 16) const; 17</pre> 18 </div> 19<h2>Arguments</h2> 20 <div class="section"> 21<p>None.</p> 22 </div> 23<h2>Return Values</h2> 24<div class="section">Distance from camera to the base plane. </div> 25<h2>Description</h2> 26 <div class="section"> 27<p>Gets the distance from the camera to the base plane.</p><!-- write here --><P>Returns the distance between (1) the new camera position after correction using the calculations of the <CODE>CalculateMatricesReal</CODE> function and (2) the position in the virtual space that ties images to the surface of the LCD (the base plane). 28</P><P>If the last executed function is the <CODE>CalculateMatrices</CODE> function, this function returns the value provided for the <SPAN class="argument">depthLevel</SPAN> argument unchanged. 29</P><P>The calculations made by this function are based on the results obtained during the last call to either <CODE>CalculateMatrices</CODE> or <CODE>CalculateMatricesReal</CODE>. 30 </P></div> 31<h2>Revision History</h2> 32 <div class="section"> 33 <dl class="history"> 34 <dt>2010/04/02</dt> 35<dd>Initial version.<br /> 36 </dd> 37 </dl> 38 </div> 39 <hr><p>CONFIDENTIAL</p></body> 40</html> 41