Skip to content

Instantly share code, notes, and snippets.

@antimodular
Created March 17, 2016 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antimodular/75abe99baacb3aee0dab to your computer and use it in GitHub Desktop.
Save antimodular/75abe99baacb3aee0dab to your computer and use it in GitHub Desktop.
OF 0.9.x and PCL attempts
#pragma once
//this is ofApp.h
#include "ofMain.h"
//taken from ofxPCL.h file
// file io
#include <pcl/io/pcd_io.h>
// transform
#include <pcl/common/transforms.h>
// thresold
#include <pcl/filters/passthrough.h>
// outlier removal
#include <pcl/filters/statistical_outlier_removal.h>
#include <pcl/filters/radius_outlier_removal.h>
// segmentation
#include <pcl/sample_consensus/model_types.h>
// downsample
#include <pcl/filters/voxel_grid.h>
// segmentation
#include <pcl/ModelCoefficients.h>
#include <pcl/segmentation/sac_segmentation.h>
#include <pcl/sample_consensus/method_types.h>
#include <pcl/filters/extract_indices.h>
// cluster extraction
#include <pcl/sample_consensus/model_types.h>
#include <pcl/segmentation/extract_clusters.h>
// triangulate
#include <pcl/features/normal_3d.h>
#include <pcl/surface/gp3.h>
#include <pcl/surface/grid_projection.h>
#include <pcl/Vertices.h>
// mls
#include <pcl/surface/mls.h>
#include <pcl/io/pcd_io.h>
#include <pcl/surface/organized_fast_mesh.h>
#include <pcl/features/integral_image_normal.h>
//taken from ofxPCL utility.h file
#include <pcl/common/io.h>
//taken from types.h file
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
//taken from tree.h
// octree
#include <pcl/octree/octree.h>
// kdtree
#include <pcl/search/pcl_search.h>
class ofApp : public ofBaseApp{
public:
void setup();
void update();
void draw();
void keyPressed(int key);
};
@stephanschulz
Copy link

after trying to build a new version that used kinectv2 and ofxpcl i got the following build.
but i forgot to build setting->set to target-> general tab -> linked frameworks and libraries
screen shot 2016-08-20 at 9 42 57 am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment