keyword stringclasses 7
values | repo_name stringlengths 8 98 | file_path stringlengths 4 244 | file_extension stringclasses 29
values | file_size int64 0 84.1M | line_count int64 0 1.6M | content stringlengths 1 84.1M ⌀ | language stringclasses 14
values |
|---|---|---|---|---|---|---|---|
3D | hku-mars/ImMesh | src/shader/learnopengl/assimp_glm_helpers.h | .h | 966 | 34 | #pragma once
#include<assimp/quaternion.h>
#include<assimp/vector3.h>
#include<assimp/matrix4x4.h>
#include<glm/glm.hpp>
#include<glm/gtc/quaternion.hpp>
class AssimpGLMHelpers
{
public:
static inline glm::mat4 ConvertMatrixToGLMFormat(const aiMatrix4x4& from)
{
glm::mat4 to;
//the a,b,c,d in assimp is the ro... | Unknown |
3D | hku-mars/ImMesh | src/shader/learnopengl/shader_s.h | .h | 4,525 | 122 | #ifndef SHADER_H
#define SHADER_H
#include <glad/glad.h>
#include <string>
#include <fstream>
#include <sstream>
#include <iostream>
class Shader
{
public:
unsigned int ID;
// constructor generates the shader on the fly
// ------------------------------------------------------------------------
Shade... | Unknown |
3D | hku-mars/ImMesh | src/shader/learnopengl/animator.h | .h | 1,871 | 81 | #pragma once
#include <glm/glm.hpp>
#include <map>
#include <vector>
#include <assimp/scene.h>
#include <assimp/Importer.hpp>
#include <learnopengl/animation.h>
#include <learnopengl/bone.h>
class Animator
{
public:
Animator(Animation* animation)
{
m_CurrentTime = 0.0;
m_CurrentAnimation = animation;
m_Final... | Unknown |
3D | hku-mars/ImMesh | src/shader/learnopengl/bone.h | .h | 4,974 | 189 | #pragma once
/* Container for bone data */
#include <vector>
#include <assimp/scene.h>
#include <list>
#include <glm/glm.hpp>
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/quaternion.hpp>
#include <learnopengl/assimp_glm_helpers.h>
struct KeyPosition
{
glm::vec3 position;
float timeStamp;
};
struct KeyRotatio... | Unknown |
3D | hku-mars/ImMesh | src/tools/tools_ros.hpp | .hpp | 3,647 | 85 | /*
This code is the implementation of our paper "R3LIVE: A Robust, Real-time, RGB-colored,
LiDAR-Inertial-Visual tightly-coupled state Estimation and mapping package".
Author: Jiarong Lin < ziv.lin.ljr@gmail.com >
If you use any code of this repo in your academic research, please cite at least
one of our papers:
... | Unknown |
3D | hku-mars/ImMesh | src/tools/tools_data_io.hpp | .hpp | 6,469 | 179 | /*
This code is the implementation of our paper "R3LIVE: A Robust, Real-time, RGB-colored,
LiDAR-Inertial-Visual tightly-coupled state Estimation and mapping package".
Author: Jiarong Lin < ziv.lin.ljr@gmail.com >
If you use any code of this repo in your academic research, please cite at least
one of our papers:
... | Unknown |
3D | hku-mars/ImMesh | src/tools/tools_logger.hpp | .hpp | 70,445 | 1,641 | /*
This code is the implementation of our paper "R3LIVE: A Robust, Real-time, RGB-colored,
LiDAR-Inertial-Visual tightly-coupled state Estimation and mapping package".
Author: Jiarong Lin < ziv.lin.ljr@gmail.com >
If you use any code of this repo in your academic research, please cite at least
one of our papers:
... | Unknown |
3D | hku-mars/ImMesh | src/tools/tools_timer.hpp | .hpp | 8,183 | 258 | /*
This code is the implementation of our paper "R3LIVE: A Robust, Real-time, RGB-colored,
LiDAR-Inertial-Visual tightly-coupled state Estimation and mapping package".
Author: Jiarong Lin < ziv.lin.ljr@gmail.com >
If you use any code of this repo in your academic research, please cite at least
one of our papers:
... | Unknown |
3D | hku-mars/ImMesh | src/tools/tools_thread_pool.hpp | .hpp | 11,034 | 313 | /*
This code is the implementation of our paper "R3LIVE: A Robust, Real-time, RGB-colored,
LiDAR-Inertial-Visual tightly-coupled state Estimation and mapping package".
Author: Jiarong Lin < ziv.lin.ljr@gmail.com >
If you use any code of this repo in your academic research, please cite at least
one of our papers:
... | Unknown |
3D | hku-mars/ImMesh | src/tools/tools_eigen.hpp | .hpp | 12,662 | 278 | /*
This code is the implementation of our paper "R3LIVE: A Robust, Real-time, RGB-colored,
LiDAR-Inertial-Visual tightly-coupled state Estimation and mapping package".
Author: Jiarong Lin < ziv.lin.ljr@gmail.com >
If you use any code of this repo in your academic research, please cite at least
one of our papers:
... | Unknown |
3D | hku-mars/ImMesh | src/tools/tools_mem_used.h | .h | 8,836 | 204 | /*
This code is the implementation of our paper "R3LIVE: A Robust, Real-time, RGB-colored,
LiDAR-Inertial-Visual tightly-coupled state Estimation and mapping package".
Author: Jiarong Lin < ziv.lin.ljr@gmail.com >
If you use any code of this repo in your academic research, please cite at least
one of our papers:
... | Unknown |
3D | hku-mars/ImMesh | src/tools/tools_ceres.hpp | .hpp | 13,233 | 364 | /*
This code is the implementation of our paper "R3LIVE: A Robust, Real-time, RGB-colored,
LiDAR-Inertial-Visual tightly-coupled state Estimation and mapping package".
Author: Jiarong Lin < ziv.lin.ljr@gmail.com >
If you use any code of this repo in your academic research, please cite at least
one of our papers:
... | Unknown |
3D | hku-mars/ImMesh | src/tools/tinycolormap.hpp | .hpp | 104,096 | 2,467 | /*
MIT License
Copyright (c) 2018-2020 Yuki Koyama
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, ... | Unknown |
3D | hku-mars/ImMesh | src/tools/tools_color_printf.hpp | .hpp | 5,673 | 156 | /*
This code is the implementation of our paper "R3LIVE: A Robust, Real-time, RGB-colored,
LiDAR-Inertial-Visual tightly-coupled state Estimation and mapping package".
Author: Jiarong Lin < ziv.lin.ljr@gmail.com >
If you use any code of this repo in your academic research, please cite at least
one of our papers:
... | Unknown |
3D | hku-mars/ImMesh | src/tools/tools_angleaxis_ad.h | .h | 11,035 | 292 | /*
This code is the implementation of our paper "R3LIVE: A Robust, Real-time, RGB-colored,
LiDAR-Inertial-Visual tightly-coupled state Estimation and mapping package".
Author: Jiarong Lin < ziv.lin.ljr@gmail.com >
If you use any code of this repo in your academic research, please cite at least
one of our papers:
... | Unknown |
3D | hku-mars/ImMesh | src/tools/tools_openCV_3_to_4.hpp | .hpp | 3,189 | 67 | /*
This code is the implementation of our paper "R3LIVE: A Robust, Real-time, RGB-colored,
LiDAR-Inertial-Visual tightly-coupled state Estimation and mapping package".
Author: Jiarong Lin < ziv.lin.ljr@gmail.com >
If you use any code of this repo in your academic research, please cite at least
one of our papers:
... | Unknown |
3D | hku-mars/ImMesh | src/tools/os_compatible.hpp | .hpp | 1,508 | 56 | #ifndef __OS_COMPATIBLE_HPP__
#define __OS_COMPATIBLE_HPP__
#include <string>
#include <fstream>
#include <iostream>
#include <ostream>
#include <sstream>
#include <stdarg.h> //need for such like printf(...)
#include <stdio.h>
#include <string>
#if defined _MSC_VER
#include <direct.h>
#elif defined __GNUC__
#includ... | Unknown |
3D | hku-mars/ImMesh | src/tools/tools_kd_hash.hpp | .hpp | 7,559 | 228 | /*
This code is the implementation of our paper "R3LIVE: A Robust, Real-time, RGB-colored,
LiDAR-Inertial-Visual tightly-coupled state Estimation and mapping package".
Author: Jiarong Lin < ziv.lin.ljr@gmail.com >
If you use any code of this repo in your academic research, please cite at least
one of our papers:
[1... | Unknown |
3D | hku-mars/ImMesh | src/tools/common_tools.h | .h | 2,703 | 92 | #ifndef __COMMON_TOOLS_H__
#define __COMMON_TOOLS_H__
#include <stdio.h>
#include <stdlib.h>
#include <future>
#include <vector>
#include <set>
#include <list>
#include <thread>
#include "tools_logger.hpp"
#include "tools_timer.hpp"
#include "tools_random.hpp"
#include "tools_json.hpp"
#include "os_compatible.hpp"
na... | Unknown |
3D | hku-mars/ImMesh | src/tools/tools_serialization.hpp | .hpp | 15,691 | 478 | /*
This code is the implementation of our paper "R3LIVE: A Robust, Real-time, RGB-colored,
LiDAR-Inertial-Visual tightly-coupled state Estimation and mapping package".
Author: Jiarong Lin < ziv.lin.ljr@gmail.com >
If you use any code of this repo in your academic research, please cite at least
one of our papers:
... | Unknown |
3D | hku-mars/ImMesh | src/tools/tools_graphics.hpp | .hpp | 5,415 | 119 | #pragma once
#include <CGAL/Point_2.h>
#include <CGAL/Triangle_2.h>
#include <CGAL/Polygon_2.h>
// #include <CGAL/Boolean_set_operations_2.h>
// https://doc.cgal.org/latest/Kernel_23/index.html#Kernel_23Kernel
#include <CGAL/Cartesian.h>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Exac... | Unknown |
3D | hku-mars/ImMesh | src/tools/tools_random.hpp | .hpp | 6,527 | 185 | /*
This code is the implementation of our paper "R3LIVE: A Robust, Real-time, RGB-colored,
LiDAR-Inertial-Visual tightly-coupled state Estimation and mapping package".
Author: Jiarong Lin < ziv.lin.ljr@gmail.com >
If you use any code of this repo in your academic research, please cite at least
one of our papers:
... | Unknown |
3D | hku-mars/ImMesh | src/tools/openGL_libs/glformattraits.h | .h | 5,498 | 201 | #pragma once
// this part of codes is copied from Pangolin: https://github.com/stevenlovegrove/Pangolin
#include <GLFW/glfw3.h> // Will drag system OpenGL headers
#include <Eigen/Core>
#include <Eigen/Geometry>
#ifndef GL_LUMINANCE32UI_EXT // I don't know why this is not defined if include GLAD
#include "GL/glext.h"
... | Unknown |
3D | hku-mars/ImMesh | src/tools/openGL_libs/openGL_camera.hpp | .hpp | 20,721 | 515 | /*
This code is the implementation of our paper "ImMesh: An Immediate LiDAR Localization and Meshing Framework".
The source code of this package is released under GPLv2 license. We only allow it free for personal and academic usage.
If you use any code of this repo in your academic research, please cite at least on... | Unknown |
3D | hku-mars/ImMesh | src/tools/openGL_libs/glad.c | .c | 145,626 | 2,522 | /*
OpenGL loader generated by glad 0.1.13a0 on Sun Apr 2 14:54:18 2017.
Language/Generator: C/C++
Specification: gl
APIs: gl=4.5
Profile: compatibility
Extensions:
GL_KHR_debug
Loader: True
Local files: False
Omit khrplatform: False
Commandline:
--profile="com... | C |
3D | hku-mars/ImMesh | src/tools/openGL_libs/gl_draw_founction.hpp | .hpp | 17,295 | 557 | #pragma once
#include "glformattraits.h"
#include <GLFW/glfw3.h> // Will drag system OpenGL headers
#include <Eigen/Core>
#include <Eigen/Geometry>
#if 0
void test_unproject(GLFWwindow* window)
{
double xPos, yPos;
int pixel_w, pixel_h, screen_w, screen_h;
glm::mat4 modelview, projection ;
glGetFloatv(... | Unknown |
3D | hku-mars/ImMesh | src/tools/openGL_libs/openGL_camera.cpp | .cpp | 36,229 | 829 | /*
This code is the implementation of our paper "ImMesh: An Immediate LiDAR Localization and Meshing Framework".
The source code of this package is released under GPLv2 license. We only allow it free for personal and academic usage.
If you use any code of this repo in your academic research, please cite at least on... | C++ |
3D | hku-mars/ImMesh | src/tools/openGL_libs/openGL_camera_view.cpp | .cpp | 20,146 | 475 | /*
This code is the implementation of our paper "ImMesh: An Immediate LiDAR Localization and Meshing Framework".
The source code of this package is released under GPLv2 license. We only allow it free for personal and academic usage.
If you use any code of this repo in your academic research, please cite at least on... | C++ |
3D | hku-mars/ImMesh | src/tools/openGL_libs/tinycolormap.hpp | .hpp | 104,096 | 2,467 | /*
MIT License
Copyright (c) 2018-2020 Yuki Koyama
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, ... | Unknown |
3D | hku-mars/ImMesh | src/tools/openGL_libs/glad.h | .h | 287,168 | 5,249 | /*
OpenGL loader generated by glad 0.1.13a0 on Sun Apr 2 14:54:18 2017.
Language/Generator: C/C++
Specification: gl
APIs: gl=4.5
Profile: compatibility
Extensions:
GL_KHR_debug
Loader: True
Local files: False
Omit khrplatform: False
Commandline:
--profile="com... | Unknown |
3D | hku-mars/ImMesh | src/tools/openGL_libs/glad/glad.h | .h | 287,168 | 5,249 | /*
OpenGL loader generated by glad 0.1.13a0 on Sun Apr 2 14:54:18 2017.
Language/Generator: C/C++
Specification: gl
APIs: gl=4.5
Profile: compatibility
Extensions:
GL_KHR_debug
Loader: True
Local files: False
Omit khrplatform: False
Commandline:
--profile="com... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/sim2.hpp | .hpp | 24,297 | 728 | /// @file
/// Similarity group Sim(2) - scaling, rotation and translation in 2d.
#ifndef SOPHUS_SIM2_HPP
#define SOPHUS_SIM2_HPP
#include "rxso2.hpp"
#include "sim_details.hpp"
namespace Sophus {
template <class Scalar_, int Options = 0>
class Sim2;
using Sim2d = Sim2<double>;
using Sim2f = Sim2<float>;
} // namesp... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/local_parameterization_split_se3.hpp | .hpp | 7,811 | 199 | #ifndef SOPHUS_TEST_LOCAL_PARAMETERIZATION_SPLIT_SE3_HPP
#define SOPHUS_TEST_LOCAL_PARAMETERIZATION_SPLIT_SE3_HPP
#include "se3.hpp"
#include <ceres/local_parameterization.h>
#include <iostream>
using std::cout;
using std::endl;
inline Eigen::Quaterniond delta_2_quaternion( const double *delta )
{
const double no... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/interpolate_details.hpp | .hpp | 2,647 | 105 | #ifndef SOPHUS_INTERPOLATE_DETAILS_HPP
#define SOPHUS_INTERPOLATE_DETAILS_HPP
#include "rxso2.hpp"
#include "rxso3.hpp"
#include "se2.hpp"
#include "se3.hpp"
#include "sim2.hpp"
#include "sim3.hpp"
#include "so2.hpp"
#include "so3.hpp"
namespace Sophus {
namespace interp_details {
template <class Group>
struct Trait... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/test_macros.hpp | .hpp | 6,620 | 130 | #ifndef SOPUHS_TESTS_MACROS_HPP
#define SOPUHS_TESTS_MACROS_HPP
#include <sophus/types.hpp>
#include <sophus/formatstring.hpp>
namespace Sophus {
namespace details {
template <class Scalar>
class Pretty {
public:
static std::string impl(Scalar s) { return FormatString("%", s); }
};
template <class Scalar, int M,... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/average.hpp | .hpp | 8,227 | 232 | /// @file
/// Calculation of biinvariant means.
#ifndef SOPHUS_AVERAGE_HPP
#define SOPHUS_AVERAGE_HPP
#include "common.hpp"
#include "rxso2.hpp"
#include "rxso3.hpp"
#include "se2.hpp"
#include "se3.hpp"
#include "sim2.hpp"
#include "sim3.hpp"
#include "so2.hpp"
#include "so3.hpp"
namespace Sophus {
/// Calculates ... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/se3.hpp | .hpp | 35,838 | 1,082 | /// @file
/// Special Euclidean group SE(3) - rotation and translation in 3d.
#ifndef SOPHUS_SE3_HPP
#define SOPHUS_SE3_HPP
#include "so3.hpp"
namespace Sophus {
template <class Scalar_, int Options = 0>
class SE3;
using SE3d = SE3<double>;
using SE3f = SE3<float>;
} // namespace Sophus
namespace Eigen {
namespace... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/common.hpp | .hpp | 5,521 | 202 | /// @file
/// Common functionality.
#ifndef SOPHUS_COMMON_HPP
#define SOPHUS_COMMON_HPP
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <random>
#include <type_traits>
#include <Eigen/Core>
#if !defined(SOPHUS_DISABLE_ENSURES)
#include "formatstring.hpp"
#endif //!defined(SOPHUS_DISABLE_ENSURES)
// ... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/local_parameterization_se3.hpp | .hpp | 1,252 | 46 | #ifndef SOPHUS_TEST_LOCAL_PARAMETERIZATION_SE3_HPP
#define SOPHUS_TEST_LOCAL_PARAMETERIZATION_SE3_HPP
#include <ceres/local_parameterization.h>
#include "se3.hpp"
namespace Sophus {
class LocalParameterizationSE3 : public ceres::LocalParameterization {
public:
virtual ~LocalParameterizationSE3() {}
// SE3 plus... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/rotation_matrix.hpp | .hpp | 2,685 | 85 | /// @file
/// Rotation matrix helper functions.
#ifndef SOPHUS_ROTATION_MATRIX_HPP
#define SOPHUS_ROTATION_MATRIX_HPP
#include <Eigen/Dense>
#include <Eigen/SVD>
#include "types.hpp"
namespace Sophus {
/// Takes in arbitrary square matrix and returns true if it is
/// orthogonal.
template <class D>
SOPHUS_FUNC boo... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/so2.hpp | .hpp | 21,328 | 627 | /// @file
/// Special orthogonal group SO(2) - rotation in 2d.
#ifndef SOPHUS_SO2_HPP
#define SOPHUS_SO2_HPP
#include <complex>
#include <type_traits>
// Include only the selective set of Eigen headers that we need.
// This helps when using Sophus with unusual compilers, like nvcc.
#include <Eigen/LU>
#include "rot... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/rxso2.hpp | .hpp | 22,182 | 661 | /// @file
/// Direct product R X SO(2) - rotation and scaling in 2d.
#ifndef SOPHUS_RXSO2_HPP
#define SOPHUS_RXSO2_HPP
#include "so2.hpp"
namespace Sophus {
template <class Scalar_, int Options = 0>
class RxSO2;
using RxSO2d = RxSO2<double>;
using RxSO2f = RxSO2<float>;
} // namespace Sophus
namespace Eigen {
name... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/interpolate.hpp | .hpp | 1,282 | 39 | /// @file
/// Interpolation for Lie groups.
#ifndef SOPHUS_INTERPOLATE_HPP
#define SOPHUS_INTERPOLATE_HPP
#include <Eigen/Eigenvalues>
#include "interpolate_details.hpp"
namespace Sophus {
/// This function interpolates between two Lie group elements ``foo_T_bar``
/// and ``foo_T_baz`` with an interpolation factor... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/se2.hpp | .hpp | 26,757 | 841 | /// @file
/// Special Euclidean group SE(2) - rotation and translation in 2d.
#ifndef SOPHUS_SE2_HPP
#define SOPHUS_SE2_HPP
#include "so2.hpp"
namespace Sophus {
template <class Scalar_, int Options = 0>
class SE2;
using SE2d = SE2<double>;
using SE2f = SE2<float>;
} // namespace Sophus
namespace Eigen {
namespace... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/rxso3.hpp | .hpp | 25,099 | 731 | /// @file
/// Direct product R X SO(3) - rotation and scaling in 3d.
#ifndef SOPHUS_RXSO3_HPP
#define SOPHUS_RXSO3_HPP
#include "so3.hpp"
namespace Sophus {
template <class Scalar_, int Options = 0>
class RxSO3;
using RxSO3d = RxSO3<double>;
using RxSO3f = RxSO3<float>;
} // namespace Sophus
namespace Eigen {
name... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/so3.hpp | .hpp | 29,110 | 856 | /// @file
/// Special orthogonal group SO(3) - rotation in 3d.
#ifndef SOPHUS_SO3_HPP
#define SOPHUS_SO3_HPP
#include "rotation_matrix.hpp"
#include "so2.hpp"
#include "types.hpp"
// Include only the selective set of Eigen headers that we need.
// This helps when using Sophus with unusual compilers, like nvcc.
#incl... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/velocities.hpp | .hpp | 2,401 | 75 | #ifndef SOPHUS_VELOCITIES_HPP
#define SOPHUS_VELOCITIES_HPP
#include <functional>
#include "num_diff.hpp"
#include "se3.hpp"
namespace Sophus {
namespace experimental {
// Experimental since the API will certainly change drastically in the future.
// Transforms velocity vector by rotation ``foo_R_bar``.
//
// Note:... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/formatstring.hpp | .hpp | 1,810 | 73 | /// @file
/// FormatString functionality
#ifndef SOPHUS_FORMATSTRING_HPP
#define SOPHUS_FORMATSTRING_HPP
#include <iostream>
namespace Sophus {
namespace details {
// Following: http://stackoverflow.com/a/22759544
template <class T>
class IsStreamable {
private:
template <class TT>
static auto test(int)
... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/geometry.hpp | .hpp | 6,141 | 180 | /// @file
/// Transformations between poses and hyperplanes.
#ifndef GEOMETRY_HPP
#define GEOMETRY_HPP
#include "se2.hpp"
#include "se3.hpp"
#include "so2.hpp"
#include "so3.hpp"
#include "types.hpp"
namespace Sophus {
/// Takes in a rotation ``R_foo_plane`` and returns the corresponding line
/// normal along the y... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/sim_details.hpp | .hpp | 3,536 | 104 | #ifndef SOPHUS_SIM_DETAILS_HPP
#define SOPHUS_SIM_DETAILS_HPP
#include "types.hpp"
namespace Sophus {
namespace details {
template <class Scalar, int N>
Matrix<Scalar, N, N> calcW(Matrix<Scalar, N, N> const& Omega,
Scalar const theta, Scalar const sigma) {
using std::abs;
using std::co... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/example_ensure_handler.cpp | .cpp | 398 | 15 | #include "common.hpp"
#include <cstdio>
#include <cstdlib>
namespace Sophus {
void ensureFailed(char const* function, char const* file, int line,
char const* description) {
std::printf("Sophus ensure failed in function '%s', file '%s', line %d.\n",
file, function, line);
std::print... | C++ |
3D | hku-mars/ImMesh | src/tools/lib_sophus/types.hpp | .hpp | 6,323 | 242 | /// @file
/// Common type aliases.
#ifndef SOPHUS_TYPES_HPP
#define SOPHUS_TYPES_HPP
#include <type_traits>
#include "common.hpp"
namespace Sophus {
template <class Scalar, int M, int Options = 0>
using Vector = Eigen::Matrix<Scalar, M, 1, Options>;
template <class Scalar, int Options = 0>
using Vector2 = Vector<S... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/num_diff.hpp | .hpp | 2,850 | 94 | /// @file
/// Numerical differentiation using finite differences
#ifndef SOPHUS_NUM_DIFF_HPP
#define SOPHUS_NUM_DIFF_HPP
#include <functional>
#include <type_traits>
#include <utility>
#include "types.hpp"
namespace Sophus {
namespace details {
template <class Scalar>
class Curve {
public:
template <class Fn>
... | Unknown |
3D | hku-mars/ImMesh | src/tools/lib_sophus/sim3.hpp | .hpp | 25,120 | 746 | /// @file
/// Similarity group Sim(3) - scaling, rotation and translation in 3d.
#ifndef SOPHUS_SIM3_HPP
#define SOPHUS_SIM3_HPP
#include "rxso3.hpp"
#include "sim_details.hpp"
namespace Sophus {
template <class Scalar_, int Options = 0>
class Sim3;
using Sim3d = Sim3<double>;
using Sim3f = Sim3<float>;
} // namesp... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imstb_textedit.h | .h | 54,933 | 1,448 | // [DEAR IMGUI]
// This is a slightly modified version of stb_textedit.h 1.14.
// Those changes would need to be pushed into nothings/stb:
// - Fix in stb_textedit_discard_redo (see https://github.com/nothings/stb/issues/321)
// Grep for [DEAR IMGUI] to find the changes.
// stb_textedit.h - v1.14 - public domain - Se... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_metal.h | .h | 3,190 | 66 | // dear imgui: Renderer Backend for Metal
// This needs to be used along with a Platform Backend (e.g. OSX)
// Implemented features:
// [X] Renderer: User texture binding. Use 'MTLTexture' as ImTextureID. Read the FAQ about ImTextureID!
// [X] Renderer: Large meshes support (64k+ vertices) with 16-bit indices.
// [... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_opengl2.cpp | .cpp | 16,786 | 326 | // dear imgui: Renderer Backend for OpenGL2 (legacy OpenGL, fixed pipeline)
// This needs to be used along with a Platform Backend (e.g. GLFW, SDL, Win32, custom..)
// Implemented features:
// [X] Renderer: User texture binding. Use 'GLuint' OpenGL texture identifier as void*/ImTextureID. Read the FAQ about ImTexture... | C++ |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_glfw.cpp | .cpp | 61,167 | 1,169 | // dear imgui: Platform Backend for GLFW
// This needs to be used along with a Renderer (e.g. OpenGL3, Vulkan, WebGPU..)
// (Info: GLFW is a cross-platform general purpose library for handling windows, inputs, OpenGL/Vulkan graphics context creation, etc.)
// (Requires: GLFW 3.1+. Prefer GLFW 3.3+ for full feature supp... | C++ |
3D | hku-mars/ImMesh | src/tools/imgui/imstb_rectpack.h | .h | 20,344 | 628 | // [DEAR IMGUI]
// This is a slightly modified version of stb_rect_pack.h 1.01.
// Grep for [DEAR IMGUI] to find the changes.
//
// stb_rect_pack.h - v1.01 - public domain - rectangle packing
// Sean Barrett 2014
//
// Useful for e.g. packing rectangular textures into an atlas.
// Does not do rotation.
//
// Before #i... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_wgpu.cpp | .cpp | 32,065 | 720 | // dear imgui: Renderer for WebGPU
// This needs to be used along with a Platform Binding (e.g. GLFW)
// (Please note that WebGPU is currently experimental, will not run on non-beta browsers, and may break.)
// Implemented features:
// [X] Renderer: User texture binding. Use 'WGPUTextureView' as ImTextureID. Read the... | C++ |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_dx12.cpp | .cpp | 49,058 | 1,075 | // dear imgui: Renderer Backend for DirectX12
// This needs to be used along with a Platform Backend (e.g. Win32)
// Implemented features:
// [X] Renderer: User texture binding. Use 'D3D12_GPU_DESCRIPTOR_HANDLE' as ImTextureID. Read the FAQ about ImTextureID!
// [X] Renderer: Multi-viewport support (multiple windows... | C++ |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_sdl.h | .h | 2,597 | 39 | // dear imgui: Platform Backend for SDL2
// This needs to be used along with a Renderer (e.g. DirectX11, OpenGL3, Vulkan..)
// (Info: SDL2 is a cross-platform general purpose library for handling windows, inputs, graphics context creation, etc.)
// Implemented features:
// [X] Platform: Clipboard support.
// [X] Pla... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_opengl3.h | .h | 2,995 | 57 | // dear imgui: Renderer Backend for modern OpenGL with shaders / programmatic pipeline
// - Desktop GL: 2.x 3.x 4.x
// - Embedded GL: ES 2.0 (WebGL 1.0), ES 3.0 (WebGL 2.0)
// This needs to be used along with a Platform Backend (e.g. GLFW, SDL, Win32, custom..)
// Implemented features:
// [X] Renderer: User texture b... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_osx.h | .h | 2,150 | 45 | // dear imgui: Platform Backend for OSX / Cocoa
// This needs to be used along with a Renderer (e.g. OpenGL2, OpenGL3, Vulkan, Metal..)
// [ALPHA] Early backend, not well tested. If you want a portable application, prefer using the GLFW or SDL platform Backends on Mac.
// Implemented features:
// [X] Platform: Mouse ... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_vulkan.h | .h | 9,604 | 157 | // dear imgui: Renderer Backend for Vulkan
// This needs to be used along with a Platform Backend (e.g. GLFW, SDL, Win32, custom..)
// Implemented features:
// [X] Renderer: Large meshes support (64k+ vertices) with 16-bit indices.
// [x] Renderer: Multi-viewport / platform windows. With issues (flickering when crea... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_sdlrenderer.h | .h | 1,532 | 32 | // dear imgui: Renderer Backend for SDL_Renderer
// (Requires: SDL 2.0.17+)
// Important to understand: SDL_Renderer is an _optional_ component of SDL.
// For a multi-platform app consider using e.g. SDL+DirectX on Windows and SDL+OpenGL on Linux/OSX.
// If your application will want to render any non trivial amount o... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_dx11.h | .h | 1,491 | 28 | // dear imgui: Renderer Backend for DirectX11
// This needs to be used along with a Platform Backend (e.g. Win32)
// Implemented features:
// [X] Renderer: User texture binding. Use 'ID3D11ShaderResourceView*' as ImTextureID. Read the FAQ about ImTextureID!
// [X] Renderer: Multi-viewport support (multiple windows).... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_allegro5.h | .h | 2,013 | 33 | // dear imgui: Renderer + Platform Backend for Allegro 5
// (Info: Allegro 5 is a cross-platform general purpose library for handling windows, inputs, graphics, etc.)
// Implemented features:
// [X] Renderer: User texture binding. Use 'ALLEGRO_BITMAP*' as ImTextureID. Read the FAQ about ImTextureID!
// [X] Platform:... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_dx10.cpp | .cpp | 32,719 | 714 | // dear imgui: Renderer Backend for DirectX10
// This needs to be used along with a Platform Backend (e.g. Win32)
// Implemented features:
// [X] Renderer: User texture binding. Use 'ID3D10ShaderResourceView*' as ImTextureID. Read the FAQ about ImTextureID!
// [X] Renderer: Multi-viewport support (multiple windows).... | C++ |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_vulkan.cpp | .cpp | 91,216 | 1,760 | // dear imgui: Renderer Backend for Vulkan
// This needs to be used along with a Platform Backend (e.g. GLFW, SDL, Win32, custom..)
// Implemented features:
// [X] Renderer: Large meshes support (64k+ vertices) with 16-bit indices.
// [x] Renderer: Multi-viewport / platform windows. With issues (flickering when crea... | C++ |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_android.cpp | .cpp | 15,259 | 277 | // dear imgui: Platform Binding for Android native app
// This needs to be used along with the OpenGL 3 Renderer (imgui_impl_opengl3)
// Implemented features:
// [X] Platform: Keyboard support. Since 1.87 we are using the io.AddKeyEvent() function. Pass ImGuiKey values to all key functions e.g. ImGui::IsKeyPressed(Im... | C++ |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_win32.h | .h | 3,240 | 46 | // dear imgui: Platform Backend for Windows (standard windows API for 32 and 64 bits applications)
// This needs to be used along with a Renderer (e.g. DirectX11, OpenGL3, Vulkan..)
// Implemented features:
// [X] Platform: Clipboard support (for Win32 this is actually part of core dear imgui)
// [X] Platform: Keybo... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui.cpp | .cpp | 964,405 | 19,190 | // dear imgui, v1.89 WIP
// (main code and documentation)
// Help:
// - Read FAQ at http://dearimgui.org/faq
// - Newcomers, read 'Programmer guide' below for notes on how to setup Dear ImGui in your codebase.
// - Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp. All applications in examples/ are doing that.
/... | C++ |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_dx11.cpp | .cpp | 34,671 | 730 | // dear imgui: Renderer Backend for DirectX11
// This needs to be used along with a Platform Backend (e.g. Win32)
// Implemented features:
// [X] Renderer: User texture binding. Use 'ID3D11ShaderResourceView*' as ImTextureID. Read the FAQ about ImTextureID!
// [X] Renderer: Multi-viewport support (multiple windows).... | C++ |
3D | hku-mars/ImMesh | src/tools/imgui/imgui.h | .h | 327,624 | 3,307 | // dear imgui, v1.89 WIP
// (headers)
// Help:
// - Read FAQ at http://dearimgui.org/faq
// - Newcomers, read 'Programmer guide' in imgui.cpp for notes on how to setup Dear ImGui in your codebase.
// - Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp. All applications in examples/ are doing that.
// Read imgui.... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_internal.h | .h | 239,977 | 3,292 | // dear imgui, v1.89 WIP
// (internal structures/api)
// You may use this file to debug, understand or extend ImGui features but we don't provide any guarantee of forward compatibility!
// Set:
// #define IMGUI_DEFINE_MATH_OPERATORS
// To implement maths operators for ImVec2 (disabled by default to not collide with ... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imstb_truetype.h | .h | 199,422 | 5,086 | // [DEAR IMGUI]
// This is a slightly modified version of stb_truetype.h 1.26.
// Mostly fixing for compiler and static analyzer warnings.
// Grep for [DEAR IMGUI] to find the changes.
// stb_truetype.h - v1.26 - public domain
// authored from 2009-2021 by Sean Barrett / RAD Game Tools
//
// ==========================... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_glfw.h | .h | 3,825 | 52 | // dear imgui: Platform Backend for GLFW
// This needs to be used along with a Renderer (e.g. OpenGL3, Vulkan, WebGPU..)
// (Info: GLFW is a cross-platform general purpose library for handling windows, inputs, OpenGL/Vulkan graphics context creation, etc.)
// (Requires: GLFW 3.1+. Prefer GLFW 3.3+ for full feature supp... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_wgpu.h | .h | 1,456 | 26 | // dear imgui: Renderer for WebGPU
// This needs to be used along with a Platform Binding (e.g. GLFW)
// (Please note that WebGPU is currently experimental, will not run on non-beta browsers, and may break.)
// Implemented features:
// [X] Renderer: User texture binding. Use 'WGPUTextureView' as ImTextureID. Read the... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_glut.cpp | .cpp | 13,581 | 298 | // dear imgui: Platform Backend for GLUT/FreeGLUT
// This needs to be used along with a Renderer (e.g. OpenGL2)
// !!! GLUT/FreeGLUT IS OBSOLETE PREHISTORIC SOFTWARE. Using GLUT is not recommended unless you really miss the 90's. !!!
// !!! If someone or something is teaching you GLUT today, you are being abused. Plea... | C++ |
3D | hku-mars/ImMesh | src/tools/imgui/imconfig.h | .h | 9,999 | 126 | //-----------------------------------------------------------------------------
// COMPILE-TIME OPTIONS FOR DEAR IMGUI
// Runtime options (clipboard callbacks, enabling various features, etc.) can generally be set via the ImGuiIO structure.
// You can use ImGui::SetAllocatorFunctions() before calling ImGui::CreateConte... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_allegro5.cpp | .cpp | 27,816 | 582 | // dear imgui: Renderer + Platform Backend for Allegro 5
// (Info: Allegro 5 is a cross-platform general purpose library for handling windows, inputs, graphics, etc.)
// Implemented features:
// [X] Renderer: User texture binding. Use 'ALLEGRO_BITMAP*' as ImTextureID. Read the FAQ about ImTextureID!
// [X] Platform:... | C++ |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_tables.cpp | .cpp | 216,741 | 4,075 | // dear imgui, v1.89 WIP
// (tables and columns code)
/*
Index of this file:
// [SECTION] Commentary
// [SECTION] Header mess
// [SECTION] Tables: Main code
// [SECTION] Tables: Simple accessors
// [SECTION] Tables: Row changes
// [SECTION] Tables: Columns changes
// [SECTION] Tables: Columns width management
// [SE... | C++ |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_dx10.h | .h | 1,426 | 27 | // dear imgui: Renderer Backend for DirectX10
// This needs to be used along with a Platform Backend (e.g. Win32)
// Implemented features:
// [X] Renderer: User texture binding. Use 'ID3D10ShaderResourceView*' as ImTextureID. Read the FAQ about ImTextureID!
// [X] Renderer: Multi-viewport support (multiple windows).... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_glut.h | .h | 2,893 | 40 | // dear imgui: Platform Backend for GLUT/FreeGLUT
// This needs to be used along with a Renderer (e.g. OpenGL2)
// !!! GLUT/FreeGLUT IS OBSOLETE PREHISTORIC SOFTWARE. Using GLUT is not recommended unless you really miss the 90's. !!!
// !!! If someone or something is teaching you GLUT today, you are being abused. Plea... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_sdl.cpp | .cpp | 47,893 | 941 | // dear imgui: Platform Backend for SDL2
// This needs to be used along with a Renderer (e.g. DirectX11, OpenGL3, Vulkan..)
// (Info: SDL2 is a cross-platform general purpose library for handling windows, inputs, graphics context creation, etc.)
// (Prefer SDL 2.0.5+ for full feature support.)
// Implemented features:... | C++ |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_dx12.h | .h | 2,496 | 40 | // dear imgui: Renderer Backend for DirectX12
// This needs to be used along with a Platform Backend (e.g. Win32)
// Implemented features:
// [X] Renderer: User texture binding. Use 'D3D12_GPU_DESCRIPTOR_HANDLE' as ImTextureID. Read the FAQ about ImTextureID!
// [X] Renderer: Multi-viewport support (multiple windows... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_android.h | .h | 1,857 | 29 | // dear imgui: Platform Binding for Android native app
// This needs to be used along with the OpenGL 3 Renderer (imgui_impl_opengl3)
// Implemented features:
// [X] Platform: Keyboard support. Since 1.87 we are using the io.AddKeyEvent() function. Pass ImGuiKey values to all key functions e.g. ImGui::IsKeyPressed(Im... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_dx9.cpp | .cpp | 25,639 | 541 | // dear imgui: Renderer Backend for DirectX9
// This needs to be used along with a Platform Backend (e.g. Win32)
// Implemented features:
// [X] Renderer: User texture binding. Use 'LPDIRECT3DTEXTURE9' as ImTextureID. Read the FAQ about ImTextureID!
// [X] Renderer: Multi-viewport support (multiple windows). Enable ... | C++ |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_widgets.cpp | .cpp | 424,755 | 8,577 | // dear imgui, v1.89 WIP
// (widgets code)
/*
Index of this file:
// [SECTION] Forward Declarations
// [SECTION] Widgets: Text, etc.
// [SECTION] Widgets: Main (Button, Image, Checkbox, RadioButton, ProgressBar, Bullet, etc.)
// [SECTION] Widgets: Low-level Layout helpers (Spacing, Dummy, NewLine, Separator, etc.)
/... | C++ |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_opengl2.h | .h | 2,115 | 34 | // dear imgui: Renderer Backend for OpenGL2 (legacy OpenGL, fixed pipeline)
// This needs to be used along with a Platform Backend (e.g. GLFW, SDL, Win32, custom..)
// Implemented features:
// [X] Renderer: User texture binding. Use 'GLuint' OpenGL texture identifier as void*/ImTextureID. Read the FAQ about ImTexture... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_win32.cpp | .cpp | 60,085 | 1,197 | // dear imgui: Platform Backend for Windows (standard windows API for 32 and 64 bits applications)
// This needs to be used along with a Renderer (e.g. DirectX11, OpenGL3, Vulkan..)
// Implemented features:
// [X] Platform: Clipboard support (for Win32 this is actually part of core dear imgui)
// [X] Platform: Keybo... | C++ |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_sdlrenderer.cpp | .cpp | 11,015 | 252 | // dear imgui: Renderer Backend for SDL_Renderer
// (Requires: SDL 2.0.17+)
// Important to understand: SDL_Renderer is an _optional_ component of SDL.
// For a multi-platform app consider using e.g. SDL+DirectX on Windows and SDL+OpenGL on Linux/OSX.
// If your application will want to render any non trivial amount o... | C++ |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_opengl3_loader.h | .h | 34,597 | 787 | //-----------------------------------------------------------------------------
// About imgui_impl_opengl3_loader.h:
//
// We embed our own OpenGL loader to not require user to provide their own or to have to use ours,
// which proved to be endless problems for users.
// Our loader is custom-generated, based on gl3w b... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_demo.cpp | .cpp | 427,175 | 8,267 | // dear imgui, v1.89 WIP
// (demo code)
// Help:
// - Read FAQ at http://dearimgui.org/faq
// - Newcomers, read 'Programmer guide' in imgui.cpp for notes on how to setup Dear ImGui in your codebase.
// - Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp. All applications in examples/ are doing that.
// Read imgu... | C++ |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_draw.cpp | .cpp | 214,481 | 4,191 | // dear imgui, v1.89 WIP
// (drawing and font code)
/*
Index of this file:
// [SECTION] STB libraries implementation
// [SECTION] Style functions
// [SECTION] ImDrawList
// [SECTION] ImDrawListSplitter
// [SECTION] ImDrawData
// [SECTION] Helpers ShadeVertsXXX functions
// [SECTION] ImFontConfig
// [SECTION] ImFontA... | C++ |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_dx9.h | .h | 1,420 | 27 | // dear imgui: Renderer Backend for DirectX9
// This needs to be used along with a Platform Backend (e.g. Win32)
// Implemented features:
// [X] Renderer: User texture binding. Use 'LPDIRECT3DTEXTURE9' as ImTextureID. Read the FAQ about ImTextureID!
// [X] Renderer: Multi-viewport support (multiple windows). Enable ... | Unknown |
3D | hku-mars/ImMesh | src/tools/imgui/imgui_impl_opengl3.cpp | .cpp | 43,733 | 911 | // dear imgui: Renderer Backend for modern OpenGL with shaders / programmatic pipeline
// - Desktop GL: 2.x 3.x 4.x
// - Embedded GL: ES 2.0 (WebGL 1.0), ES 3.0 (WebGL 2.0)
// This needs to be used along with a Platform Backend (e.g. GLFW, SDL, Win32, custom..)
// Implemented features:
// [X] Renderer: User texture b... | C++ |
3D | hku-mars/ImMesh | src/meshing/mesh_rec_display.hpp | .hpp | 879 | 16 | #pragma once
#include "tools/openGL_libs/glad.h"
#include "tools/openGL_libs/openGL_camera.hpp"
#include "shader/tools_my_texture_triangle_shader.h"
#include "shader/tools_my_camera_pose_shader.h"
#include "shader/tools_my_dbg_utility.h"
#include "shader/tools_my_point_shader.h"
#include "mesh_rec_geometry.hpp"
void i... | Unknown |
3D | hku-mars/ImMesh | src/meshing/mesh_rec_geometry.hpp | .hpp | 2,487 | 57 | #pragma once
#include <tbb/tbb.h>
#include <tbb/blocked_range.h>
#include <tbb/parallel_for.h>
#include <tbb/parallel_for_each.h>
#include "opencv2/opencv.hpp"
#include "pointcloud_rgbd.hpp"
#include "triangle.hpp"
#include <iostream>
#include <CGAL/IO/PLY.h>
#include "tools/tools_color_printf.hpp"
#include "tools... | Unknown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.