Change namespace name
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#include "Math/Math.hpp"
|
||||
#include "Math/Range.hpp"
|
||||
|
||||
namespace openVulkanoCpp::AR
|
||||
namespace OpenVulkano::AR
|
||||
{
|
||||
class ArConstants final
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <magic_enum.hpp>
|
||||
|
||||
namespace openVulkanoCpp::AR
|
||||
namespace OpenVulkano::AR
|
||||
{
|
||||
class ArDepthFormat final
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "ArSession.hpp"
|
||||
#include "ArRecorder.hpp"
|
||||
|
||||
namespace openVulkanoCpp::AR
|
||||
namespace OpenVulkano::AR
|
||||
{
|
||||
float ArFrame::GetConfidenceNormalisationFactor() const
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include <memory>
|
||||
#include <functional>
|
||||
|
||||
namespace openVulkanoCpp::AR
|
||||
namespace OpenVulkano::AR
|
||||
{
|
||||
class ArSession;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <yaml-cpp/yaml.h>
|
||||
#include <sstream>
|
||||
|
||||
namespace openVulkanoCpp::AR
|
||||
namespace OpenVulkano::AR
|
||||
{
|
||||
namespace
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "Math/CameraIntrinsic.hpp"
|
||||
#include "Math/Timestamp.hpp"
|
||||
|
||||
namespace openVulkanoCpp::AR
|
||||
namespace OpenVulkano::AR
|
||||
{
|
||||
struct ArFrameMetadata
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#define TURBO_JPEG
|
||||
//#endif
|
||||
|
||||
namespace openVulkanoCpp::AR
|
||||
namespace OpenVulkano::AR
|
||||
{
|
||||
namespace
|
||||
{
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
#include <thread>
|
||||
#include <queue>
|
||||
|
||||
namespace openVulkanoCpp
|
||||
namespace OpenVulkano
|
||||
{
|
||||
class IEventHandler;
|
||||
class MultiPartArchiveWriter;
|
||||
}
|
||||
|
||||
namespace openVulkanoCpp::AR
|
||||
namespace OpenVulkano::AR
|
||||
{
|
||||
class ArSession;
|
||||
class ArFrame;
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
namespace openVulkanoCpp::AR
|
||||
namespace OpenVulkano::AR
|
||||
{
|
||||
std::vector<std::weak_ptr<ArSession>> ArSession::sessions;
|
||||
std::weak_ptr<ArSession> ArSession::nativeSession;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <optional>
|
||||
#include <future>
|
||||
|
||||
namespace openVulkanoCpp::AR
|
||||
namespace OpenVulkano::AR
|
||||
{
|
||||
class ArSession;
|
||||
class ArFrame;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <sstream>
|
||||
#include <filesystem>
|
||||
|
||||
namespace openVulkanoCpp::AR
|
||||
namespace OpenVulkano::AR
|
||||
{
|
||||
ArSessionMetadata ArSessionMetadata::FromXML(const std::string& filePath)
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "AR/ArDepthFormat.hpp"
|
||||
#include "Math/Range.hpp"
|
||||
|
||||
namespace openVulkanoCpp::AR
|
||||
namespace OpenVulkano::AR
|
||||
{
|
||||
struct ArSessionMetadata
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <magic_enum.hpp>
|
||||
|
||||
namespace openVulkanoCpp::AR
|
||||
namespace OpenVulkano::AR
|
||||
{
|
||||
class ArTrackingState final
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <magic_enum.hpp>
|
||||
|
||||
namespace openVulkanoCpp::AR
|
||||
namespace OpenVulkano::AR
|
||||
{
|
||||
class ArType final
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include "ArSessionArCore.h"
|
||||
|
||||
namespace openVulkanoCpp::AR::ArCore
|
||||
namespace OpenVulkano::AR::ArCore
|
||||
{
|
||||
std::shared_ptr<ArSession> ArSessionArCore::Create(const ArSessionConfig& config)
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
// Define the class of the native AR session to be used
|
||||
#define NATIVE_AR_SESSION_CLASS ArCore::ArSessionArCore
|
||||
|
||||
namespace openVulkanoCpp::AR::ArCore
|
||||
namespace OpenVulkano::AR::ArCore
|
||||
{
|
||||
class ArSessionArCore : public ArSession
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
#import <ARKit/ARFrame.h>
|
||||
|
||||
namespace openVulkanoCpp::AR::ArKit
|
||||
namespace OpenVulkano::AR::ArKit
|
||||
{
|
||||
class ArSessionArKitInternal;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#import <ARKit/ARPointCloud.h>
|
||||
#import <CoreVideo/CoreVideo.h>
|
||||
|
||||
namespace openVulkanoCpp::AR::ArKit
|
||||
namespace OpenVulkano::AR::ArKit
|
||||
{
|
||||
namespace
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "ArSessionArKitInternal.h"
|
||||
|
||||
@interface ArKitDelegate : NSObject <ARSessionDelegate>
|
||||
- (id)initWithFrameHandler:(openVulkanoCpp::AR::ArKit::ArSessionArKitInternal*)session;
|
||||
- (id)initWithFrameHandler:(OpenVulkano::AR::ArKit::ArSessionArKitInternal*)session;
|
||||
- (void)session:(ARSession *)session didUpdateFrame:(ARFrame *)frame;
|
||||
- (void)sessionWasInterrupted:(ARSession *)session;
|
||||
- (void)sessionInterruptionEnded:(ARSession *)session;
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
|
||||
@implementation ArKitDelegate
|
||||
{
|
||||
openVulkanoCpp::AR::ArKit::ArSessionArKitInternal* m_arSession;
|
||||
OpenVulkano::AR::ArKit::ArSessionArKitInternal* m_arSession;
|
||||
}
|
||||
|
||||
- (id)initWithFrameHandler:(openVulkanoCpp::AR::ArKit::ArSessionArKitInternal*)session
|
||||
- (id)initWithFrameHandler:(OpenVulkano::AR::ArKit::ArSessionArKitInternal*)session
|
||||
{
|
||||
m_arSession = session;
|
||||
return self;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
// Define the class of the native AR session to be used
|
||||
#define NATIVE_AR_SESSION_CLASS ArKit::ArSessionArKit
|
||||
|
||||
namespace openVulkanoCpp::AR::ArKit
|
||||
namespace OpenVulkano::AR::ArKit
|
||||
{
|
||||
/**
|
||||
* This is just a helper intermediate class.
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "ArSessionArKit.h"
|
||||
#include "ArSessionArKitInternal.h"
|
||||
|
||||
namespace openVulkanoCpp::AR::ArKit
|
||||
namespace OpenVulkano::AR::ArKit
|
||||
{
|
||||
namespace
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
@class ArKitDelegate;
|
||||
|
||||
namespace openVulkanoCpp::AR::ArKit
|
||||
namespace OpenVulkano::AR::ArKit
|
||||
{
|
||||
class ArSessionArKitInternal final : public ArSessionArKit, public std::enable_shared_from_this<ArSessionArKitInternal>
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#define VALIDATE_SESSION(s) if(s != m_arSession) { Logger::AR->warn("ARSession does not match."); return; }
|
||||
|
||||
namespace openVulkanoCpp::AR::ArKit
|
||||
namespace OpenVulkano::AR::ArKit
|
||||
{
|
||||
namespace
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
#import <ARKit/ARCamera.h>
|
||||
|
||||
namespace openVulkanoCpp::AR::ArKit
|
||||
namespace OpenVulkano::AR::ArKit
|
||||
{
|
||||
inline ArTrackingState GetArTrackingState(ARCamera* camera)
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
// Define the class of the native AR session to be used
|
||||
#define NATIVE_AR_SESSION_CLASS ArSessionNull
|
||||
|
||||
namespace openVulkanoCpp::AR
|
||||
namespace OpenVulkano::AR
|
||||
{
|
||||
struct ArSessionNull final
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include "ArSessionStream.h"
|
||||
|
||||
namespace openVulkanoCpp::AR::Network
|
||||
namespace OpenVulkano::AR::Network
|
||||
{
|
||||
ArSessionStream::ArSessionStream(const std::string& serverAddress, std::optional<ArSessionConfig> requestConfig)
|
||||
: ArSession({})
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
#include "AR/ArSession.hpp"
|
||||
|
||||
namespace openVulkanoCpp::AR::Network
|
||||
namespace OpenVulkano::AR::Network
|
||||
{
|
||||
class ArSessionStream final : public ArSession
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "ArSessionPlayback.hpp"
|
||||
#include "Base/BlockProfiler.hpp"
|
||||
|
||||
namespace openVulkanoCpp::AR::Playback
|
||||
namespace OpenVulkano::AR::Playback
|
||||
{
|
||||
ArFramePlayback::ArFramePlayback(const std::shared_ptr<ArSessionPlayback>& session, ArPlaybackReader& frameReader)
|
||||
: ArFrame(session, frameReader.GetNextFrameId())
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "AR/ArFrame.hpp"
|
||||
#include "ArPlaybackReader.hpp"
|
||||
|
||||
namespace openVulkanoCpp::AR::Playback
|
||||
namespace OpenVulkano::AR::Playback
|
||||
{
|
||||
class ArSessionPlayback;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#if __has_include("turbojpeg.h")
|
||||
#include <turbojpeg.h>
|
||||
|
||||
namespace openVulkanoCpp::AR::Playback
|
||||
namespace OpenVulkano::AR::Playback
|
||||
{
|
||||
ColorImg ArPlaybackReader::ReadColorImage()
|
||||
{
|
||||
@@ -44,7 +44,7 @@ namespace openVulkanoCpp::AR::Playback
|
||||
#define STB_IMAGE_IMPLEMENTATION
|
||||
#include <stb_image.h>
|
||||
|
||||
namespace openVulkanoCpp::AR::Playback
|
||||
namespace OpenVulkano::AR::Playback
|
||||
{
|
||||
ColorImg ArPlaybackReader::ReadColorImage()
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <string>
|
||||
#include <fstream>
|
||||
|
||||
namespace openVulkanoCpp::AR::Playback
|
||||
namespace OpenVulkano::AR::Playback
|
||||
{
|
||||
struct DepthImage
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "Base/Logger.hpp"
|
||||
#include <filesystem>
|
||||
|
||||
namespace openVulkanoCpp::AR::Playback
|
||||
namespace OpenVulkano::AR::Playback
|
||||
{
|
||||
ArSessionPlayback::ArSessionPlayback(const std::string& recordingPath, bool autoAdvance)
|
||||
: ArSession(ArSessionMetadata(recordingPath)), recordingPath(recordingPath), autoAdvance(autoAdvance), playbackReader(recordingPath)
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "ArPlaybackReader.hpp"
|
||||
#include "Math/Timestamp.hpp"
|
||||
|
||||
namespace openVulkanoCpp::AR::Playback
|
||||
namespace OpenVulkano::AR::Playback
|
||||
{
|
||||
class ArSessionPlayback final : public ArSession, public std::enable_shared_from_this<ArSessionPlayback>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user