| 66 | } |
| 67 | |
| 68 | VideoStream* getStream(libfreenect2::Frame::Type type) |
| 69 | { |
| 70 | if (type == libfreenect2::Frame::Depth) |
| 71 | return depth; |
| 72 | if (type == libfreenect2::Frame::Ir) |
| 73 | return ir; |
| 74 | if (type == libfreenect2::Frame::Color) |
| 75 | return color; |
| 76 | return NULL; |
| 77 | } |
| 78 | |
| 79 | void run() |
| 80 | { |
nothing calls this directly
no outgoing calls
no test coverage detected