MCPcopy 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
123Eigen::Vector3d Image::ViewingDirection() const {
124 return CamFromWorld().rotation().toRotationMatrix().row(2);
125}
126
127std::optional<Eigen::Vector2d> Image::ProjectPoint(
128 const Eigen::Vector3d& point3D) const {

Callers 2

TESTFunction · 0.80

Calls 1

rotationMethod · 0.45

Tested by 2

TESTFunction · 0.64