feat(depth/points process): add member calib_infos_
This commit is contained in:
parent
505490697f
commit
dc10d73c96
|
@ -24,7 +24,8 @@ const char DepthProcessor::NAME[] = "DepthProcessor";
|
|||
DepthProcessor::DepthProcessor(
|
||||
std::shared_ptr<struct camera_calib_info_pair> calib_infos,
|
||||
std::int32_t proc_period)
|
||||
: Processor(std::move(proc_period)) {
|
||||
: Processor(std::move(proc_period)),
|
||||
calib_infos_(calib_infos) {
|
||||
VLOG(2) << __func__ << ": proc_period=" << proc_period;
|
||||
}
|
||||
|
||||
|
|
|
@ -37,6 +37,8 @@ class DepthProcessor : public Processor {
|
|||
Object *OnCreateOutput() override;
|
||||
bool OnProcess(
|
||||
Object *const in, Object *const out, Processor *const parent) override;
|
||||
private:
|
||||
std::shared_ptr<struct camera_calib_info_pair> calib_infos_;
|
||||
};
|
||||
|
||||
MYNTEYE_END_NAMESPACE
|
||||
|
|
|
@ -55,7 +55,8 @@ const char PointsProcessor::NAME[] = "PointsProcessor";
|
|||
PointsProcessor::PointsProcessor(
|
||||
std::shared_ptr<struct camera_calib_info_pair> calib_infos,
|
||||
std::int32_t proc_period)
|
||||
: Processor(std::move(proc_period)) {
|
||||
: Processor(std::move(proc_period)),
|
||||
calib_infos_(calib_infos) {
|
||||
VLOG(2) << __func__ << ": proc_period=" << proc_period;
|
||||
}
|
||||
|
||||
|
|
|
@ -41,6 +41,7 @@ class PointsProcessor : public Processor {
|
|||
Object *const in, Object *const out, Processor *const parent) override;
|
||||
|
||||
private:
|
||||
std::shared_ptr<struct camera_calib_info_pair> calib_infos_;
|
||||
};
|
||||
|
||||
MYNTEYE_END_NAMESPACE
|
||||
|
|
Loading…
Reference in New Issue
Block a user