Change namespace name

This commit is contained in:
2023-10-03 19:52:23 +02:00
parent 7538c82772
commit e0f24153d3
208 changed files with 246 additions and 246 deletions

View File

@@ -9,7 +9,7 @@
#include "Math/Math.hpp"
#include "Math/Range.hpp"
namespace openVulkanoCpp::AR
namespace OpenVulkano::AR
{
class ArConstants final
{

View File

@@ -8,7 +8,7 @@
#include <magic_enum.hpp>
namespace openVulkanoCpp::AR
namespace OpenVulkano::AR
{
class ArDepthFormat final
{

View File

@@ -8,7 +8,7 @@
#include "ArSession.hpp"
#include "ArRecorder.hpp"
namespace openVulkanoCpp::AR
namespace OpenVulkano::AR
{
float ArFrame::GetConfidenceNormalisationFactor() const
{

View File

@@ -16,7 +16,7 @@
#include <memory>
#include <functional>
namespace openVulkanoCpp::AR
namespace OpenVulkano::AR
{
class ArSession;

View File

@@ -9,7 +9,7 @@
#include <yaml-cpp/yaml.h>
#include <sstream>
namespace openVulkanoCpp::AR
namespace OpenVulkano::AR
{
namespace
{

View File

@@ -10,7 +10,7 @@
#include "Math/CameraIntrinsic.hpp"
#include "Math/Timestamp.hpp"
namespace openVulkanoCpp::AR
namespace OpenVulkano::AR
{
struct ArFrameMetadata
{

View File

@@ -21,7 +21,7 @@
#define TURBO_JPEG
//#endif
namespace openVulkanoCpp::AR
namespace OpenVulkano::AR
{
namespace
{

View File

@@ -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;

View File

@@ -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;

View File

@@ -19,7 +19,7 @@
#include <optional>
#include <future>
namespace openVulkanoCpp::AR
namespace OpenVulkano::AR
{
class ArSession;
class ArFrame;

View File

@@ -10,7 +10,7 @@
#include <sstream>
#include <filesystem>
namespace openVulkanoCpp::AR
namespace OpenVulkano::AR
{
ArSessionMetadata ArSessionMetadata::FromXML(const std::string& filePath)
{

View File

@@ -10,7 +10,7 @@
#include "AR/ArDepthFormat.hpp"
#include "Math/Range.hpp"
namespace openVulkanoCpp::AR
namespace OpenVulkano::AR
{
struct ArSessionMetadata
{

View File

@@ -8,7 +8,7 @@
#include <magic_enum.hpp>
namespace openVulkanoCpp::AR
namespace OpenVulkano::AR
{
class ArTrackingState final
{

View File

@@ -8,7 +8,7 @@
#include <magic_enum.hpp>
namespace openVulkanoCpp::AR
namespace OpenVulkano::AR
{
class ArType final
{

View File

@@ -6,7 +6,7 @@
#include "ArSessionArCore.h"
namespace openVulkanoCpp::AR::ArCore
namespace OpenVulkano::AR::ArCore
{
std::shared_ptr<ArSession> ArSessionArCore::Create(const ArSessionConfig& config)
{

View File

@@ -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
{

View File

@@ -10,7 +10,7 @@
#import <ARKit/ARFrame.h>
namespace openVulkanoCpp::AR::ArKit
namespace OpenVulkano::AR::ArKit
{
class ArSessionArKitInternal;

View File

@@ -14,7 +14,7 @@
#import <ARKit/ARPointCloud.h>
#import <CoreVideo/CoreVideo.h>
namespace openVulkanoCpp::AR::ArKit
namespace OpenVulkano::AR::ArKit
{
namespace
{

View File

@@ -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;

View File

@@ -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;

View File

@@ -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.

View File

@@ -7,7 +7,7 @@
#include "ArSessionArKit.h"
#include "ArSessionArKitInternal.h"
namespace openVulkanoCpp::AR::ArKit
namespace OpenVulkano::AR::ArKit
{
namespace
{

View File

@@ -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>
{

View File

@@ -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
{

View File

@@ -10,7 +10,7 @@
#import <ARKit/ARCamera.h>
namespace openVulkanoCpp::AR::ArKit
namespace OpenVulkano::AR::ArKit
{
inline ArTrackingState GetArTrackingState(ARCamera* camera)
{

View File

@@ -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
{

View File

@@ -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({})

View File

@@ -8,7 +8,7 @@
#include "AR/ArSession.hpp"
namespace openVulkanoCpp::AR::Network
namespace OpenVulkano::AR::Network
{
class ArSessionStream final : public ArSession
{

View File

@@ -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())

View File

@@ -9,7 +9,7 @@
#include "AR/ArFrame.hpp"
#include "ArPlaybackReader.hpp"
namespace openVulkanoCpp::AR::Playback
namespace OpenVulkano::AR::Playback
{
class ArSessionPlayback;

View File

@@ -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()
{

View File

@@ -12,7 +12,7 @@
#include <string>
#include <fstream>
namespace openVulkanoCpp::AR::Playback
namespace OpenVulkano::AR::Playback
{
struct DepthImage
{

View File

@@ -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)

View File

@@ -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>
{