Blender V5.0
EuclideanReconstruction Class Reference

#include <reconstruction.h>

Public Member Functions

 EuclideanReconstruction ()
 EuclideanReconstruction (const EuclideanReconstruction &other)
 Copy constructor.
EuclideanReconstructionoperator= (const EuclideanReconstruction &other)
void InsertCamera (int image, const Mat3 &R, const Vec3 &t)
void InsertPoint (int track, const Vec3 &X)
EuclideanCameraCameraForImage (int image)
 Returns a pointer to the camera corresponding to image.
const EuclideanCameraCameraForImage (int image) const
vector< EuclideanCameraAllCameras () const
 Returns all cameras.
EuclideanPointPointForTrack (int track)
 Returns a pointer to the point corresponding to track.
const EuclideanPointPointForTrack (int track) const
vector< EuclideanPointAllPoints () const
 Returns all points.

Detailed Description

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.

See also
Camera, Point

Definition at line 76 of file libmv/simple_pipeline/reconstruction.h.

Constructor & Destructor Documentation

◆ EuclideanReconstruction() [1/2]

◆ EuclideanReconstruction() [2/2]

Member Function Documentation

◆ AllCameras()

◆ AllPoints()

◆ CameraForImage() [1/2]

Returns a pointer to the camera corresponding to image.

Definition at line 66 of file libmv/simple_pipeline/reconstruction.cc.

◆ CameraForImage() [2/2]

◆ InsertCamera()

void libmv::EuclideanReconstruction::InsertCamera ( int image,
const Mat3 & R,
const Vec3 & t )

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.

Note
You should use the same image identifier as in Tracks.

Definition at line 44 of file libmv/simple_pipeline/reconstruction.cc.

◆ InsertPoint()

void libmv::EuclideanReconstruction::InsertPoint ( int track,
const Vec3 & X )

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.

Note
You should use the same track identifier as in Tracks.

Definition at line 57 of file libmv/simple_pipeline/reconstruction.cc.

◆ operator=()

EuclideanReconstruction & libmv::EuclideanReconstruction::operator= ( const EuclideanReconstruction & other)

Definition at line 35 of file libmv/simple_pipeline/reconstruction.cc.

◆ PointForTrack() [1/2]

Returns a pointer to the point corresponding to track.

Definition at line 89 of file libmv/simple_pipeline/reconstruction.cc.

◆ PointForTrack() [2/2]


The documentation for this class was generated from the following files: