MVE - Multi-View Environment mve-devel
|
A simple data structure to represent bundle files. More...
#include <bundle.h>
Classes | |
struct | Feature2D |
Representation of a 2D feature. More... | |
struct | Feature3D |
Representation of a 3D feature with position and color. More... | |
Public Types | |
typedef std::vector< CameraInfo > | Cameras |
typedef std::shared_ptr< Bundle const > | ConstPtr |
typedef std::vector< Feature3D > | Features |
typedef std::shared_ptr< Bundle > | Ptr |
Public Member Functions | |
void | delete_camera (std::size_t index) |
Deletes a camera from the data structure fixing references. | |
std::size_t | get_byte_size (void) const |
Returns the number of bytes required by this bundle. | |
Cameras & | get_cameras (void) |
Returns all (possibly invalid) cameras (check focal length). | |
Cameras const & | get_cameras (void) const |
Returns all (possibly invalid) cameras (check focal length). | |
Features & | get_features (void) |
Returns the list of 3D features points. | |
Features const & | get_features (void) const |
Returns the list of 3D features points. | |
TriangleMesh::Ptr | get_features_as_mesh (void) const |
Returns all 3D features as colored set of points. | |
std::size_t | get_num_cameras (void) const |
Returns the number of cameras including invalid cameras. | |
std::size_t | get_num_valid_cameras (void) const |
Returns the number of cameras excluding inavlid cameras. | |
Static Public Member Functions | |
static Ptr | create (void) |
Protected Member Functions | |
Bundle (void) | |
A simple data structure to represent bundle files.
A bundle file contains a set of cameras and a 3D feature points. Every feature is associated with cameras that observe the feature.
typedef std::vector<CameraInfo> mve::Bundle::Cameras |
typedef std::shared_ptr<Bundle const> mve::Bundle::ConstPtr |
typedef std::vector<Feature3D> mve::Bundle::Features |
typedef std::shared_ptr<Bundle> mve::Bundle::Ptr |
|
inlinestatic |
void mve::Bundle::delete_camera | ( | std::size_t | index | ) |
std::size_t mve::Bundle::get_byte_size | ( | void | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
TriangleMesh::Ptr mve::Bundle::get_features_as_mesh | ( | void | ) | const |
std::size_t mve::Bundle::get_num_cameras | ( | void | ) | const |
std::size_t mve::Bundle::get_num_valid_cameras | ( | void | ) | const |