23 lines
441 B
C++
23 lines
441 B
C++
#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:
|
|
Frame *mFrame;
|
|
|
|
public:
|
|
StreamingView(Frame *frame) : mFrame(frame), View () {}
|
|
void save(cereal::BinaryOutputArchive &) const;
|
|
void load(cereal::BinaryInputArchive &) const;
|
|
};
|
|
|
|
} |