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

Method setConfiguration

src/opengl_depth_packet_processor.cpp:899–908  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

897
898
899void OpenGLDepthPacketProcessor::setConfiguration(const libfreenect2::DepthPacketProcessor::Config &config)
900{
901 DepthPacketProcessor::setConfiguration(config);
902 impl_->config = config;
903
904 impl_->params.min_depth = impl_->config.MinDepth * 1000.0f;
905 impl_->params.max_depth = impl_->config.MaxDepth * 1000.0f;
906
907 impl_->params_need_update = true;
908}
909
910void OpenGLDepthPacketProcessor::loadP0TablesFromCommandResponse(unsigned char* buffer, size_t buffer_length)
911{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected