|
supereight
|
Reader for the Microsoft Kinect and Asus Xtion using the OpenNI2 driver. More...
#include <reader_openni.hpp>
Public Member Functions | |
| OpenNIReader (const ReaderConfig &c) | |
| Construct an OpenNIReader from a ReaderConfig. More... | |
| ~OpenNIReader () | |
| void | restart () |
| Restart reading from the beginning. More... | |
| std::string | name () const |
| The name of the reader. More... | |
Public Member Functions inherited from se::Reader | |
| Reader (const ReaderConfig &c) | |
| Construct a Reader from a ReaderConfig. More... | |
| virtual | ~Reader () |
| ReaderStatus | nextData (Image< float > &depth_image) |
| Read the next depth image. More... | |
| ReaderStatus | nextData (Image< float > &depth_image, Image< uint32_t > &rgba_image) |
| Read the next depth and RGBA images. More... | |
| ReaderStatus | nextData (Image< float > &depth_image, Image< uint32_t > &rgba_image, Eigen::Matrix4f &T_WB) |
| Read the next depth and RGBA images and ground truth pose. More... | |
| ReaderStatus | getPose (Eigen::Matrix4f &T_WB, const size_t frame) |
| Read the ground truth pose at the provided frame number. More... | |
| bool | good () const |
| The state of the reader. More... | |
| size_t | frame () const |
| The current frame number. More... | |
| size_t | numFrames () const |
| The total number of frames in the current dataset. More... | |
| Eigen::Vector2i | depthImageRes () const |
| The dimensions of the depth images. More... | |
| Eigen::Vector2i | RGBAImageRes () const |
| The dimensions of the RGBA images. More... | |
| bool | isLiveReader () const |
| Whether the reader uses a live camera as input. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from se::Reader | |
| static ReaderStatus | mergeStatus (ReaderStatus status_1, ReaderStatus status_2) |
| Merge se::ReaderStatus values keeping the worst one. More... | |
Protected Member Functions inherited from se::Reader | |
| ReaderStatus | readPose (Eigen::Matrix4f &T_WB, const size_t frame, const char delimiter=' ') |
| Read the ground truth pose at the provided frame number. More... | |
| ReaderStatus | nextPose (Eigen::Matrix4f &T_WB) |
| Read the next ground truth pose. More... | |
Protected Attributes inherited from se::Reader | |
| std::string | sequence_path_ |
| std::string | ground_truth_file_ |
| std::ifstream | ground_truth_fs_ |
| Eigen::Vector2i | depth_image_res_ |
| Eigen::Vector2i | rgba_image_res_ |
| float | fps_ |
| double | spf_ |
| bool | drop_frames_ |
| int | verbose_ |
| bool | is_live_reader_ |
| ReaderStatus | status_ |
| size_t | frame_ |
| The frame_ is initialized to SIZE_MAX, so that when first incremented it becomes 0. More... | |
| size_t | num_frames_ |
Reader for the Microsoft Kinect and Asus Xtion using the OpenNI2 driver.
| se::OpenNIReader::OpenNIReader | ( | const ReaderConfig & | c | ) |
Construct an OpenNIReader from a ReaderConfig.
| [in] | c | The configuration struct to use. |
| se::OpenNIReader::~OpenNIReader | ( | ) |
|
virtual |
Restart reading from the beginning.
Implements se::Reader.
|
virtual |
1.8.13