EasyMVS
simple 3D reconstruction framework
|
DualCamera Photographer class. More...
#include <DualPhotographer.h>
Public Types | |
using | Ptr = std::shared_ptr< DualPhotographer > |
Public Types inherited from PinholePhotographer | |
using | Ptr = std::shared_ptr< PinholePhotographer > |
Public Types inherited from Photographer | |
using | Ptr = std::shared_ptr< Photographer > |
Photographer shared pointer type. | |
Public Types inherited from WorkFlowObject | |
using | DataQueue = std::queue< DataFlowObject::Ptr > |
using | Ptr = std::shared_ptr< WorkFlowObject > |
shared pointer of WorkFlowObject | |
Public Member Functions | |
DualPhotographer (std::initializer_list< CameraObject::Ptr > Cameras) | |
bool | Compute (std::vector< FrameObject::Ptr > &Frames) override |
bool | clear () override |
clear the parameters of the flow, and deinitialize the flow More... | |
Public Member Functions inherited from PinholePhotographer | |
PinholePhotographer (std::initializer_list< CameraObject::Ptr > Cameras) | |
bool | Compute (std::vector< FrameObject::Ptr > &Frames) override |
take a photo with given cameras More... | |
Public Member Functions inherited from Photographer | |
Photographer () | |
Construct a new Photographer object. | |
Photographer (CameraObject::Ptr Camera) | |
Construct a new Photographer object with one camera. More... | |
Photographer (std::initializer_list< CameraObject::Ptr > Cameras) | |
Construct a new Photographer object with multiple cameras. More... | |
virtual | ~Photographer () |
Destroy the Photographer object. | |
std::string | type_name () override |
Get the Flow Name. More... | |
virtual bool | Compute (std::vector< FrameObject::Ptr > &Frames) |
take a photo with given cameras More... | |
virtual bool | clear () override |
clear the parameters of the flow, and deinitialize the flow More... | |
virtual bool | save (JsonNode &fs) override |
save data and settings to file More... | |
virtual bool | load (JsonNode &fs) override |
load data and settings from file More... | |
Public Member Functions inherited from WorkFlowObject | |
WorkFlowObject () | |
Construct a new Work Flow Object object. | |
virtual | ~WorkFlowObject () |
Destroy the Work Flow Object object. | |
virtual bool | clear ()=0 |
clear the workflow state, the workflow should be re-init after clear. More... | |
virtual bool | isInit () |
check if the workflow is inited More... | |
Public Member Functions inherited from MVSObject | |
MVSObject () | |
Construct a new MVSObject object. | |
virtual | ~MVSObject () |
Destroy the MVSObject object. | |
virtual bool | save (JsonNode &fs)=0 |
save data and settings to file More... | |
virtual bool | load (JsonNode &fs)=0 |
load data and settings from file More... | |
virtual std::string | type_name () |
get the typename. More... | |
Static Public Member Functions | |
static DualPhotographer::Ptr | Create (std::initializer_list< CameraObject::Ptr > Cameras) |
Static Public Member Functions inherited from PinholePhotographer | |
static PinholePhotographer::Ptr | Create (GlobalMapObject::Ptr Map, std::initializer_list< CameraObject::Ptr > Cameras) |
Static Public Member Functions inherited from Photographer | |
static Photographer::Ptr | Create (GlobalMapObject::Ptr Map, std::initializer_list< CameraObject::Ptr > Cameras) |
create shared pointer of Photographer More... | |
Additional Inherited Members | |
Public Slots inherited from PinholePhotographer | |
void | Trigger () override |
void | Trigger (Photographer::DataQueue data) override |
Public Slots inherited from Photographer | |
void | Trigger () override |
void | Trigger (Photographer::DataQueue data) |
Public Slots inherited from WorkFlowObject | |
virtual void | Trigger ()=0 |
trigger one work load of the workflow with preload input and output settings. | |
virtual void | Trigger (DataQueue data)=0 |
trigger one work load of the workflow with input data. More... | |
Signals inherited from WorkFlowObject | |
void | Finished (DataQueue) |
the current work load of the workflow is finished, and the processeed data pointer is stored in the queue, the workflow can be assigned to new work load with trigger() method More... | |
void | Finished () |
the current work load of the workflow is finished, the workflow can be assigned to new work load with trigger() method | |
void | Failed () |
the current work failed. | |
void | Error (std::string error) |
emit error message More... | |
void | Progress (int progress) |
emit percentage of the work load 0-100 More... | |
void | Warning (std::string warning) |
emit warning output message More... | |
void | Info (std::string info) |
emit information output message More... | |
Protected Types inherited from Photographer | |
using | CameraGroup = std::tuple< CameraObject::Ptr, Sophus::SE3d > |
Protected Member Functions inherited from MVSObject | |
bool | isDirExist (std::string path) |
check if the directory is exist. More... | |
bool | mkdir (std::string path) |
create directory in given path. More... | |
Protected Attributes inherited from Photographer | |
std::vector< CameraGroup > | CamerasMap |
GlobalMapObject::Ptr | GlobalMap |
Protected Attributes inherited from WorkFlowObject | |
bool | m_isInit = false |
default indicator of wether the workflow is initialized, the workflow may or may not use this variable to indicate if its initialized, it depends on the implementation of isInit() method. | |
DualCamera Photographer class.
|
overridevirtual |
clear the parameters of the flow, and deinitialize the flow
Reimplemented from Photographer.