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
cmake_minimum_required( VERSION 2.8 ) | |
# Create Project | |
project( solution ) | |
add_executable( project main.cpp ) | |
# Set StartUp Project (Option) | |
# (This setting is able to enable by using CMake 3.6.0 RC1 or later.) | |
set_property( DIRECTORY PROPERTY VS_STARTUP_PROJECT "project" ) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
cmake_minimum_required( VERSION 2.8 ) | |
# Create Project | |
project( solution ) | |
add_executable( project main.cpp ) | |
# Set StartUp Project (Option) | |
# (This setting is able to enable by using CMake 3.6.0 RC1 or later.) | |
set_property( DIRECTORY PROPERTY VS_STARTUP_PROJECT "project" ) |
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
#.rst: | |
# FindOrbbecSDK | |
# --------- | |
# | |
# Find Orbbec SDK include dirs, and libraries. | |
# | |
# IMPORTED Targets | |
# ^^^^^^^^^^^^^^^^ | |
# | |
# This module defines the :prop_tgt:`IMPORTED` targets: |
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
cmake_minimum_required( VERSION 3.6 ) | |
# Language | |
enable_language( CXX ) | |
# Compiler Settings | |
set( CMAKE_CXX_STANDARD 17 ) | |
set( CMAKE_CXX_STANDARD_REQUIRED ON ) | |
set( CMAKE_CXX_EXTENSIONS OFF ) |
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
if( !cloud->empty() ){ | |
// Create cv::Mat | |
image = cv::Mat( cloud->height, cloud->width, CV_8UC4 ); | |
// pcl::PointCloud to cv::Mat | |
#pragma omp parallel for | |
for( int y = 0; y < image.rows; y++ ) { | |
for( int x = 0; x < image.cols; x++ ) { | |
pcl::PointXYZRGBA point = cloud->at( x, y ); | |
image.at<cv::Vec4b>( y, x )[0] = point.b; |
- Eigen 3.2.2(eigen-eigen-1306d75b4a21.zip)をダウンロードしてファイルを解凍する。(C:\eigen-eigen-1306d75b4a21)
http://eigen.tuxfamily.org/
https://bitbucket.org/eigen/eigen/downloads/
-
RealSense SDK 2.10.1 (librealsense-2.10.1.zip)をダウンロードしてファイルを解凍する。(C:\librealsense-2.10.1)
https://github.com/IntelRealSense/librealsense/releases/tag/v2.10.1 -
以下の変更を適用する。(Pull Request #1262)
Add BUILD_WITH_STATIC_CRT option #1262 | librealsense
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
cmake_minimum_required( VERSION 3.6 ) | |
# Language | |
enable_language( CXX ) | |
# Compiler Settings | |
set( CMAKE_CXX_STANDARD 17 ) | |
set( CMAKE_CXX_STANDARD_REQUIRED ON ) | |
set( CMAKE_CXX_EXTENSIONS OFF ) |