Created
March 17, 2016 14:47
-
-
Save antimodular/75abe99baacb3aee0dab to your computer and use it in GitHub Desktop.
OF 0.9.x and PCL attempts
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
#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); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
strange compile error:
dyld: Library not loaded: /usr/local/lib/libvtkDomainsChemistry-6.3.1.dylib
Referenced from: /usr/local/opt/pcl/lib/libpcl_cc_tool_normal_estimation.1.7.dylib
Reason: image not found
which is strange because /usr/local/lib/ already has a lot of vtk stuff in it.
even libvtkDomainsChemistry-7.0.1.dylib and libvtkDomainsChemistry-7.0.dylib
but no 6.3.1
so i tried to remove all vtk stuff by doing
brew uninstall vtk
brew uninstall pcl
and then build pcl as suggested here:
http://www.pointclouds.org/documentation/tutorials/installing_homebrew.php
brew install pcl --without-apps --without-tools --without-vtk --without-qt
now the compile error is a bit different but still looks for libvtkDomainsChemistry-6.3.1.dylib
dyld: Library not loaded: /usr/local/lib/libvtkDomainsChemistry-6.3.1.dylib
Referenced from: /usr/local/opt/pcl/lib/libpcl_io.1.7.dylib
Reason: image not found