|
Blender
V3.3
|
#include <reconstruction.h>
Public Member Functions | |
| EuclideanReconstruction () | |
| EuclideanReconstruction (const EuclideanReconstruction &other) | |
| Copy constructor. More... | |
| EuclideanReconstruction & | operator= (const EuclideanReconstruction &other) |
| void | InsertCamera (int image, const Mat3 &R, const Vec3 &t) |
| void | InsertPoint (int track, const Vec3 &X) |
| EuclideanCamera * | CameraForImage (int image) |
| Returns a pointer to the camera corresponding to image. More... | |
| const EuclideanCamera * | CameraForImage (int image) const |
| vector< EuclideanCamera > | AllCameras () const |
| Returns all cameras. More... | |
| EuclideanPoint * | PointForTrack (int track) |
| Returns a pointer to the point corresponding to track. More... | |
| const EuclideanPoint * | PointForTrack (int track) const |
| vector< EuclideanPoint > | AllPoints () const |
| Returns all points. More... | |
The EuclideanReconstruction class stores cameras and points .
The EuclideanReconstruction container is intended as the store of 3D reconstruction data to be used with the MultiView API.
The container has lookups to query a EuclideanCamera from an image or a EuclideanPoint from a track.
Definition at line 76 of file libmv/simple_pipeline/reconstruction.h.
| libmv::EuclideanReconstruction::EuclideanReconstruction | ( | ) |
Definition at line 27 of file libmv/simple_pipeline/reconstruction.cc.
| libmv::EuclideanReconstruction::EuclideanReconstruction | ( | const EuclideanReconstruction & | other | ) |
Copy constructor.
Definition at line 29 of file libmv/simple_pipeline/reconstruction.cc.
| vector< EuclideanCamera > libmv::EuclideanReconstruction::AllCameras | ( | ) | const |
Returns all cameras.
Definition at line 80 of file libmv/simple_pipeline/reconstruction.cc.
| vector< EuclideanPoint > libmv::EuclideanReconstruction::AllPoints | ( | ) | const |
Returns all points.
Definition at line 105 of file libmv/simple_pipeline/reconstruction.cc.
| EuclideanCamera * libmv::EuclideanReconstruction::CameraForImage | ( | int | image | ) |
Returns a pointer to the camera corresponding to image.
Definition at line 66 of file libmv/simple_pipeline/reconstruction.cc.
References image().
| const EuclideanCamera * libmv::EuclideanReconstruction::CameraForImage | ( | int | image | ) | const |
Definition at line 71 of file libmv/simple_pipeline/reconstruction.cc.
Insert a camera into the set. If there is already a camera for the given image, the existing camera is replaced. If there is no camera for the given image, a new one is added.
image is the key used to retrieve the cameras with the other methods in this class.
Definition at line 44 of file libmv/simple_pipeline/reconstruction.cc.
References camera, image(), LG, R, and t.
Referenced by libmv::EuclideanResect(), and libmv::ProjectiveResect().
Insert a point into the reconstruction. If there is already a point for the given track, the existing point is replaced. If there is no point for the given track, a new one is added.
track is the key used to retrieve the points with the other methods in this class.
Definition at line 57 of file libmv/simple_pipeline/reconstruction.cc.
| EuclideanReconstruction & libmv::EuclideanReconstruction::operator= | ( | const EuclideanReconstruction & | other | ) |
Definition at line 35 of file libmv/simple_pipeline/reconstruction.cc.
| EuclideanPoint * libmv::EuclideanReconstruction::PointForTrack | ( | int | track | ) |
Returns a pointer to the point corresponding to track.
Definition at line 89 of file libmv/simple_pipeline/reconstruction.cc.
Referenced by libmv::EuclideanResect(), and libmv::ProjectiveResect().
| const EuclideanPoint * libmv::EuclideanReconstruction::PointForTrack | ( | int | track | ) | const |
Definition at line 94 of file libmv/simple_pipeline/reconstruction.cc.