Skip to content

Instantly share code, notes, and snippets.

View pierceh89's full-sized avatar
🌊

H.An pierceh89

🌊
View GitHub Profile
@pierceh89
pierceh89 / PCL.md
Last active September 5, 2021 09:01 — forked from UnaNancyOwen/PCL1.10.0.md
Building PCL with Visual Studio
@pierceh89
pierceh89 / Boost1.55.0.md
Last active March 14, 2016 11:15 — forked from UnaNancyOwen/Boost1.55.0.md
Building Boost with Visual Studio
@pierceh89
pierceh89 / Eigen.md
Last active October 12, 2021 06:14 — forked from UnaNancyOwen/Eigen.md
Building Eigen with Visual Studio

Building Eigen with Visual Studio (비주얼 스투디오로 Eigen 빌드하는 법)

Eigen은 빌드 없이 include만 하면 쓸 수 있는 라이브러리이기 때문에 솔직히 이 방법이 필요하지 않은것 같지만 지정된 경로(Program files)에 카피하기 쉬운 방법인것같다.

Download

  1. Eigen 3.2.2(eigen-eigen-1306d75b4a21.zip)를 다운받아 압축을 푼다. latest-stable버전을 다운받아도 무방하다. http://eigen.tuxfamily.org/
    https://bitbucket.org/eigen/eigen/downloads/
@pierceh89
pierceh89 / FLANN.md
Last active November 22, 2015 17:29 — forked from UnaNancyOwen/FLANN1.8.4.md
Building FLANN with Visual Studio
@pierceh89
pierceh89 / QHull.md
Last active March 14, 2016 10:28 — forked from UnaNancyOwen/QHull.2012.1.md
Building QHull with Visual Studio

Building QHull with Visual Studio (비주얼 스투디오로 QHull 빌드하는 법)

Download

  1. QHull 2012.1 for Windows(qhull-2012.1.zip)를 다운로드하여 원하는 위치에 압축을 푼다. (예: C:\qhull-2012.1)
    http://www.qhull.org/download/

CMake

@pierceh89
pierceh89 / VTK5.md
Last active November 19, 2015 04:47 — forked from UnaNancyOwen/VTK5.md
Building VTK with Visual Studio
@pierceh89
pierceh89 / graph.h
Last active December 9, 2015 12:48
Integer weighted directed graph + Strongly Connected Components (SCC) implementation
#include <iostream>
#include <vector>
#include <map>
#include <string>
using namespace std;
extern unsigned int time;
// vertex data structure
// employs STL pair and vector to store adjacent list
@pierceh89
pierceh89 / pcd_converter.cpp
Last active January 30, 2019 07:31
Very simple converter from Wavefront obj to Point Cloud Data(PCD) format
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
#include <Eigen/Core>
#include <Eigen/Dense>
using std::string;
using std::vector;
@pierceh89
pierceh89 / permutation.cc
Created May 1, 2016 13:01
This code prints out all combinations of given string.
#include <iostream>
using namespace std;
void printAll(const char str[], char buf[], bool used[], int start, int end);
void printAll(const char str[]);
int main(int argc, char* argv[])
{
if(argc != 2)
{
@pierceh89
pierceh89 / combination.cc
Created May 1, 2016 17:29
This prints out all possible combination of the given string.
// print all combinations of string
#include <iostream>
#include <vector>
using namespace std;
void combinations(const char str[]);
void combinations(const char str[], char buf[], bool used[], int bufpos, int cur, int len);
void combinations(const char str[], vector<char>& buf, int start, int len);
int main(int argc, char* argv[])