23 #ifndef __IPA_VIRTUALCOLORCAM_H__ 24 #define __IPA_VIRTUALCOLORCAM_H__ 34 #include <boost/filesystem.hpp> 59 unsigned long LoadParameters(
const char* filename,
int cameraIndex);
72 unsigned long Init(std::string directory,
int cameraIndex = 0);
75 unsigned long Close();
77 unsigned long GetColorImage(
char* colorImageData,
bool getLatestFrame);
78 unsigned long GetColorImage(cv::Mat* image,
bool getLatestFrame);
80 unsigned long SaveParameters(
const char* filename);
82 unsigned long SetPropertyDefaults();
84 unsigned long PrintCameraInformation();
85 unsigned long TestCamera(
const char* filename);
93 int GetNumberOfImages();
99 unsigned long SetPathToImages(std::string path);
109 #endif //__IPA_VIRTUALCOLORCAM_H__
int m_CameraIndex
Index of the specified camera. Important, when several cameras of the same type are present...
unsigned long SetParameters()
__DLL_LIBCAMERASENSORS__ AbstractColorCameraPtr CreateColorCamera_VirtualCam()
std::vector< std::string > m_ColorImageFileNames
unsigned int m_ImageCounter
Holds the index of the image that is extracted during the next call of AcquireImages ...
#define __DLL_LIBCAMERASENSORS__
std::string m_CameraDataDirectory
Directory where the image data resides.