text stringlengths 1 24.5M |
|---|
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2011-2014 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2010 Daniel Lowengrub <lowdanie@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a ... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// 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 ob... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
// Copyright (C) 2012-2014 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public Lice... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
//
// 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... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
// Copyright (C) 2012 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
//
// 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... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
//
// 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... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// 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 ob... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
//
// 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... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
// Copyright (C) 2012 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
//
// 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... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
// Copyright (C) 2012 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
//
// 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... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
//
// 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... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
//
// 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... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
//
// 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... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
//
// 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... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
// Copyright (C) 2012 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
//
// 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... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012-2013 Desire Nuentsa <desire.nuentsa_wakam@inria.fr>
// Copyright (C) 2012-2014 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Desire Nuentsa <desire.nuentsa_wakam@inria.fr>
// Copyright (C) 2014 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. I... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2009 Hauke Heibel <hauke.heibel@googlemail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a ... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2009 Hauke Heibel <hauke.heibel@googlemail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a ... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009 Hauke Heibel <hauke.heibel@googlemail.com>
//
// 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 ob... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2009 Hauke Heibel <hauke.heibel@googlemail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a ... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008-2015 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// 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 c... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// We used the "A Divide-And-Conquer Algorithm for the Bidiagonal SVD"
// research report written by Ming Gu and Stanley C.Eisenstat
// The code variable names correspond to the names they used in their
// report
//
// Copyrig... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009-2010 Benoit Jacob <jacob.benoit.1@gmail.com>
// Copyright (C) 2013-2014 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0... |
/*
Copyright (c) 2011, Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the ... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009-2010 Benoit Jacob <jacob.benoit.1@gmail.com>
// Copyright (C) 2014 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// Copyright (C) 2013 Gauthier Brun <brun.gauthier@gmail.com>
// Copyright (C) 2013 Nicolas C... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2010 Benoit Jacob <jacob.benoit.1@gmail.com>
// Copyright (C) 2013-2014 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If ... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008-2011 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// 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 c... |
/*
OpenGL loader generated by glad 0.1.29 on Sat Apr 20 11:37:12 2019.
Language/Generator: C/C++
Specification: gl
APIs: gl=3.3
Profile: compatibility
Extensions:
Loader: True
Local files: False
Omit khrplatform: False
Reproducible: False
Commandline:
--pr... |
#ifndef __khrplatform_h_
#define __khrplatform_h_
/*
** Copyright (c) 2008-2018 The Khronos Group Inc.
**
** Permission is hereby granted, free of charge, to any person obtaining a
** copy of this software and/or associated documentation files (the
** "Materials"), to deal in the Materials without restriction, includi... |
/*
OpenGL loader generated by glad 0.1.29 on Sat Apr 20 11:37:12 2019.
Language/Generator: C/C++
Specification: gl
APIs: gl=3.3
Profile: compatibility
Extensions:
Loader: True
Local files: False
Omit khrplatform: False
Reproducible: False
Commandline:
--pr... |
//-----------------------------------------------------------------------------
// MurmurHash3 was written by Austin Appleby, and is placed in the public
// domain. The author hereby disclaims copyright to this source code.
// Note - The x86 and x64 versions do _not_ produce the same results, as the
// algorithms are ... |
//-----------------------------------------------------------------------------
// MurmurHash3 was written by Austin Appleby, and is placed in the public
// domain. The author hereby disclaims copyright to this source code.
#ifndef _MURMURHASH3_H_
#define _MURMURHASH3_H_
//--------------------------------------------... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//... |
// This file is part of the reference implementation for the paper
// Bayesian Collaborative Denoising for Monte-Carlo Rendering
// Malik Boughida and Tamy Boubekeur.
// Computer Graphics Forum (Proc. EGSR 2017), vol. 36, no. 4, p. 137-153, 2017
//
// All rights reserved. Use of this source code is governed by a
... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any person o... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any person o... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any person o... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any person o... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any person o... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any person o... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//... |
#include "AprilTagWrapper.hpp"
#include "tagCustom29h10.hpp"
#include "utils/Assert.hpp"
#include "utils/Cross.hpp"
#include <apriltag/apriltag.h>
#include <apriltag/tagCircle21h7.h>
#include <apriltag/tagStandard41h12.h>
#include <opencv2/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <vector>
AprilTagW... |
#pragma once
#include "math/CVTypes.hpp"
#include <opencv2/aruco.hpp>
#include <opencv2/core.hpp>
#include <opencv2/core/mat.hpp>
#include <opencv2/imgproc.hpp>
#include <string>
#include <vector>
constexpr int APRILTAG_STANDARD = 0;
constexpr int APRILTAG_CIRCULAR = 1;
constexpr int ARUCO_4X4 = 2;
constexpr int AP... |
#pragma once
#include "config/List.hpp"
#include "config/ManualCalib.hpp"
#include "config/TrackerUnit.hpp"
#include "config/Validated.hpp"
#include "config/VideoStream.hpp"
#include "serial/Comment.hpp"
#include "serial/Serializable.hpp"
#include "utils/Env.hpp"
#include <opencv2/aruco.hpp>
#include <opencv2/core.hp... |
#include "GUI.hpp"
#include "GUI/MainFrame.hpp"
#include "utils/Assert.hpp"
namespace
{
// The arguments will have references stripped and then get moved/copied to the lambda.
// Reference args on a MainFrame function will then point to lambdas copy captures,
// and then destroyed by wxWidgets after the lambda is use... |
#pragma once
#include "Config.hpp"
#include "Localization.hpp"
#include "RefPtr.hpp"
#include <opencv2/core.hpp>
#include <functional>
class GUI;
// Interface for gui to control the tracker
class ITrackerControl
{
public:
friend class GUI;
virtual ~ITrackerControl() = default;
virtual void StartCamer... |
#include "Helpers.hpp"
#include "utils/Types.hpp"
void drawMarker(cv::Mat frame, std::vector<cv::Point2f> corners, cv::Scalar color)
{
cv::line(frame, cv::Point2i(int(corners[0].x), int(corners[0].y)), cv::Point2i(int(corners[1].x), int(corners[1].y)), color, 2);
cv::line(frame, cv::Point2i(int(corners[1].x),... |
#pragma once
#include "math/CVTypes.hpp"
#include "Quaternion.hpp"
#include "utils/Assert.hpp"
#include <opencv2/aruco.hpp>
#include <opencv2/calib3d.hpp>
#include <opencv2/core.hpp>
#include <opencv2/core/affine.hpp>
#include <opencv2/core/quaternion.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>... |
#include "ImageDrawing.hpp"
#include "utils/Assert.hpp"
#include <opencv2/calib3d.hpp>
#include <opencv2/imgproc.hpp>
#include <cmath>
#include <random>
#include <vector>
namespace
{
// Create a grid in front of the camera for visualization purposes.
std::vector<std::vector<cv::Point3f>> createXyGridLines(
con... |
#pragma once
#include "config/VideoStream.hpp"
#include <opencv2/core.hpp>
void drawCalibration(
cv::Mat& drawImg,
const cv::Mat1d& cameraMatrix,
const cv::Mat1d& distCoeffs,
const cv::Mat1d& stdDeviationsIntrinsics,
const std::vector<double>& perViewErrors,
const std::vector<std::vector<cv::... |
#pragma once
#include <string_view>
static constexpr std::string_view ATT_LICENSE =
R"(MIT License
Copyright(c) 2021 https://github.com/ju1ce/
Permission is hereby granted, free of charge, to any person obtaining a copy of this softwareand associated documentation files(the "Software"),
to deal in the Software with... |
#pragma once
#include "GUI/U8String.hpp"
#include "serial/Comment.hpp"
#include "serial/Serializable.hpp"
#include "utils/Assert.hpp"
#include "utils/Env.hpp"
#include "utils/Reflectable.hpp"
#include <filesystem>
#include <string_view>
// temporary alias, undefined at end of file,
#define T(a_key) REFLECTABLE_FIELD... |
#include "MyApp.hpp"
#include "utils/Assert.hpp"
#include "utils/Log.hpp"
#include <opencv2/core/utils/logger.hpp>
wxIMPLEMENT_APP(MyApp); // NOLINT
int MyApp::OnExit()
{
tracker->Stop();
if (envVars.IsRedirectConsoleToFile())
{
logFileHandler.CloseAndTimestampFile();
}
return 0;
}
boo... |
#pragma once
#include "Config.hpp"
#include "GUI.hpp"
#include "Localization.hpp"
#include "Tracker.hpp"
#include "utils/Env.hpp"
#include "utils/Log.hpp"
#include "utils/LogFileHandler.hpp"
#include <wx/app.h>
class MyApp : public wxApp
{
utils::EnvVars envVars{};
utils::LogFileHandler logFileHandler{};
... |
#pragma once
// OpenCV
#include <opencv2/aruco.hpp>
#include <opencv2/calib3d.hpp>
#include <opencv2/core.hpp>
#include <opencv2/core/affine.hpp>
#include <opencv2/core/persistence.hpp>
#include <opencv2/core/quaternion.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/videoio.hpp>
#include <opencv2/videoio/regist... |
//****************************************************
//* quaternion.c++ *
//* *
//* Implementaion for a generalized quaternion class *
//* *
//* Written 1.25.00 by Angela Bennett ... |
//****************************************************
//* quaternion.h *
//* *
//* Implementaion for a generalized quaternion class *
//* *
//* Written 1.25.00 by Angela Bennett ... |
// Defines the RefPtr<T> class, a default constructable std::reference_wrapper.
#pragma once
#include "utils/Assert.hpp"
#include <memory>
#include <optional>
#include <type_traits>
// forward declare for RefPtr conversion
template <typename T>
class OptRefPtr;
// This is almost identical to std::reference_wrapper... |
#ifdef _MSC_VER
#pragma warning(push, 0)
#else
#pragma GCC diagnostic push
#endif
#include <cstdlib>
#include "tagCustom29h10.hpp"
static uint64_t codedata[125] = {
0x00000000197153fcUL,
0x0000000003ad6b10UL,
0x00000000135a7c5fUL,
0x00000000087887e9UL,
0x000000001d969373UL,
0x00000000177fbbd6UL,
... |
#pragma once
#include "apriltag.h"
apriltag_family_t *tagCustom29h10_create();
void tagCustom29h10_destroy(apriltag_family_t *tf);
|
#include "Tracker.hpp"
#include "AprilTagWrapper.hpp"
#include "config/TrackerUnit.hpp"
#include "Helpers.hpp"
#include "ImageDrawing.hpp"
#include "math/CVHelpers.hpp"
#include "tracker/MainLoopRunner.hpp"
#include "tracker/TrackerUnit.hpp"
#include "utils/Assert.hpp"
#include "utils/LogBatch.hpp"
#include "utils/Ste... |
#pragma once
#include "Config.hpp"
#include "GUI.hpp"
#include "RefPtr.hpp"
#include "tracker/OpenVRClient.hpp"
#include "tracker/PlayspaceCalib.hpp"
#include "tracker/TrackerUnit.hpp"
#include "tracker/VideoCapture.hpp"
#include "tracker/VRDriver.hpp"
#include "utils/Error.hpp"
#include "utils/SteadyTimer.hpp"
#inclu... |
#pragma once
#include "RefPtr.hpp"
#include "serial/Serial.hpp"
#include "utils/Types.hpp"
#include <memory>
#include <ranges>
#include <vector>
namespace cfg
{
/// use instead of a vector when it will be individually referenced,
/// rather than written in bulk and saved.
template <typename T>
class List
{
public:
... |
#pragma once
#include "Helpers.hpp"
#include "serial/Comment.hpp"
#include "utils/Reflectable.hpp"
#include "Validated.hpp"
#include <opencv2/core.hpp>
namespace cfg
{
class ManualCalib
{
private:
/// meters to centimeters
static constexpr double M_2_CM = 100;
public:
/// Real representation of calib v... |
#pragma once
#include "math/CVTypes.hpp"
#include "serial/Serial.hpp"
#include "utils/Enum.hpp"
#include "utils/Reflectable.hpp"
#include <opencv2/core/types.hpp>
#include <array>
#include <vector>
namespace cfg
{
ATT_ENUM(TrackerRole,
Disabled,
Waist,
RightFoot,
LeftFoot)
stru... |
#pragma once
#include "serial/Serial.hpp"
#include <algorithm>
#include <functional>
namespace cfg
{
template <typename T>
class Validated
{
public:
using IsProxyTag = void;
using ValueType = T;
friend struct serial::Serial<Validated>;
/// @param validator void(T&)
template <typename Fn>
c... |
#pragma once
#include "utils/Reflectable.hpp"
#include <opencv2/core.hpp>
namespace cfg
{
// info to open a camera
struct Camera
{
struct Extra
{
REFLECTABLE_BEGIN;
REFLECTABLE_FIELD(bool, enabled) = false;
REFLECTABLE_FIELD(double, exposure) = 0;
REFLECTABLE_FIELD(double, au... |
#include "Helpers.hpp"
#include "IPC/IPC.hpp"
#include "math/CVHelpers.hpp"
#include "utils/Env.hpp"
#include "utils/LogBatch.hpp"
#include "utils/SteadyTimer.hpp"
#include "utils/Types.hpp"
#include <opencv2/core/opengl.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include <array>
#include <con... |
#pragma once
#include "EventQueue.hpp"
namespace evt
{
struct TKGroup
{};
/// events processed on the tracking thread
template <typename TDerived>
using TKEvent = EventBase<TKGroup, TDerived>;
using TKEventQueue = EventQueue<TKGroup>;
using TKEventQueueView = EventQueueView<TKGroup>;
struct UIGroup
{};
/// events p... |
#pragma once
#include "MessageQueue.hpp"
#include "RefPtr.hpp"
#include "utils/Assert.hpp"
#include "utils/Concepts.hpp"
#include "utils/TypeName.hpp"
#include <new>
#include <string_view>
#include <unordered_map>
// events have a statically generated identifier
// uppercase is Id, e.g. EventId, eventId, GetIdFor
//... |
#pragma once
#include "utils/Assert.hpp"
#include <mutex>
#include <vector>
namespace evt
{
/// message queue
template <typename T>
class MessageQueue
{
public:
MessageQueue() = default;
~MessageQueue() noexcept
{
ATT_ASSERT(mWriteQueue.empty());
}
MessageQueue(const MessageQueue&) = d... |
#pragma once
#include "config/ManualCalib.hpp"
#include "EventDefs.hpp"
namespace evt
{
// clang-format off
struct SpaceCalib : TKEvent<SpaceCalib> { EnableDisable act; };
struct SpaceCalibLockHeight : TKEvent<SpaceCalibLockHeight> { EnableDisable act; };
// user could be editing the gui values, or using the contro... |
#pragma once
#include "EventDefs.hpp"
#include "tracker/VideoCapture.hpp"
#include <opencv2/core/mat.hpp>
namespace evt
{
// clang-format off
struct VideoStream : TKEvent<VideoStream> { int idx; EnableDisable act; };
struct VideoStreamCalibEnable : TKEvent<VideoStreamCalibEnable> { int idx; };
struct VideoStreamCal... |
#include "FormBuilder.hpp"
namespace Form
{
void FormBuilder::Submit()
{
for (auto& e : elements) e->Submit();
}
void FormBuilder::Update()
{
for (auto& e : elements) e->Update();
}
void FormBuilder::SetVisible(bool visible)
{
for (auto& e : elements) e->SetVisible(visible);
}
void FormBuilder::SetEnab... |
#pragma once
#include "utils/Assert.hpp"
#include "wxHelpers.hpp"
#include <wx/arrstr.h>
#include <wx/checkbox.h>
#include <wx/choice.h>
#include <wx/panel.h>
#include <wx/sizer.h>
#include <wx/statbox.h>
#include <wx/statline.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
#include <wx/window.h>
#include <algo... |
#include "MainFrame.hpp"
#include "license.hpp"
#include "wxHelpers.hpp"
#include <functional>
#include <sstream>
// Application icon in source code, embedding an image as a string literal
#include "resources/apriltag.xpm"
GUI::MainFrame::MainFrame(RefPtr<ITrackerControl> _tracker, const Localization& _lc, UserConf... |
#pragma once
#include "Config.hpp"
#include "config/ManualCalib.hpp"
#include "FormBuilder.hpp"
#include "GUI.hpp"
#include "Localization.hpp"
#include "PreviewPane.hpp"
#include "U8String.hpp"
#include <opencv2/videoio.hpp>
#include <opencv2/videoio/registry.hpp>
#include <wx/frame.h>
#include <wx/msgdlg.h>
#include... |
///////////////////////////////////////////////////////////////////////////////
// Name: convertmattowxbmp.cpp
// Source: https://github.com/PBfordev/wxopencvtest
// Purpose: Converts OpenCV bitmap (Mat) stored as BGR CVU8 to wxBitmap
// Author: PB
// Created: 2020-09-16
// Copyright: (c) 202... |
///////////////////////////////////////////////////////////////////////////////
// Name: convertmattowxbmp.h
// Source: https://github.com/PBfordev/wxopencvtest
// Purpose: Converts OpenCV bitmap (Mat) stored as BGR CVU8 to wxBitmap
// Author: PB
// Created: 2020-09-16
// Copyright: (c) 2020 ... |
#include "PreviewPane.hpp"
#include "math/CVHelpers.hpp"
#include "MatToBitmap.hpp"
#include "utils/Assert.hpp"
#include "wxHelpers.hpp"
std::unique_ptr<wxBoxSizer> PreviewPane::Create(RefPtr<wxWindow> _parent, wxSize size)
{
ATT_ASSERT(utils::IsMainThread());
ATT_ASSERT(panel.IsNull());
parent = _parent;... |
#pragma once
#include "Config.hpp"
#include "RefPtr.hpp"
#include "utils/Assert.hpp"
#include "utils/Env.hpp"
#include "wxHelpers.hpp"
#include <opencv2/core.hpp>
#include <wx/frame.h>
#include <wx/graphics.h>
#include <wx/panel.h>
#include <wx/sizer.h>
#include <wx/timer.h>
#include <wx/window.h>
#include <memory>
... |
#include "U8String.hpp"
#include <wx/string.h>
U8String::operator wxString() const
{
return wxString::FromUTF8Unchecked(str);
}
U8StringView::operator wxString() const
{
return wxString::FromUTF8Unchecked(str.data(), str.size());
}
|
// Allows for public apis to take unicode strings without dealing with wxString.
// Main purpose is to call wxString::FromUTF8Unchecked when passed to a wxString arg in gui code,
// as by default, it will use the current locale.
#pragma once
#include "serial/Serial.hpp"
#include <string>
#include <string_view>
clas... |
#pragma once
#include "RefPtr.hpp"
#include "utils/Assert.hpp"
#include <wx/button.h>
#include <wx/frame.h>
#include <wx/menu.h>
#include <wx/sizer.h>
#include <wx/statbox.h>
#include <wx/window.h>
#include <memory>
#include <sstream>
#include <type_traits>
inline constexpr auto FrameDeleter = [](wxFrame* frame)
{
... |
#pragma once
#include "utils/Assert.hpp"
#include "utils/Types.hpp"
#include <array>
#include <memory>
#include <string>
#include <string_view>
namespace IPC
{
template <Index NSize>
class IOBuffer
{
public:
protected:
constexpr std::string_view GetBufferStringView(Index stringLength) const
{
ATT_AS... |
#ifdef ATT_OS_LINUX
# include "IPC.hpp"
# include <sys/socket.h>
# include <sys/types.h>
# include <sys/un.h>
# include <unistd.h>
# include <cerrno>
# include <cstring>
# include <system_error>
# include <tuple>
using std::size_t;
using sockaddr_un_t = struct ::sockaddr_un;
using sockadd... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.