MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / setIrCameraParams

Method setIrCameraParams

src/libfreenect2.cpp:718–728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

716}
717
718void Freenect2DeviceImpl::setIrCameraParams(const Freenect2Device::IrCameraParams &params)
719{
720 ir_camera_params_ = params;
721 DepthPacketProcessor *proc = pipeline_->getDepthPacketProcessor();
722 if (proc != 0)
723 {
724 IrCameraTables tables(params);
725 proc->loadXZTables(&tables.xtable[0], &tables.ztable[0]);
726 proc->loadLookupTable(&tables.lut[0]);
727 }
728}
729
730Freenect2Device::Config::Config() :
731 MinDepth(0.5f),

Callers

nothing calls this directly

Calls 3

loadXZTablesMethod · 0.45
loadLookupTableMethod · 0.45

Tested by

no test coverage detected