43 #ifndef vpDiskGrabber_hh 44 #define vpDiskGrabber_hh 48 #include <visp3/core/vpDebug.h> 49 #include <visp3/core/vpFrameGrabber.h> 50 #include <visp3/core/vpRGBa.h> 51 #include <visp3/io/vpImageIo.h> 112 long m_image_number_next;
114 unsigned int m_number_of_zero;
117 std::string m_directory;
118 std::string m_base_name;
119 std::string m_extension;
121 bool m_use_generic_name;
122 std::string m_generic_name;
127 explicit vpDiskGrabber(
const std::string &dir,
const std::string &basename,
long number,
int step,
unsigned int noz,
128 const std::string &ext);
149 void setBaseName(
const std::string &name);
150 void setDirectory(
const std::string &dir);
151 void setExtension(
const std::string &ext);
152 void setGenericName(
const std::string &genericName);
153 void setImageNumber(
long number);
154 void setNumberOfZero(
unsigned int noz);
155 void setStep(
long step);
virtual void open(vpImage< unsigned char > &I)=0
Class to grab (ie. read) images from the disk.
Base class for all video devices. It is designed to provide a front end to video sources.
virtual void acquire(vpImage< unsigned char > &I)=0