supereight
Public Member Functions | List of all members
se::InteriorNetReader Class Reference

Reader for the InteriorNet dataset. More...

#include <reader_interiornet.hpp>

Inheritance diagram for se::InteriorNetReader:
se::Reader

Public Member Functions

 InteriorNetReader (const ReaderConfig &c)
 Construct a InteriorNetReader from a ReaderConfig. More...
 
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_
 

Detailed Description

Reader for the InteriorNet dataset.

https://interiornet.org/

Constructor & Destructor Documentation

◆ InteriorNetReader()

se::InteriorNetReader::InteriorNetReader ( const ReaderConfig c)

Construct a InteriorNetReader from a ReaderConfig.

Parameters
[in]cThe configuration struct to use.

Member Function Documentation

◆ restart()

void se::InteriorNetReader::restart ( )
virtual

Restart reading from the beginning.

Implements se::Reader.

◆ name()

std::string se::InteriorNetReader::name ( ) const
virtual

The name of the reader.

Returns
The string "InteriorNetReader".

Implements se::Reader.


The documentation for this class was generated from the following file: