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> 14 15f32 GetDistanceToLevel( 16 void 17) const; 18</pre> 19 </div> 20<h2>Arguments</h2> 21 <div class="section"> 22<p>None.</p> 23 </div> 24<h2>Return Values</h2> 25<div class="section">Distance from camera to the base plane. </div> 26<h2>Description</h2> 27 <div class="section"> 28<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). 29</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. 30</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>. 31 </P></div> 32<h2>Revision History</h2> 33 <div class="section"> 34 <dl class="history"> 35 <dt>2010/04/02</dt> 36<dd>Initial version.<br /> 37 </dd> 38 </dl> 39 </div> 40 <hr><p>CONFIDENTIAL</p></body> 41</html>