I use a ToF (Time of Flight) camera to obtain depth data in XYZ format.
For visualization purpose as a 3D point cloud, I want to use the APIs provided by open source PCL
pcl::PointXYZ
as the point type for all functions.#include
the PCL headers that remain in their installed location, and you link in the PCL lib files, (see 1 above.)Make sure you match release libraries with a release build and debug libraries with a debug build. Make sure you're building either for Win32 or x64 depending on which pre-installed binary you installed.