Classes | Public Types | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
kfusion::OpenNISource Class Reference

#include <capture.hpp>

Classes

struct  Impl
 

Public Types

enum  { PROP_OPENNI_REGISTRATION_ON = 104 }
 
typedef kfusion::PixelRGB RGB24
 

Public Member Functions

int grab (cv::Mat &depth, cv::Mat &image)
 
bool isRecord ()
 
void open (const std::string &oni_filename)
 
void open (int device)
 
 OpenNISource ()
 
 OpenNISource (const std::string &oni_filename)
 
 OpenNISource (int device)
 
void release ()
 
bool setRegistration (bool value=false)
 
void triggerPause ()
 
void triggerRecord ()
 
 ~OpenNISource ()
 

Public Attributes

float baseline
 
float depth_focal_length_VGA
 
unsigned short max_depth
 
int no_sample_value
 
double pixelSize
 
int shadow_value
 

Private Member Functions

void getParams ()
 

Private Attributes

cv::Ptr< Implimpl_
 
bool isOni_
 
int maxFrameIndex_
 
openni::Recorder rec_
 
int rec_count_
 
bool recording_
 

Detailed Description

Definition at line 10 of file capture.hpp.

Member Typedef Documentation

◆ RGB24

Definition at line 13 of file capture.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
PROP_OPENNI_REGISTRATION_ON 

Definition at line 15 of file capture.hpp.

Constructor & Destructor Documentation

◆ OpenNISource() [1/3]

kfusion::OpenNISource::OpenNISource ( )

Definition at line 29 of file capture.cpp.

◆ OpenNISource() [2/3]

kfusion::OpenNISource::OpenNISource ( int  device)

Definition at line 41 of file capture.cpp.

◆ OpenNISource() [3/3]

kfusion::OpenNISource::OpenNISource ( const std::string &  oni_filename)

◆ ~OpenNISource()

kfusion::OpenNISource::~OpenNISource ( )

Definition at line 43 of file capture.cpp.

Member Function Documentation

◆ getParams()

void kfusion::OpenNISource::getParams ( )
private

Definition at line 282 of file capture.cpp.

◆ grab()

int kfusion::OpenNISource::grab ( cv::Mat &  depth,
cv::Mat &  image 
)

Definition at line 231 of file capture.cpp.

◆ isRecord()

bool kfusion::OpenNISource::isRecord ( )
inline

Definition at line 26 of file capture.hpp.

◆ open() [1/2]

void kfusion::OpenNISource::open ( const std::string &  oni_filename)

Definition at line 51 of file capture.cpp.

◆ open() [2/2]

void kfusion::OpenNISource::open ( int  device)

Definition at line 45 of file capture.cpp.

◆ release()

void kfusion::OpenNISource::release ( )

Definition at line 203 of file capture.cpp.

◆ setRegistration()

bool kfusion::OpenNISource::setRegistration ( bool  value = false)

Definition at line 308 of file capture.cpp.

◆ triggerPause()

void kfusion::OpenNISource::triggerPause ( )

Definition at line 164 of file capture.cpp.

◆ triggerRecord()

void kfusion::OpenNISource::triggerRecord ( )

Definition at line 178 of file capture.cpp.

Member Data Documentation

◆ baseline

float kfusion::OpenNISource::baseline

Definition at line 34 of file capture.hpp.

◆ depth_focal_length_VGA

float kfusion::OpenNISource::depth_focal_length_VGA

Definition at line 33 of file capture.hpp.

◆ impl_

cv::Ptr<Impl> kfusion::OpenNISource::impl_
private

Definition at line 40 of file capture.hpp.

◆ isOni_

bool kfusion::OpenNISource::isOni_
private

Definition at line 45 of file capture.hpp.

◆ max_depth

unsigned short kfusion::OpenNISource::max_depth

Definition at line 36 of file capture.hpp.

◆ maxFrameIndex_

int kfusion::OpenNISource::maxFrameIndex_
private

Definition at line 43 of file capture.hpp.

◆ no_sample_value

int kfusion::OpenNISource::no_sample_value

Definition at line 32 of file capture.hpp.

◆ pixelSize

double kfusion::OpenNISource::pixelSize

Definition at line 35 of file capture.hpp.

◆ rec_

openni::Recorder kfusion::OpenNISource::rec_
private

Definition at line 44 of file capture.hpp.

◆ rec_count_

int kfusion::OpenNISource::rec_count_
private

Definition at line 47 of file capture.hpp.

◆ recording_

bool kfusion::OpenNISource::recording_
private

Definition at line 46 of file capture.hpp.

◆ shadow_value

int kfusion::OpenNISource::shadow_value

Definition at line 32 of file capture.hpp.


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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:26