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

Method IrStream

src/openni2/IrStream.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35const float IrStream::VERTICAL_FOV = 45.6 * (M_PI / 180);
36
37IrStream::IrStream(Device* driver_dev, libfreenect2::Freenect2Device* pDevice, Freenect2Driver::Registration *reg) : VideoStream(driver_dev, pDevice, reg)
38{
39 video_mode = makeOniVideoMode(ONI_PIXEL_FORMAT_GRAY16, 512, 424, 30);
40 setVideoMode(video_mode);
41}
42
43// Add video modes here as you implement them
44IrStream::VideoModeMap IrStream::getSupportedVideoModes() const

Callers

nothing calls this directly

Calls 1

makeOniVideoModeFunction · 0.85

Tested by

no test coverage detected