MCPcopy Create free account
hub / github.com/colmap/colmap / EigenToQMatrix

Function EigenToQMatrix

src/colmap/ui/qt_utils.cc:47–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47QMatrix4x4 EigenToQMatrix(const Eigen::Matrix4f& matrix) {
48 QMatrix4x4 qt;
49 for (size_t r = 0; r < 4; ++r) {
50 for (size_t c = 0; c < 4; ++c) {
51 qt(r, c) = matrix(r, c);
52 }
53 }
54 return qt;
55}
56
57QImage BitmapToQImageRGB(const Bitmap& bitmap) {
58 QImage image(bitmap.Width(), bitmap.Height(), QImage::Format_RGB32);

Callers 1

AssembleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected