10#ifndef MVE_BUNDLE_HEADER
11#define MVE_BUNDLE_HEADER
53 std::vector<Feature2D>
refs;
55 bool contains_view_id (
int id)
const;
59 typedef std::shared_ptr<Bundle>
Ptr;
60 typedef std::shared_ptr<Bundle const>
ConstPtr;
65 static Ptr create (
void);
68 Cameras const& get_cameras (
void)
const;
72 Features const& get_features (
void)
const;
76 std::size_t get_byte_size (
void)
const;
78 std::size_t get_num_cameras (
void)
const;
80 std::size_t get_num_valid_cameras (
void)
const;
84 void delete_camera (std::size_t index);
108Bundle::get_cameras (
void)
const
110 return this->cameras;
114Bundle::get_cameras (
void)
116 return this->cameras;
120Bundle::get_features (
void)
const
122 return this->features;
126Bundle::get_features (
void)
128 return this->features;
A simple data structure to represent bundle files.
std::vector< Feature3D > Features
std::vector< CameraInfo > Cameras
std::shared_ptr< Bundle > Ptr
std::shared_ptr< Bundle const > ConstPtr
std::shared_ptr< TriangleMesh > Ptr
#define MVE_NAMESPACE_BEGIN
#define MVE_NAMESPACE_END
Representation of a 2D feature.
Representation of a 3D feature with position and color.
std::vector< Feature2D > refs
References to views that see the feature.