-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7ab9b7b
Showing
31 changed files
with
12,368 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
COLCON_IGNORE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
cmake_minimum_required(VERSION 3.13) | ||
project(sogmm_open3d | ||
VERSION 0.0.0 | ||
DESCRIPTION | ||
"SOGMM Open3D" | ||
LANGUAGES CXX C) | ||
|
||
set(CMAKE_CXX_STANDARD 17) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON) | ||
set(CMAKE_CXX_FLAGS "-std=c++17 -march=native -O3 -fopenmp -lstdc++fs") | ||
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW) | ||
|
||
find_package(pybind11 REQUIRED) | ||
find_package(Open3D REQUIRED) | ||
find_package(Eigen3 3.4 REQUIRED) | ||
find_package(self_organizing_gmm REQUIRED) | ||
find_package(GSL REQUIRED) | ||
find_package(CUDA REQUIRED) | ||
|
||
add_executable(sogmm_test src/tests/sogmm_test.cpp) | ||
target_include_directories(sogmm_test | ||
PRIVATE | ||
include | ||
${sogmm_INCLUDE_DIR} | ||
${GSL_INCLUDE_DIRS} | ||
${CUDA_INCLUDE_DIRS} | ||
) | ||
target_link_libraries( | ||
sogmm_test | ||
PRIVATE stdc++fs | ||
PRIVATE ${GSL_LIBRARIES} | ||
PRIVATE Eigen3::Eigen | ||
PRIVATE Open3D::Open3D | ||
) | ||
set_target_properties(sogmm_test PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_INSTALL_PREFIX}) | ||
|
||
pybind11_add_module(sogmm_open3d_py src/sogmm_open3d_py.cpp) | ||
target_include_directories(sogmm_open3d_py | ||
PRIVATE | ||
include | ||
${sogmm_INCLUDE_DIR} | ||
${GSL_INCLUDE_DIRS} | ||
${CUDA_INCLUDE_DIRS} | ||
) | ||
target_link_libraries( | ||
sogmm_open3d_py | ||
PRIVATE stdc++fs | ||
PRIVATE ${GSL_LIBRARIES} | ||
PRIVATE Eigen3::Eigen | ||
PRIVATE Open3D::Open3D | ||
) | ||
set_target_properties(sogmm_open3d_py PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_INSTALL_PREFIX}) | ||
|
||
pybind11_add_module(gmm_open3d_py src/gmm_open3d_py.cpp) | ||
target_include_directories(gmm_open3d_py | ||
PRIVATE | ||
include | ||
${sogmm_INCLUDE_DIR} | ||
${GSL_INCLUDE_DIRS} | ||
${CUDA_INCLUDE_DIRS} | ||
) | ||
target_link_libraries( | ||
gmm_open3d_py | ||
PRIVATE stdc++fs | ||
PRIVATE ${GSL_LIBRARIES} | ||
PRIVATE Eigen3::Eigen | ||
PRIVATE Open3D::Open3D | ||
) | ||
set_target_properties(gmm_open3d_py PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_INSTALL_PREFIX}) | ||
|
||
pybind11_add_module(time_profiler_py src/time_profiler_py.cpp) | ||
target_include_directories(time_profiler_py | ||
PRIVATE | ||
include | ||
${sogmm_INCLUDE_DIR} | ||
${CUDA_INCLUDE_DIRS} | ||
) | ||
target_link_libraries( | ||
time_profiler_py | ||
PRIVATE stdc++fs | ||
) | ||
set_target_properties(time_profiler_py PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_INSTALL_PREFIX}) | ||
|
||
pybind11_add_module(kinit_open3d_py src/kinit_open3d_py.cpp) | ||
target_include_directories(kinit_open3d_py | ||
PRIVATE | ||
include | ||
${sogmm_INCLUDE_DIR} | ||
${CUDA_INCLUDE_DIRS} | ||
) | ||
target_link_libraries( | ||
kinit_open3d_py | ||
PRIVATE stdc++fs | ||
PRIVATE Eigen3::Eigen | ||
PRIVATE Open3D::Open3D | ||
) | ||
set_target_properties(kinit_open3d_py PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_INSTALL_PREFIX}) | ||
|
||
install(TARGETS DESTINATION ${CMAKE_INSTALL_PREFIX}) | ||
|
||
install(DIRECTORY include/${PROJECT_NAME}/ | ||
DESTINATION "include/${PROJECT_NAME}" | ||
FILES_MATCHING PATTERN "*.h" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
BSD 3-Clause License | ||
|
||
Copyright (c) 2023, Kshitij Goel, Wennie Tabib | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
|
||
1. Redistributions of source code must retain the above copyright notice, this | ||
list of conditions and the following disclaimer. | ||
|
||
2. Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
|
||
3. Neither the name of the copyright holder nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | ||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Self-Organizing Gaussian Mixture Models | ||
|
||
Please see the meta-package https://github.com/gira3d/gira3d-reconstruction for detailed documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "sogmm_open3d", | ||
"dependencies": { | ||
"open3d_colcon", | ||
"self_organizing_gmm" | ||
}, | ||
"hooks": [] | ||
} |
Oops, something went wrong.