refactored code and start work on streaming.

This commit is contained in:
Jordan
2024-03-13 09:02:11 -07:00
parent 5d05c42411
commit cc317d0d24
9 changed files with 191 additions and 85 deletions

25
src/streamingview.hpp Normal file
View File

@ -0,0 +1,25 @@
#include <archives/binary.hpp>
#include <openMVG/sfm/sfm_view.hpp>
#include <stdio.h>
#include "frame.h"
typedef openMVG::sfm::View View;
namespace libdart_openmvg
{
struct StreamingView : View
{
private:
const Frame *mFrame;
public:
StreamingView(const Frame *frame) : mFrame(frame), View () {}
template <class Archive>
void save(cereal::BinaryInputArchive &) const;
template <class Archive>
void load(cereal::BinaryOutputArchive &) const;
};
}