Skip to content

andreosse1/example_PCL_1-4-0

 
 

Repository files navigation

OVERVIEW

Another attempt to use the pointclouds in openFrameworks 

previous efforts 
https://github.com/jvcleave/PCL_1-3-0_Libraries_for_OF 
https://github.com/jvcleave/PCL_1-3-0_OF_Examples

Fork/use this at your own peril - it is quite large and I ultimately would like to get it into the format of PCL_1-3-0_Libraries_for_OF
However this is working with the latest OpenNI (if installed on the system) and may be helpful for someone trying to do something similar.


NOTES

Created using the PCL-1.4.0 source
http://dev.pointclouds.org/attachments/download/610/PCL-1.4.0-Source.tar.bz2

Changes to source 
 - renamed pcl/common/time.h in the source to pcl/common/pcl_common_time.h to avoid conflicts
 - changed references to <GL/gl.h> to <OpenGL/gl.h>
 - changed references to <GL/glut.h> to <GLUT/glut.h>
 

REQUIREMENTS
libusb to be installed via OpenNI instructions 
https://github.com/OpenNI/OpenNI/blob/master/README


OpenNI 1.5.2.23
Sensor-Bin-MacOSX-v5.1.0.41

Binaries should be fine
http://www.openni.org/Downloads/OpenNIModules.aspx

SensorKinect https://github.com/avin2/SensorKinect

If you install Nite I recommend you do it last (particularly after the Sensor installs). This may be a known process but I didn't figure it out until multiple head-to-desk contacts.

Almost all of the project paths, etc are in Project.xcconfig if you want to use your own libraries

If you get a "OpenNi Error, No file found!" copy

COPY_CONTENTS_TO_etc/openni

to /etc (so it will be /etc/openni)

TODO:
Break out PCL, VTK, Boost, etc into seperate xcconfig files (Project.xcconfig is a rat's nest)

Break out PCL into a seperate Xcode project to be included (much like OF)

Try self-contained OpenNI libs similar to gameoverhack's versions in ofxOpenNI

About

PCL 1-4-0 in openFrameworks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 75.2%
  • C 21.0%
  • Objective-C 0.9%
  • Tcl 0.8%
  • Fortran 0.7%
  • Python 0.3%
  • Other 1.1%