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

dummy input pipeline to always provide a fixed image; needed to ensure API uniformity of the interactive object selector More...

#include <inputUtils.h>

Inheritance diagram for utils::InputDummy:
utils::InputBase

Public Member Functions

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

dummy input pipeline to always provide a fixed image; needed to ensure API uniformity of the interactive object selector


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