Introduce ArFrameMetadata to relly less on virtual functions for metadata getters

This commit is contained in:
2021-06-05 19:46:07 +02:00
parent 51d61fd5f5
commit a28650a1ef
10 changed files with 360 additions and 26 deletions

View File

@@ -0,0 +1,16 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#include "ArFrame.h"
#include "ArSession.h"
namespace openVulkanoCpp::AR
{
float ArFrame::GetConfidenceNormalisationFactor() const
{
return session->GetSessionMetadata().GetConfidenceNormalisationFactor();
}
}