Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Contrib - Image IO - Meteor1 - DPIImageBaseMeteor1BodyC
 

  PUBLIC
DPIImageBaseMeteor1BodyC::DPIImageBaseMeteor1BodyC(const StringC &,const type_info &,const ImageRectangleC &)
DPIImageBaseMeteor1BodyC::~DPIImageBaseMeteor1BodyC(void)
DPIImageBaseMeteor1BodyC::ParamName(VideoParamT) const
DPIImageBaseMeteor1BodyC::GetParam(VideoParamT) const
DPIImageBaseMeteor1BodyC::SetParam(VideoParamT,int)
DPIImageBaseMeteor1BodyC::DumpParam(ostream &) const
DPIImageBaseMeteor1BodyC::Open(const StringC &,const type_info &,const ImageRectangleC &)
DPIImageBaseMeteor1BodyC::Close(void)
DPIImageBaseMeteor1BodyC::NextFrame(void)

   DPIImageBaseMeteor1BodyC   
 
Base class for Meteor1 frame grabbers.
 
include "Ravl/Image/ImgIOMeteor1.hh"
Source file:Contrib/Meteor1/ImgIOMeteor1.hh
User Level:Develop
Library:GrabMeteor
In Scope:RavlImageN

Derived Classes: Enumerated types:
enum VideoSourceTypeT { VidSrc_PAL = 1, VidSrc_SECAM = 2, VidSrc_NTSC = 3 } ;
Video source types.

enum VideoSourceT { VidSrc_DEV0 = 1, VidSrc_DEV1 = 2, VidSrc_DEV2 = 3, VidSrc_DEV3 = 4, VidSrc_SVIDEO = 5 } ;
Video source types.

enum VideoParamT { VP_HUE = 0, VP_CHROMA_GAIN, VP_BRIGHTNESS, VP_CHROMA_SAT, VP_CONTRAST, VP_END } ;

Variables:
ImageRectangleC maxRect;
Maximum size of grabber rectangle.

ImageRectangleC rect;
Requested size of grabber rectangle.

VideoSourceTypeT sourceType;

int bufFormat;
Format of buffer.

int bufFrames;
Number of frames in buffer.

int bufFrameSize;
Buffer frame size in bytes.

int outFormat;
Conversion to use when copying. 0=Plain copy.

bool useMemMap;
Use memory mapping ?

StringC devName;

int fd;

int fbfd;

char * mmbuf;
Memory mapped buffer.

int frameCount;

Methods:
DPIImageBaseMeteor1BodyC(const StringC & dev,const type_info & npixType,const ImageRectangleC & nrect)
Constructor.

~DPIImageBaseMeteor1BodyC()
Destructor.

const char * ParamName(VideoParamT pr) const
Get the name of each paramiter.

int GetParam(VideoParamT pr) const
Get paramiter value

bool SetParam(VideoParamT pr,int val)
Setup paramiter value.

void DumpParam(ostream & out) const
Dump current settings to 'out'.

bool Open(const StringC & dev,const type_info & npixType,const ImageRectangleC & nrect)
Open a meteor device.

bool Close()
Close connection to meteor.

char * NextFrame()
Get next frame from grabber.
returns ptr to raw data. (this must be copied from the buffer, before next frame is retrieved.)


Maintainer:Charles Galambos, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002