MTF
Public Types | Public Member Functions | List of all members
utils::InputVP Class Reference

ViSP input pipeline. More...

#include <inputUtils.h>

Inheritance diagram for utils::InputVP:
utils::InputBase

Public Types

typedef InputVPParams::VpResUSB VpResUSB
 
typedef InputVPParams::VpResFW VpResFW
 
typedef InputVPParams::VpDepthFW VpDepthPGFW
 
typedef InputVPParams::VpFpsUSB VpFpsUSB
 
typedef InputVPParams::VpFpsFW VpFpsFW
 
typedef InputVPParams::VpISOFW VpISOFW
 

Public Member Functions

 InputVP (const InputVPParams *_params=nullptr)
 
bool initialize () override
 
bool update () override
 
bool constBuffer () override
 return true if the memory address of the output image buffer is constant, i.e. More...
 
- Public Member Functions inherited from utils::InputBase
 InputBase (const InputParams *_params=nullptr)
 
virtual void remapBuffer (unsigned char **new_addr)
 
virtual int getFrameID () const
 
virtual const cv::Mat & getFrame () const
 
virtual cv::Mat & getFrame (FrameType frame_type)
 apparently a const function cannot return a non const object by reference
 
virtual int getNFrames () const
 
virtual int getHeight () const
 
virtual int getWidth () const
 
virtual void getFrame (vpImage< vpRGBa > &vp_img) const
 
virtual void convert (const vpImage< vpRGBa > &vp_img, cv::Mat &cv_img) const
 
virtual void convert (const cv::Mat &cv_img, vpImage< vpRGBa > &vp_img) const
 

Additional Inherited Members

- Public Attributes inherited from utils::InputBase
bool destroy
 
- Protected Attributes inherited from utils::InputBase
int n_frames
 
int img_width
 
int img_height
 
int n_channels
 
int frame_id
 
int n_buffers
 
int buffer_id
 
int invert_seq
 
string file_path
 
bool const_buffer
 
vector< cv::Mat > cv_buffer
 

Detailed Description

ViSP input pipeline.

Member Function Documentation

bool utils::InputVP::constBuffer ( )
inlineoverridevirtual

return true if the memory address of the output image buffer is constant, i.e.

the image returned by getFrame is always read into the same memory location

Reimplemented from utils::InputBase.


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