#include <RGBDVideoReader.h>
|
| RGBDVideoReader () |
|
virtual | ~RGBDVideoReader () |
|
virtual bool | IsOpened () const =0 |
| Check If the RGBD video file is opened.
|
|
virtual bool | IsEOF () const =0 |
| Check if the RGBD video file is all read.
|
|
virtual bool | Open (const std::string &filename)=0 |
|
virtual void | Close ()=0 |
| Close the opened RGBD video playback.
|
|
virtual RGBDVideoMetadata & | GetMetadata ()=0 |
| Get reference to the metadata of the RGBD video playback.
|
|
virtual const RGBDVideoMetadata & | GetMetadata () const =0 |
| Get metadata of the RGBD video playback.
|
|
virtual bool | SeekTimestamp (uint64_t timestamp)=0 |
| Seek to the timestamp (in us).
|
|
virtual uint64_t | GetTimestamp () const =0 |
| Get current timestamp (in us).
|
|
virtual t::geometry::RGBDImage | NextFrame ()=0 |
| Get next frame from the RGBD video playback and returns the RGBD object.
|
|
virtual void | SaveFrames (const std::string &frame_path, uint64_t start_time_us=0, uint64_t end_time_us=UINT64_MAX) |
|
virtual std::string | GetFilename () const =0 |
| Return filename being read.
|
|
virtual std::string | ToString () const |
| Text description.
|
|
|
static std::unique_ptr< RGBDVideoReader > | Create (const std::string &filename) |
| Factory function to create object based on RGBD video file type.
|
|
◆ RGBDVideoReader()
open3d::t::io::RGBDVideoReader::RGBDVideoReader |
( |
| ) |
|
|
inline |
◆ ~RGBDVideoReader()
virtual open3d::t::io::RGBDVideoReader::~RGBDVideoReader |
( |
| ) |
|
|
inlinevirtual |
◆ Close()
virtual void open3d::t::io::RGBDVideoReader::Close |
( |
| ) |
|
|
pure virtual |
◆ Create()
std::unique_ptr< RGBDVideoReader > open3d::t::io::RGBDVideoReader::Create |
( |
const std::string & |
filename | ) |
|
|
static |
Factory function to create object based on RGBD video file type.
◆ GetFilename()
virtual std::string open3d::t::io::RGBDVideoReader::GetFilename |
( |
| ) |
const |
|
pure virtual |
◆ GetMetadata() [1/2]
virtual const RGBDVideoMetadata & open3d::t::io::RGBDVideoReader::GetMetadata |
( |
| ) |
const |
|
pure virtual |
◆ GetMetadata() [2/2]
◆ GetTimestamp()
virtual uint64_t open3d::t::io::RGBDVideoReader::GetTimestamp |
( |
| ) |
const |
|
pure virtual |
◆ IsEOF()
virtual bool open3d::t::io::RGBDVideoReader::IsEOF |
( |
| ) |
const |
|
pure virtual |
◆ IsOpened()
virtual bool open3d::t::io::RGBDVideoReader::IsOpened |
( |
| ) |
const |
|
pure virtual |
◆ NextFrame()
◆ Open()
virtual bool open3d::t::io::RGBDVideoReader::Open |
( |
const std::string & |
filename | ) |
|
|
pure virtual |
◆ SaveFrames()
void open3d::t::io::RGBDVideoReader::SaveFrames |
( |
const std::string & |
frame_path, |
|
|
uint64_t |
start_time_us = 0 , |
|
|
uint64_t |
end_time_us = UINT64_MAX |
|
) |
| |
|
virtual |
Save synchronized and aligned individual frames to subfolders.
- Parameters
-
frame_path | Frames will be stored in stream subfolders 'color' and 'depth' here. The intrinsic camera calibration for the color stream will be saved in 'intrinsic.json'. |
start_time_us | (default 0) Start saving frames from this time (us) |
end_time_us | (default video length) Save frames till this time (us) |
Reimplemented in open3d::t::io::RSBagReader.
◆ SeekTimestamp()
virtual bool open3d::t::io::RGBDVideoReader::SeekTimestamp |
( |
uint64_t |
timestamp | ) |
|
|
pure virtual |
◆ ToString()
std::string open3d::t::io::RGBDVideoReader::ToString |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: