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

Method copyTo

src/cpu_depth_packet_processor.cpp:176–180  ·  view source on GitHub ↗

* Copy image data to the provided matrix. * @param other Destination to copy to. */

Source from the content-addressed store, hash-verified

174 * @param other Destination to copy to.
175 */
176 void copyTo(Mat<ScalarT> &other) const
177 {
178 other.create(height(), width());
179 std::copy(buffer_, buffer_end_, other.buffer_);
180 }
181
182 /**
183 * Get the image data at the requested point \a x, \a y.

Callers 2

flipHorizontalFunction · 0.80

Calls 2

copyFunction · 0.85
createMethod · 0.80

Tested by

no test coverage detected