Skip to content

Instantly share code, notes, and snippets.

Tsukasa Sugiura UnaNancyOwen

View GitHub Profile
@UnaNancyOwen
UnaNancyOwen / OpenCV2.props
Last active Aug 29, 2015
Property Sheet for OpenCV 2.x
View OpenCV2.props
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets"/>
<!-- Debug|Win32 -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
@UnaNancyOwen
UnaNancyOwen / openNURBS.md
Last active Aug 29, 2015
Building openNURBS with Visual Studio
View openNURBS.md

Building openNURBS with Visual Studio

Download

  1. C++ openNURBS SDK(opennurbs_20130711.zip)をダウンロードしてファイルを解凍する。(C:\opennurbs_20130711)
    ダウンロードにはメールアドレスを入力する必要がある。
    http://www.rhino3d.com/opennurbs

Build

@UnaNancyOwen
UnaNancyOwen / KinectSDK.props
Created Sep 21, 2014
Property Sheet for Kinect for Windows SDK v1
View KinectSDK.props
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets"/>
<!-- Debug|Win32 -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
@UnaNancyOwen
UnaNancyOwen / CustomGrabber.cpp
Last active Aug 29, 2015
Retrieve Body(Joint) from Kinect v2 using the CustomGrabber that inherit Kinect2Grabber
View CustomGrabber.cpp
namespace pcl{
class CustomGrabber : public pcl::Kinect2Grabber
{
public:
CustomGrabber()
: source( nullptr )
, reader( nullptr )
{
result = sensor->get_BodyFrameSource( &source );
if( FAILED( result ) ){
@UnaNancyOwen
UnaNancyOwen / CMakeLists.txt
Last active Dec 1, 2015
CMakeLists.txt for PCL + Kinect2Grabber
View CMakeLists.txt
# CMake
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
# Solution
project(solution)
# Project
set(HEADER kinect2_grabber.h)
set(SOURCE main.cpp)
add_executable(project ${HEADER} ${SOURCE})
@UnaNancyOwen
UnaNancyOwen / OpenMP.props
Created Jan 8, 2016
Property Sheet for OpenMP
View OpenMP.props
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets"/>
<!-- All Configurations|All Platforms -->
<ItemDefinitionGroup>
<ClCompile>
<OpenMPSupport>true</OpenMPSupport>
</ClCompile>
@UnaNancyOwen
UnaNancyOwen / KinectSDK2.props
Created Oct 31, 2014
Property Sheet for Kinect for Windows SDK v2
View KinectSDK2.props
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets"/>
<!-- Debug|Win32 -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
@UnaNancyOwen
UnaNancyOwen / MultipleWindow.cpp
Last active Mar 8, 2016
Drawing the Point Cloud on Multiple Windows using PCLVisualizer
View MultipleWindow.cpp
#include "stdafx.h"
#include <array>
#include <string>
// Disable Error C4996 that occur when using Boost.Signals2.
#ifdef _DEBUG
#define _SCL_SECURE_NO_WARNINGS
#endif
#include "kinect2_grabber.h"
View RemoteDesktop.bat
set CLASSPATH=%CD%
java -jar moonlight-win32.jar -host <Host Name or IP Address> -app "<App Name>" -fs -1080 -60fps
@UnaNancyOwen
UnaNancyOwen / PCLVisualizer1.cpp
Last active May 19, 2016
Drawing the Point Cloud using PCLVisualizer with Kinect v1 Grabber
View PCLVisualizer1.cpp
#include "stdafx.h"
// Disable Error C4996 that occur when using Boost.Signals2.
#ifdef _DEBUG
#define _SCL_SECURE_NO_WARNINGS
#endif
#include "kinect_grabber.h"
#include <pcl/visualization/pcl_visualizer.h>
You can’t perform that action at this time.