Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colmap/colmap
/ ViewingDirection
Method
ViewingDirection
src/colmap/scene/image.cc:123–125 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
121
}
122
123
Eigen::Vector3d Image::ViewingDirection() const {
124
return CamFromWorld().rotation().toRotationMatrix().row(2);
125
}
126
127
std::optional<Eigen::Vector2d> Image::ProjectPoint(
128
const Eigen::Vector3d& point3D) const {
Callers
2
TEST
Function · 0.80
CreateTwoViewGeometryPoseTestData
Function · 0.80
Calls
1
rotation
Method · 0.45
Tested by
2
TEST
Function · 0.64
CreateTwoViewGeometryPoseTestData
Function · 0.64