refactored code and start work on streaming.
This commit is contained in:
25
src/streamingview.hpp
Normal file
25
src/streamingview.hpp
Normal 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;
|
||||
};
|
||||
|
||||
}
|
Reference in New Issue
Block a user