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

Method setConfiguration

src/cpu_depth_packet_processor.cpp:816–824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

814}
815
816void CpuDepthPacketProcessor::setConfiguration(const libfreenect2::DepthPacketProcessor::Config &config)
817{
818 DepthPacketProcessor::setConfiguration(config);
819
820 impl_->params.min_depth = config.MinDepth * 1000.0f;
821 impl_->params.max_depth = config.MaxDepth * 1000.0f;
822 impl_->enable_bilateral_filter = config.EnableBilateralFilter;
823 impl_->enable_edge_filter = config.EnableEdgeAwareFilter;
824}
825
826/**
827 * Load p0 tables from a command response,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected