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;
123 std::string m_image_name;
128 explicit vpDiskGrabber(
const std::string &dir,
const std::string &basename,
long number,
int step,
unsigned int noz,
129 const std::string &ext);
154 void setBaseName(
const std::string &name);
155 void setDirectory(
const std::string &dir);
156 void setExtension(
const std::string &ext);
157 void setGenericName(
const std::string &genericName);
158 void setImageNumber(
long number);
159 void setNumberOfZero(
unsigned int noz);
160 void setStep(
long step);
long getImageNumber() const
virtual void open(vpImage< unsigned char > &I)=0
std::string getImageName() const
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