| 878 | |
| 879 | |
| 880 | void pcl::io::OpenNI2Grabber::processDepthFrame (openni::VideoStream& stream) |
| 881 | { |
| 882 | openni::VideoFrameRef frame; |
| 883 | stream.readFrame (&frame); |
| 884 | FrameWrapper::Ptr frameWrapper(new Openni2FrameWrapper(frame)); |
| 885 | |
| 886 | float focalLength = device_->getDepthFocalLength (); |
| 887 | |
| 888 | float baseline = device_->getBaseline(); |
| 889 | std::uint64_t no_sample_value = device_->getShadowValue(); |
| 890 | std::uint64_t shadow_value = no_sample_value; |
| 891 | |
| 892 | DepthImage::Ptr image (new DepthImage (frameWrapper, baseline, focalLength, shadow_value, no_sample_value)); |
| 893 | |
| 894 | depthCallback (image, nullptr); |
| 895 | } |
| 896 | |
| 897 | |
| 898 | void pcl::io::OpenNI2Grabber::processIRFrame (openni::VideoStream& stream) |
nothing calls this directly
no test coverage detected