arFileGrabber.h
Go to the documentation of this file.
1 
2 
3 #ifndef __ARFILEGRABBER_HEADERFILE__
4 #define __ARFILEGRABBER_HEADERFILE__
5 
6 
8 {
9 public:
10  ARFileGrabber(const char* nFileName, int nWidth=320, int nHeight=240, int nByterPerComp=4);
11  virtual ~ARFileGrabber ();
12 
13  void Init(int /*deviceId*/) {}
14 
15  //void BindFilter(int deviceId, IBaseFilter **pFilter);
16  //void GrabFrame(long* size, long** pBuffer);
17  void GrabFrame();
18  //void Grab32BitFrame();
19 
20 
21  //long GetBufferSize() {return bufferSize;}
22  long* GetBuffer() { return (long*)buffer; }
23 
24  void SetFlippedImage(bool /*flag*/) {}
25 
26  void DisplayProperties();
27  //void EnumDevices(DeviceInfo *head);
28 
29  void NextFile();
30 
31 protected:
33  unsigned char* buffer;
34  int bufferlen;
36 
37  char* filename;
38 
40 };
41 
42 
43 #endif //__ARFILEGRABBER_HEADERFILE__
void DisplayProperties()
unsigned char * buffer
Definition: arFileGrabber.h:33
ARFileGrabber(const char *nFileName, int nWidth=320, int nHeight=240, int nByterPerComp=4)
void SetFlippedImage(bool)
Definition: arFileGrabber.h:24
long * GetBuffer()
Definition: arFileGrabber.h:22
void Init(int)
Definition: arFileGrabber.h:13
virtual ~ARFileGrabber()


tuw_artoolkitplus
Author(s): Markus Bader
autogenerated on Sun Sep 4 2016 03:24:33