<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Software ArchiveのトピックCalling properties from the code</title>
    <link>https://community.intel.com/t5/Software-Archive/Calling-properties-from-the-code/m-p/1041251#M46124</link>
    <description>&lt;P&gt;I am using Microsoft visual studio to edit the code for the camera. Would&amp;nbsp;anyone by any chance know what I can write in the wmain() in order to call Property_color_focal_length_mm? The documentation says that I can use the helper functions QueryXXX and SetXXX of the device interface to get the property values without involving the property enumerator. So does this mean that I should write in wmain the following:&lt;/P&gt;

&lt;P&gt;pp -&amp;gt;QueryCaptureManager() -&amp;gt;Set(I don't know what I would put here) -&amp;gt;(PXCCapture::Device::Property_color_focal_length_mm)&lt;/P&gt;</description>
    <pubDate>Fri, 30 Oct 2015 19:21:11 GMT</pubDate>
    <dc:creator>Oluwasijibomi_O_</dc:creator>
    <dc:date>2015-10-30T19:21:11Z</dc:date>
    <item>
      <title>Calling properties from the code</title>
      <link>https://community.intel.com/t5/Software-Archive/Calling-properties-from-the-code/m-p/1041251#M46124</link>
      <description>&lt;P&gt;I am using Microsoft visual studio to edit the code for the camera. Would&amp;nbsp;anyone by any chance know what I can write in the wmain() in order to call Property_color_focal_length_mm? The documentation says that I can use the helper functions QueryXXX and SetXXX of the device interface to get the property values without involving the property enumerator. So does this mean that I should write in wmain the following:&lt;/P&gt;

&lt;P&gt;pp -&amp;gt;QueryCaptureManager() -&amp;gt;Set(I don't know what I would put here) -&amp;gt;(PXCCapture::Device::Property_color_focal_length_mm)&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 19:21:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Calling-properties-from-the-code/m-p/1041251#M46124</guid>
      <dc:creator>Oluwasijibomi_O_</dc:creator>
      <dc:date>2015-10-30T19:21:11Z</dc:date>
    </item>
    <item>
      <title>The method would be</title>
      <link>https://community.intel.com/t5/Software-Archive/Calling-properties-from-the-code/m-p/1041252#M46125</link>
      <description>&lt;P&gt;The method would be &lt;A href="https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?querycolorfocallengthmm_device_pxccapture.html"&gt;PXCCapture::Device::QueryColorFocalLengthMM&lt;/A&gt;.You can use it like this:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;PXCCapture::Device* device = pp -&amp;gt;QueryCaptureManager()-&amp;gt;QueryDevice();
if (device) // the device might not exist before you started any streams
{
    device-&amp;gt;QueryColorFocalLengthMM();
}&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 09:27:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Calling-properties-from-the-code/m-p/1041252#M46125</guid>
      <dc:creator>Henning_J_</dc:creator>
      <dc:date>2015-11-02T09:27:20Z</dc:date>
    </item>
  </channel>
</rss>

