Although sample code is provided by TI for the GUI control application running on QT, this code is complicated and not a great starting point for creating a simple command line initialization application. So I've extracted out the key bits for initializing the LCr4500 along with setting it into particular structured light and video modes using HDMI video sources.
You can clone the project at:
https://github.com/jaybo/LightCrafter4500.git
The code links to Windows-only DLLs but shouldn't be too hard to port elsewhere. To change into your own particular mode, look at the function LCr_StructuredLightMode() in LCr4500Init.cpp for inspiration.
Enjoy,
Jay