Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
BIAS::VideoSource_DCAM_BumbleBee Class Reference

#include <VideoSource/VideoSource_DCAM_BumbleBee.hh>

+ Inheritance diagram for BIAS::VideoSource_DCAM_BumbleBee:
+ Collaboration diagram for BIAS::VideoSource_DCAM_BumbleBee:

Public Member Functions

void ActivateScorpionTimestamp ()
 Activates the timestamp for PointGrey Scorpion SCOR-20SO. More...
 
void AddDebugLevel (const long int lv)
 
void AddDebugLevel (const std::string &name)
 
virtual int AutoMode (int a, bool b)
 Use this to enable/disable any automatic modes addressed via enumerations. More...
 
int AutoMode (dc1394feature_t feature, dc1394feature_mode_t mode)
 Set a camera feature to auto or to manual mode. More...
 
int CloseDevice ()
 closes a camera device and cleans up More...
 
bool DebugLevelIsSet (const long int lv) const
 
bool DebugLevelIsSet (const std::string &name) const
 
void EnsureLatestFrame (const bool ensure)
 
void ForceFormat7 (bool forcef7)
 this choses f7 mode even for standard resolution More...
 
virtual int GetAllDevices (std::vector< std::string > &devices)
 
bool GetAutoBrightness ()
 
virtual bool GetAutoContrast ()
 
bool GetAutoGain ()
 
bool GetAutoShutter ()
 
float GetBrightness ()
 get the value of the brightness feature More...
 
virtual void GetBrightnessRange (double &min, double &max)
 
void GetBytesPerPacketForFormat7 (int camid, dc1394video_mode_t mode, int width, int height, unsigned int &bppmin, unsigned int &bppmax)
 returns min and max bytes per packet for a specified resolution in format 7 More...
 
float GetBytesPerPixel () const
 
virtual int GetCapabilities (VideoSourceCapabilities &caps)
 Use this method to learn something about the capabilities of the source (only useful for V4L sources, e.g. More...
 
virtual int GetCapabilities (const char *device, VideoSourceCapabilities &caps)
 
int GetColorChannels () const
 
BIAS::ImageBase::EColorModel GetColorModel () const
 
virtual float GetContrast ()
 Get contrast as value in interval [0, 100]. */. More...
 
virtual void GetContrastRange (double &min, double &max)
 
int GetDebugLevel () const
 
std::ostream & GetDebugStream () const
 
void GetDebugStream (std::ostream &os) const
 
virtual void GetDeviceChannelNames (std::vector< std::string > &names)
 If more than one channel is present, names can be returned here. More...
 
virtual unsigned int GetFeature (int feature)
 This function is used to query features like shutter, zoom, etc. More...
 
unsigned int GetFeature (dc1394feature_t feature)
 get the value of a specific feature More...
 
void GetFormat7ImageDimensions (int &maxWidth, int &maxHeight, int &minBpP, int &maxBpP)
 
float GetGain ()
 get the value of the gain feature More...
 
virtual void GetGainRange (double &min, double &max)
 
int GetGammaMode ()
 get the value of Gamma Mode More...
 
int GetHeight () const
 
int GetID () const
 
std::string GetIdentifier () const
 
unsigned int GetLeft ()
 
virtual int GetNumImages ()
 Get number of images for this bumblebee (returns 2 for xb2, 3 for xb3) More...
 
float GetShutter ()
 get the value of the shutter feature More...
 
virtual void GetShutterRange (double &min, double &max)
 
unsigned int GetTop ()
 
int GetTransmissionTime ()
 
virtual int GetWhiteBalance (float &rvalue, float &bvalue)
 Get white balance as values in interval [0, 100]. */. More...
 
int GetWidth () const
 
virtual int GrabSingle (BIAS::Camera< unsigned char > &allImages, BIAS::Camera< unsigned char > &imageLeft, BIAS::Camera< unsigned char > &imageMiddle, BIAS::Camera< unsigned char > &imageRight)
 Grab single images. More...
 
virtual int GrabSingle (BIAS::Camera< unsigned char > &allImages, BIAS::Camera< unsigned char > &imageLeft, BIAS::Camera< unsigned char > &imageRight)
 Grab single images. More...
 
virtual int GrabSingle (BIAS::Camera< float > &image)
 
virtual int GrabSingle (BIAS::Camera< char > &image)
 
virtual int GrabSingle (BIAS::Camera< short int > &image)
 
virtual int GrabSingle (BIAS::Camera< int > &image)
 
virtual int GrabSingle (BIAS::Camera< unsigned short int > &image)
 
virtual int GrabSingle (BIAS::Camera< unsigned int > &image)
 
virtual int GrabSingle (BIAS::Camera< double > &image)
 
int GrabSingle (BIAS::Camera< unsigned char > &image)
 Select the port (bus-id) to use, only valid before OpenDevice() More...
 
int GrabSingle (BIAS::Camera< unsigned short > &image)
 
virtual int GrabSingleAsSmallRGB (BIAS::Camera< unsigned char > &allImages, BIAS::Camera< unsigned char > &imageLeft, BIAS::Camera< unsigned char > &imageMiddle, BIAS::Camera< unsigned char > &imageRight)
 XB3 ONLY! Grab single images as RGB. More...
 
int GrabSingleLRGrey (BIAS::Camera< unsigned char > &allImages, BIAS::Camera< unsigned char > &imageLeft, BIAS::Camera< unsigned char > &imageRight)
 Grab single for grey value images for left and right cam. More...
 
bool HasControlBrightness ()
 
virtual bool HasControlContrast ()
 
bool HasControlGain ()
 
bool HasControlShutter ()
 
bool HasControlWhiteBalance ()
 
virtual int InitImage (BIAS::ImageBase &Image)
 Init image according to bumblebee type and stereo mode setting. More...
 
virtual int InitSingleImage (BIAS::ImageBase &Image)
 Init single image according to bumblebee type (used for demultiplexing) More...
 
bool IsActive () const
 
bool IsControllable ()
 Specify if SetShutter(), SetGain() ... would work for this camera. More...
 
long int Name2DebugLevel (const std::string &name) const
 looks up a debuglevel in the internal map, returns 0 if not found More...
 
long int NewDebugLevel (const std::string &name)
 creates a new debuglevel More...
 
virtual int OnePushAuto (int feature)
 
int OnePushAuto (dc1394feature_t feature)
 
bool OnePushRunning (dc1394feature_t feature)
 is a feature available at OnePush? More...
 
virtual int OpenDevice (const char *device)
 a device name like "/dev/video1" can be specified here More...
 
virtual int OpenDevice (std::string Prefix, std::string Postfix, int DigitCount, int PictureCount, int StartCount=0)
 used by derived class VideoSource_Disk More...
 
virtual int OpenDevice (const std::vector< std::string > &FileNames)
 used by derived class VideoSource_Disk More...
 
int OpenDevice ()
 Opens a dc1394 device. More...
 
int OpenDevice (int camid)
 Opens a dc1394 device with id camid. More...
 
int PostGrab ()
 stops iso transmission of a camera. More...
 
int PreGrab ()
 initializes the iso transmission of a camera. More...
 
void PrintDebugLevel (std::ostream &os=std::cout) const
 
void RemoveDebugLevel (const long int lv)
 
void RemoveDebugLevel (const std::string &name)
 
virtual void ResetPanTiltZoom ()
 Reset digital zoom, pan, and tilt to defaults to ensure compliance with calibration. More...
 
int SelectDefault ()
 selects the default framerate for a cam More...
 
void SetAutoBrightness (bool b)
 
virtual void SetAutoContrast (bool b)
 
void SetAutoGain (bool b)
 set the gain to auto or manual mode More...
 
void SetAutoShutter (bool b)
 set the shutter to auto or manual mode More...
 
void SetBinning (bool b)
 
int SetBrightness (float b)
 set value for brightness More...
 
void SetBytesPerPacket (const int b)
 sets the bytes per packet used for format 7 More...
 
void SetBytesPerPixel (unsigned char bpp)
 
void SetCam_ID (int manualcamid_)
 set's the id of a camera manually, has to be called before OpenDevice() More...
 
int SetCamera (CameraParameterSet camparam)
 set camera to parameters specified in complete set More...
 
virtual void SetCameraID (int)
 
void SetCameraModel (CameraModel model)
 Sets the Camera model. More...
 
int SetColorFromMode_ (dc1394video_mode_t videoMode)
 selects the colormodel for a specific mode More...
 
virtual int SetColorModel (BIAS::ImageBase::EColorModel mode)
 Select colormodel to use. More...
 
virtual int SetContrast (float g)
 Set contrast as value in interval [0, 100]. */. More...
 
void SetDebugLevel (const long int lv)
 
void SetDebugLevel (const std::string &name)
 
void SetDebugStream (const std::ostream &os)
 
void SetDeviceChannel (int channel)
 Use channel to select one of many cameras on the same. More...
 
int SetDirectToDisk (const std::string &filename)
 Enables the very fast direct-to-disk mode. More...
 
void SetExternalTrigger (bool trigger=true)
 set External Trigger mode, overrides Base class function More...
 
virtual int SetFeature (int feature, unsigned int value)
 This function is used to control features like shutter, zoom, etc. More...
 
int SetFeature (dc1394feature_t feature, unsigned int value)
 Set a camera feature by hand. More...
 
void SetFirewireB (bool on)
 
int SetFormat7 (int mode, int bpp, dc1394color_coding_t colorCoding=DC1394_COLOR_CODING_MONO8)
 this a special function to by-pass all automatic initializations and Use only in conjuction with SetSize() and SetLeftTop() ! More...
 
void SetFPS (float fps)
 Set frame per second for image capturing. More...
 
int SetGain (float g)
 set value for gain More...
 
int SetGammaMode (int g)
 set Gamma Mode More...
 
int SetLeftTop (unsigned int left, unsigned int top)
 set the topleft corner for partitial scan More...
 
void SetModeAndFramerate (dc1394video_mode_t mode, float framerate)
 
int SetShutter (float exptime)
 set value for shutter More...
 
virtual void SetSize (int w, int h, int bytesperpixel=1)
 Set image size and number of bytes per pixel (e.g. More...
 
int SetStereoDefaultMode (CameraInfo *camInfo=NULL)
 Set camera to stereo/tri mode. More...
 
virtual void SetWaitForNew (bool waitForNew)
 Specify if grab should wait for new frames. More...
 
int SetWhiteBalance (float rvalue, float bvalue)
 sets the white balance of the camera, rvalue and bvalue are in range -0.5 to 0.5 More...
 
void ShowDebugLevel (std::ostream &os=std::cout) const
 prints all internally known debuglevels More...
 
virtual int SoftwareWhiteBalance ()
 Set white balance to optimal value in software. More...
 
 VideoSource_DCAM_BumbleBee (int Card=0)
 

Static Public Member Functions

static long int GetGlobalDebugLevel ()
 
static void SetGlobalDebugLevel (long int lev)
 
static std::string VideoModeToString (dc1394video_mode_t mode)
 returns a string from a IEEE1394 video mode More...
 

Public Attributes

bool ScorpionTimestampActive_
 

Protected Member Functions

int ActivateExternalTrigger_ (bool trigger=true)
 if external triggering is true, activate it here in Opendevice More...
 
int ApplyBytesPerPacket ()
 Set this value and read back what really happend. More...
 
unsigned int CalcBytesPerPacket ()
 Evaluate Min and Max BpP, framesize and fps, then calc BpP. More...
 
long ConsumeNextFreeDebuglevel_ ()
 returns the next available debuglevel More...
 
CameraModel GetModelForEuid (const u_int64_t euid)
 searches for the correct cammodel by means of the euid of a camera More...
 
int InitCam ()
 initializes the camera and tries to set the optimal settings for the camera if no settings are specified More...
 
int QueryCam ()
 querys the cam for available modes, framerates and features More...
 
int ShowCapabilities ()
 
int UserSizeToFormat7_ ()
 if user requested format 7 More...
 
int UserSizeToMode ()
 tries to find a camera mode from user given width and height More...
 
int UserSizeToMode_16bit_ ()
 for all formats with 16bit per pixel per channel (aka short int) More...
 
int UserSizeToMode_8bit_ ()
 for all formats with standard 8bpp per channel (unsigned char image) More...
 
int WriteDirect_ (const unsigned char *data, const BIAS::UUID &uuid, const long int &sec, const long int &usec)
 

Protected Attributes

long int _liDebugLevel
 
long int _liNextDebugLevel
 new concept, debuglevel are managed here in the debug class More...
 
std::map< std::string, long int > _String2Debuglevel
 
bool Active_
 Active flag is set in PreGrab() und unset in PostGrab() More...
 
bool bEnsureLatestFrame_
 
bool bExternalTrigger_
 External trigger flag. More...
 
int BytesPerPacket_
 
float BytesPerPixel_
 BytesPerPixel cannot be int (e.g. it is 1.5 for YUV420p) More...
 
dc1394camera_t * camera
 
dc1394framerates_t CameraFramerates_ [DC1394_VIDEO_MODE_NUM]
 
dc1394camera_list_t * cameraList
 
dc1394video_modes_t CameraModes_
 
int camid
 
CameraModel CamModel_
 
int ColorChannels_
 
BIAS::ImageBase::EColorModel ColorMode_
 Color mode used by camera. More...
 
bool CompleteInitialized_
 Complete_initialized_ is set when OpenDevice(), UseChannel() etc. are done. More...
 
int DcamDMABuffers_
 
dc1394featureset_t DcamFeatures_
 
int DcamFormat_
 
dc1394framerate_t DcamFps_
 
int DcamIsoChannel_
 
dc1394video_mode_t DcamMode_
 
int DcamSpeed_
 
dc1394_t * dcbus
 
const char * DefaultDevice_
 Device name. More...
 
int DeviceChannel_
 Device channel. More...
 
bool DirectF7_
 
bool DirectToDisk_
 Write directly to disk. More...
 
char * DtDBuffer_
 512 byte aligned buffer, contains VSImageHeader and image data More...
 
unsigned int DtDBufferSize_
 Buffer size must be multiple of 512. More...
 
int DtDFd_
 File descriptor for direct-to-disk mode. More...
 
BIAS::VideoStream::VSImageHeaderDtDImageHeader_
 Pointer to the beginning of DtDBuffer_. More...
 
char * DtDStartOfImage_
 Pointer into DtDBuffer after VSImageHeader. More...
 
dc1394error_t err
 
dc1394color_coding_t f7ColorCoding_
 
bool ForceF7_
 
float FramesPerSecond_
 Capturing framerate. More...
 
bool Grabbing_
 Grabbing flag is set and unset in GrabSingle() methods. More...
 
pthread_mutex_t grabMutex_
 
int Height_
 
int ID_
 Camera ID. More...
 
std::string Identifier_
 Verbose camera descriptor. More...
 
Image< unsigned char > * imageintern_
 
unsigned int ImageSize_
 Image size, useful for allocating and copying memory. More...
 
bool IsControllable_
 Must be initialized be the derived classes. More...
 
unsigned int Left_
 
LensModel Lens_
 
unsigned int MaxBpP_
 
double maxBrightness_
 
double maxContrast_
 
double maxGain_
 
unsigned int MaxHeight_
 
double maxShutter_
 
unsigned int MaxWidth_
 
unsigned int MinBpP_
 
double minBrightness_
 
double minContrast_
 Feature ranges. More...
 
double minGain_
 
double minShutter_
 
int NumCams_
 
uint32_t numCamsOnBus
 
int SelectedCam_
 
unsigned char Shift16_
 
unsigned int Top_
 
int TransmissionTime_
 
dc1394trigger_mode_t Trigger_
 
bool TryFirewireB_
 
unsigned int UnitHeight_
 
unsigned int UnitWidth_
 
bool UseBinning_
 
bool UseDMA_
 
bool UserMode_
 
bool UserTopLeft_
 
bool WaitForNew_
 Wait for new frames in GrabSingle() More...
 
int Width_
 Image format. More...
 

Static Protected Attributes

static std::ostream _zDebugStream
 
static long int GlobalDebugLevel = 0
 
static int InstancesTotal_ = 0
 

Detailed Description

Definition at line 39 of file VideoSource_DCAM_BumbleBee.hh.

Constructor & Destructor Documentation

VideoSource_DCAM_BumbleBee::VideoSource_DCAM_BumbleBee ( int  Card = 0)

Definition at line 54 of file VideoSource_DCAM_BumbleBee.cpp.

Member Function Documentation

int VideoSource_DCAM::ActivateExternalTrigger_ ( bool  trigger = true)
protectedinherited

if external triggering is true, activate it here in Opendevice

Parameters
triggertrue if external trigger should be acticated, false if deactivated
Returns
int, <0 on failure, 0 on success

Definition at line 1625 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::camera, BIAS::CAMERA_SONY_DFW_X700, BIAS::VideoSource_DCAM::CamModel_, BIAS::VideoSource::ID_, and BIAS::VideoSource_DCAM::Trigger_.

Referenced by BIAS::VideoSource_DCAM::InitCam(), and BIAS::VideoSource_DCAM::SetExternalTrigger().

void VideoSource_DCAM::ActivateScorpionTimestamp ( )
inherited

Activates the timestamp for PointGrey Scorpion SCOR-20SO.

Definition at line 618 of file VideoSource_DCAM.cpp.

void BIAS::Debug::AddDebugLevel ( const long int  lv)
inlineinherited
void BIAS::Debug::AddDebugLevel ( const std::string &  name)
inlineinherited

Definition at line 362 of file Debug.hh.

int VideoSource_DCAM::ApplyBytesPerPacket ( )
protectedinherited

Set this value and read back what really happend.

Returns
int, <0 on failure, 0 on success

Definition at line 1203 of file VideoSource_DCAM.cpp.

int VideoSource::AutoMode ( int  a,
bool  b 
)
virtualinherited

Use this to enable/disable any automatic modes addressed via enumerations.

Definition at line 283 of file VideoSource_Base.cpp.

int VideoSource_DCAM::AutoMode ( dc1394feature_t  feature,
dc1394feature_mode_t  mode 
)
inherited

Set a camera feature to auto or to manual mode.

Parameters
featurethe feature to set
modethe mode to set as enum, use DC1394_FEATURE_MODE_AUTO for auto mode or DC1394_FEATURE_MODE_MANUAL for manual mode
Returns
int, <0 on failure, 0 on success;
Examples:
ExamplePtGreyHiresColor.cpp.

Definition at line 1498 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::camera.

Referenced by BIAS::VideoSource_DCAM::SetAutoBrightness(), BIAS::VideoSource_DCAM::SetAutoGain(), BIAS::VideoSource_DCAM::SetAutoShutter(), BIAS::VideoSource_DCAM::SetCamera(), and BIAS::VideoSource_DCAM::SetFeature().

unsigned int VideoSource_DCAM::CalcBytesPerPacket ( )
protectedinherited

Evaluate Min and Max BpP, framesize and fps, then calc BpP.

Returns
unsigned int, returns the bytesperpackage calculated from Min and Max BpPm, framesize and fps

Definition at line 1139 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::BytesPerPacket_, BIAS::VideoSource_DCAM::camera, BIAS::VideoSource::ColorChannels_, BIAS::VideoSource::FramesPerSecond_, BIAS::VideoSource::Height_, BIAS::VideoSource_DCAM::MaxBpP_, BIAS::VideoSource_DCAM::MinBpP_, and BIAS::VideoSource::Width_.

int VideoSource_DCAM::CloseDevice ( )
virtualinherited
long BIAS::Debug::ConsumeNextFreeDebuglevel_ ( )
inlineprotectedinherited

returns the next available debuglevel

Author
woelk 09/2006

Definition at line 521 of file Debug.hh.

bool BIAS::Debug::DebugLevelIsSet ( const long int  lv) const
inlineinherited
bool BIAS::Debug::DebugLevelIsSet ( const std::string &  name) const
inlineinherited

Definition at line 350 of file Debug.hh.

void BIAS::VideoSource_DCAM::EnsureLatestFrame ( const bool  ensure)
inlinevirtualinherited

Reimplemented from BIAS::VideoSource.

Definition at line 622 of file VideoSource_DCAM.hh.

void BIAS::VideoSource_DCAM::ForceFormat7 ( bool  forcef7)
inlineinherited

this choses f7 mode even for standard resolution

Parameters
forcef7true if format 7 should be forced, false if not

Definition at line 605 of file VideoSource_DCAM.hh.

int VideoSource::GetAllDevices ( std::vector< std::string > &  devices)
virtualinherited

Reimplemented in BIAS::VideoSource_DSHOW, and BIAS::VideoSource_V4L.

Definition at line 197 of file VideoSource_Base.cpp.

Referenced by BIAS::ShowCamWxFrame::OnFindWebcams().

bool VideoSource_DCAM::GetAutoBrightness ( )
virtualinherited

Reimplemented from BIAS::VideoSource.

Definition at line 1547 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::camera.

virtual bool BIAS::VideoSource::GetAutoContrast ( )
inlinevirtualinherited

Reimplemented in BIAS::VideoSource_DSHOW.

Definition at line 257 of file VideoSource_Base.hh.

bool VideoSource_DCAM::GetAutoGain ( )
virtualinherited
Returns
returns true if the gain is set to automode, false if not

Reimplemented from BIAS::VideoSource.

Definition at line 1570 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::camera.

bool VideoSource_DCAM::GetAutoShutter ( )
virtualinherited
Returns
returns true if the shutter is set to automode, false if not

Reimplemented from BIAS::VideoSource.

Definition at line 1521 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::camera.

float VideoSource_DCAM::GetBrightness ( )
virtualinherited

get the value of the brightness feature

Returns
float returns the brightness value

Reimplemented from BIAS::VideoSource.

Definition at line 1958 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::camera.

virtual void BIAS::VideoSource::GetBrightnessRange ( double &  min,
double &  max 
)
inlinevirtualinherited
void VideoSource_DCAM::GetBytesPerPacketForFormat7 ( int  camid,
dc1394video_mode_t  mode,
int  width,
int  height,
unsigned int &  bppmin,
unsigned int &  bppmax 
)
inherited

returns min and max bytes per packet for a specified resolution in format 7

Parameters
camidthe id of the cam
modethe format 7 mode
widthof the resulting picture
heightof the resulting picture
bppminhere the minimum bytes per packet are stored bppmax here the maximum bytes per packet are stored

Definition at line 307 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::camera, BIAS::VideoSource_DCAM::cameraList, BIAS::VideoSource_DCAM::dcbus, BIAS::VideoSource_DCAM::err, BIAS::VideoSource::ID_, BIAS::VideoSource_DCAM::numCamsOnBus, and BIAS::VideoSource_DCAM::SelectedCam_.

float BIAS::VideoSource::GetBytesPerPixel ( ) const
inlineinherited

Definition at line 193 of file VideoSource_Base.hh.

int VideoSource::GetCapabilities ( VideoSourceCapabilities caps)
virtualinherited

Use this method to learn something about the capabilities of the source (only useful for V4L sources, e.g.

/dev/video0). Output is send to stdout.

Reimplemented in BIAS::VideoSource_DSHOW, BIAS::VideoSource_Kinect, BIAS::VideoSource_OpenNI, BIAS::VideoSource_Kinect2, BIAS::VideoSource_Kinect_Base, BIAS::VideoSource_SwissRanger, BIAS::VideoSource_V4L, and BIAS::VideoSource_Kinect2Net.

Definition at line 203 of file VideoSource_Base.cpp.

Referenced by BIAS::ShowCamWxFrame::OnFindWebcams().

int VideoSource::GetCapabilities ( const char *  device,
VideoSourceCapabilities caps 
)
virtualinherited
int BIAS::VideoSource::GetColorChannels ( ) const
inlineinherited
BIAS::ImageBase::EColorModel BIAS::VideoSource::GetColorModel ( ) const
inlineinherited
virtual float BIAS::VideoSource::GetContrast ( )
inlinevirtualinherited

Get contrast as value in interval [0, 100]. */.

Reimplemented in BIAS::VideoSource_DSHOW, and BIAS::VideoSource_V4L.

Definition at line 253 of file VideoSource_Base.hh.

virtual void BIAS::VideoSource::GetContrastRange ( double &  min,
double &  max 
)
inlinevirtualinherited
int BIAS::Debug::GetDebugLevel ( ) const
inlineinherited
std::ostream& BIAS::Debug::GetDebugStream ( ) const
inlineinherited

Definition at line 405 of file Debug.hh.

void BIAS::Debug::GetDebugStream ( std::ostream &  os) const
inlineinherited

Definition at line 414 of file Debug.hh.

virtual void BIAS::VideoSource::GetDeviceChannelNames ( std::vector< std::string > &  names)
inlinevirtualinherited

If more than one channel is present, names can be returned here.

The position in the vector corresponds to the channel number in SetChannel().

Reimplemented in BIAS::VideoSource_V4L.

Definition at line 170 of file VideoSource_Base.hh.

Referenced by BIAS::ShowCamWxFrame::OnFindWebcams().

unsigned int VideoSource::GetFeature ( int  feature)
virtualinherited

This function is used to query features like shutter, zoom, etc.

Definition at line 290 of file VideoSource_Base.cpp.

unsigned int VideoSource_DCAM::GetFeature ( dc1394feature_t  feature)
inherited

get the value of a specific feature

Parameters
featurethe feature of which the value should be requested
Returns
unsigned int, the value of the feature

Definition at line 1662 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::camera, and BIAS::VideoSource::ID_.

Referenced by BIAS::VideoSource_DCAM::GetGain(), BIAS::VideoSource_DCAM::GetGammaMode(), and BIAS::VideoSource_DCAM::GetShutter().

void BIAS::VideoSource_DCAM::GetFormat7ImageDimensions ( int &  maxWidth,
int &  maxHeight,
int &  minBpP,
int &  maxBpP 
)
inlineinherited

Definition at line 626 of file VideoSource_DCAM.hh.

float VideoSource_DCAM::GetGain ( )
virtualinherited
virtual void BIAS::VideoSource::GetGainRange ( double &  min,
double &  max 
)
inlinevirtualinherited

Definition at line 238 of file VideoSource_Base.hh.

int VideoSource_DCAM::GetGammaMode ( )
inherited

get the value of Gamma Mode

Returns
unsigned char, returns the value of Gamma Mode

Definition at line 1975 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::GetFeature().

static long int BIAS::Debug::GetGlobalDebugLevel ( )
inlinestaticinherited

Definition at line 431 of file Debug.hh.

int BIAS::VideoSource::GetHeight ( ) const
inlineinherited
int BIAS::VideoSource::GetID ( ) const
inlineinherited
Examples:
ExampleMDCamToShm.cpp.

Definition at line 206 of file VideoSource_Base.hh.

std::string BIAS::VideoSource::GetIdentifier ( ) const
inlineinherited

Definition at line 285 of file VideoSource_Base.hh.

unsigned int BIAS::VideoSource_DCAM::GetLeft ( )
inlineinherited

Definition at line 575 of file VideoSource_DCAM.hh.

CameraModel VideoSource_DCAM::GetModelForEuid ( const u_int64_t  euid)
protectedinherited
int VideoSource_DCAM_BumbleBee::GetNumImages ( )
virtual

Get number of images for this bumblebee (returns 2 for xb2, 3 for xb3)

Author
fkellner

Definition at line 137 of file VideoSource_DCAM_BumbleBee.cpp.

References BIAS::CAMERA_PTGREY_BUMBLEBEE_XB2, BIAS::CAMERA_PTGREY_BUMBLEBEE_XB3, and BIAS::VideoSource_DCAM::CamModel_.

float VideoSource_DCAM::GetShutter ( )
virtualinherited
virtual void BIAS::VideoSource::GetShutterRange ( double &  min,
double &  max 
)
inlinevirtualinherited

Definition at line 228 of file VideoSource_Base.hh.

unsigned int BIAS::VideoSource_DCAM::GetTop ( )
inlineinherited

Definition at line 574 of file VideoSource_DCAM.hh.

int BIAS::VideoSource_DCAM::GetTransmissionTime ( )
inlineinherited

Definition at line 586 of file VideoSource_DCAM.hh.

int VideoSource::GetWhiteBalance ( float &  rvalue,
float &  bvalue 
)
virtualinherited

Get white balance as values in interval [0, 100]. */.

Reimplemented in BIAS::VideoSource_uEye.

Definition at line 335 of file VideoSource_Base.cpp.

int BIAS::VideoSource::GetWidth ( ) const
inlineinherited
int VideoSource_DCAM_BumbleBee::GrabSingle ( BIAS::Camera< unsigned char > &  allImages,
BIAS::Camera< unsigned char > &  imageLeft,
BIAS::Camera< unsigned char > &  imageMiddle,
BIAS::Camera< unsigned char > &  imageRight 
)
virtual
int VideoSource_DCAM_BumbleBee::GrabSingle ( BIAS::Camera< unsigned char > &  allImages,
BIAS::Camera< unsigned char > &  imageLeft,
BIAS::Camera< unsigned char > &  imageRight 
)
virtual
int VideoSource::GrabSingle ( BIAS::Camera< float > &  image)
virtualinherited

Reimplemented in BIAS::VideoSource_Disk, and BIAS::VideoSource_Disk_Bayer.

Definition at line 229 of file VideoSource_Base.cpp.

int VideoSource::GrabSingle ( BIAS::Camera< char > &  image)
virtualinherited

Definition at line 252 of file VideoSource_Base.cpp.

int VideoSource::GrabSingle ( BIAS::Camera< short int > &  image)
virtualinherited

Definition at line 260 of file VideoSource_Base.cpp.

int VideoSource::GrabSingle ( BIAS::Camera< int > &  image)
virtualinherited

Definition at line 268 of file VideoSource_Base.cpp.

int VideoSource::GrabSingle ( BIAS::Camera< unsigned short int > &  image)
virtualinherited

Reimplemented in BIAS::VideoSource_Disk, and BIAS::VideoSource_Disk_Bayer.

Definition at line 236 of file VideoSource_Base.cpp.

int VideoSource::GrabSingle ( BIAS::Camera< unsigned int > &  image)
virtualinherited

Definition at line 244 of file VideoSource_Base.cpp.

int VideoSource::GrabSingle ( BIAS::Camera< double > &  image)
virtualinherited

Definition at line 276 of file VideoSource_Base.cpp.

int VideoSource_DCAM::GrabSingle ( BIAS::Camera< unsigned char > &  image)
virtualinherited
int VideoSource_DCAM::GrabSingle ( BIAS::Camera< unsigned short > &  image)
inherited
int VideoSource_DCAM_BumbleBee::GrabSingleAsSmallRGB ( BIAS::Camera< unsigned char > &  allImages,
BIAS::Camera< unsigned char > &  imageLeft,
BIAS::Camera< unsigned char > &  imageMiddle,
BIAS::Camera< unsigned char > &  imageRight 
)
virtual

XB3 ONLY! Grab single images as RGB.

No interpolation on bayer pattern. 50% of green values are dropped. Left, middle and right images HAVE to be 640x480, 3 channels, interleaved, color model RGB and unsigned char or must be omitted (pass empty image)!

Author
Daniel Jung
Date
08/2008

Definition at line 334 of file VideoSource_DCAM_BumbleBee.cpp.

References BIAS::CAMERA_PTGREY_BUMBLEBEE_XB3, BIAS::VideoSource_DCAM::CamModel_, BIAS::Image< StorageType >::GetImageData(), BIAS::Camera< StorageType >::GetTime(), BIAS::VideoSource_DCAM::GrabSingle(), BIAS::ImageBase::IsEmpty(), BIAS::Camera< StorageType >::SetTime(), and BIAS::Camera< StorageType >::UpdateMetaData().

int VideoSource_DCAM_BumbleBee::GrabSingleLRGrey ( BIAS::Camera< unsigned char > &  allImages,
BIAS::Camera< unsigned char > &  imageLeft,
BIAS::Camera< unsigned char > &  imageRight 
)
bool BIAS::VideoSource_DCAM::HasControlBrightness ( )
inlinevirtualinherited

Reimplemented from BIAS::VideoSource.

Definition at line 499 of file VideoSource_DCAM.hh.

virtual bool BIAS::VideoSource::HasControlContrast ( )
inlinevirtualinherited

Reimplemented in BIAS::VideoSource_DSHOW, and BIAS::VideoSource_V4L.

Definition at line 251 of file VideoSource_Base.hh.

bool BIAS::VideoSource_DCAM::HasControlGain ( )
inlinevirtualinherited

Reimplemented from BIAS::VideoSource.

Definition at line 498 of file VideoSource_DCAM.hh.

bool BIAS::VideoSource_DCAM::HasControlShutter ( )
inlinevirtualinherited

Reimplemented from BIAS::VideoSource.

Definition at line 497 of file VideoSource_DCAM.hh.

bool BIAS::VideoSource_DCAM::HasControlWhiteBalance ( )
inlinevirtualinherited

Reimplemented from BIAS::VideoSource.

Definition at line 500 of file VideoSource_DCAM.hh.

int VideoSource_DCAM::InitCam ( )
protectedinherited
int VideoSource_DCAM_BumbleBee::InitImage ( BIAS::ImageBase Image)
virtual
int VideoSource_DCAM_BumbleBee::InitSingleImage ( BIAS::ImageBase Image)
virtual
bool BIAS::VideoSource::IsActive ( ) const
inlineinherited

Definition at line 208 of file VideoSource_Base.hh.

bool BIAS::VideoSource::IsControllable ( )
inlineinherited

Specify if SetShutter(), SetGain() ... would work for this camera.

Definition at line 211 of file VideoSource_Base.hh.

long int BIAS::Debug::Name2DebugLevel ( const std::string &  name) const
inlineinherited

looks up a debuglevel in the internal map, returns 0 if not found

Author
woelk 09/2006

Definition at line 454 of file Debug.hh.

long int BIAS::Debug::NewDebugLevel ( const std::string &  name)
inlineinherited
int VideoSource::OnePushAuto ( int  feature)
virtualinherited

Definition at line 326 of file VideoSource_Base.cpp.

int VideoSource_DCAM::OnePushAuto ( dc1394feature_t  feature)
inherited
Parameters
featurethe feature to set one push automode for
Returns
int, <0 on failure, 0 on success

!!ATTENTION BIAS::FEATURE... may differ from ::FEATURE... (from CMU)!!!

Examples:
ExamplePtGreyHiresColor.cpp.

Definition at line 1583 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::camera, BIAS::CAMERA_PTGREY_DRAGONFLY_COLOR, BIAS::VideoSource_DCAM::CamModel_, and BIAS::VideoSource::SoftwareWhiteBalance().

Referenced by BIAS::VideoSource_DCAM::SetCamera().

bool VideoSource_DCAM::OnePushRunning ( dc1394feature_t  feature)
inherited

is a feature available at OnePush?

Returns
returns true, if the feature is available at OnePush mode

Definition at line 1607 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::camera.

int VideoSource::OpenDevice ( const char *  device)
virtualinherited
int VideoSource::OpenDevice ( std::string  Prefix,
std::string  Postfix,
int  DigitCount,
int  PictureCount,
int  StartCount = 0 
)
virtualinherited

used by derived class VideoSource_Disk

Reimplemented in BIAS::VideoSource_Disk.

Definition at line 185 of file VideoSource_Base.cpp.

int VideoSource::OpenDevice ( const std::vector< std::string > &  FileNames)
virtualinherited
int VideoSource_DCAM::OpenDevice ( )
virtualinherited
int VideoSource_DCAM::OpenDevice ( int  camid)
virtualinherited
int VideoSource_DCAM::PostGrab ( )
virtualinherited

stops iso transmission of a camera.

this has to be called after capturing any image

Returns
int, <0 on failure, 0 on success

Reimplemented from BIAS::VideoSource.

Examples:
ExampleDcam.cpp, ExampleDcamImageConvert.cpp, ExampleDirectToDisk.cpp, ExampleGrabTrippleFromXB3.cpp, and ExamplePtGreyHiresColor.cpp.

Definition at line 654 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource::Active_, BIAS::VideoSource_DCAM::camera, and BIAS::VideoSource_DCAM::SelectedCam_.

Referenced by BIAS::VideoSource_DCAM::CloseDevice(), and BIAS::VideoSource_DCAM::~VideoSource_DCAM().

int VideoSource_DCAM::PreGrab ( )
virtualinherited
void BIAS::Debug::PrintDebugLevel ( std::ostream &  os = std::cout) const
inlineinherited

Definition at line 383 of file Debug.hh.

int VideoSource_DCAM::QueryCam ( )
protectedinherited
void BIAS::Debug::RemoveDebugLevel ( const long int  lv)
inlineinherited

Definition at line 369 of file Debug.hh.

void BIAS::Debug::RemoveDebugLevel ( const std::string &  name)
inlineinherited

Definition at line 376 of file Debug.hh.

virtual void BIAS::VideoSource::ResetPanTiltZoom ( void  )
inlinevirtualinherited

Reset digital zoom, pan, and tilt to defaults to ensure compliance with calibration.

Reimplemented in BIAS::VideoSource_DSHOW, and BIAS::VideoSource_V4L.

Definition at line 265 of file VideoSource_Base.hh.

int VideoSource_DCAM::SelectDefault ( )
inherited
void VideoSource_DCAM::SetAutoBrightness ( bool  b)
virtualinherited

Reimplemented from BIAS::VideoSource.

Definition at line 1536 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::AutoMode().

virtual void BIAS::VideoSource::SetAutoContrast ( bool  b)
inlinevirtualinherited

Reimplemented in BIAS::VideoSource_DSHOW.

Definition at line 256 of file VideoSource_Base.hh.

void VideoSource_DCAM::SetAutoGain ( bool  b)
virtualinherited

set the gain to auto or manual mode

Parameters
btrue if the gain should be set to auto mode, false if not

Reimplemented from BIAS::VideoSource.

Definition at line 1559 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::AutoMode().

void VideoSource_DCAM::SetAutoShutter ( bool  b)
virtualinherited

set the shutter to auto or manual mode

Parameters
btrue if the shutter should be set to auto mode, false if not

Reimplemented from BIAS::VideoSource.

Definition at line 1510 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::AutoMode().

void BIAS::VideoSource_DCAM::SetBinning ( bool  b)
inlineinherited

Definition at line 371 of file VideoSource_DCAM.hh.

int VideoSource_DCAM::SetBrightness ( float  b)
virtualinherited

set value for brightness

Parameters
bbrightness
Returns
int, <0 on failure, 0 on success

Reimplemented from BIAS::VideoSource.

Definition at line 1948 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::camera.

void BIAS::VideoSource_DCAM::SetBytesPerPacket ( const int  b)
inlineinherited

sets the bytes per packet used for format 7

Parameters
bthe bytes per packet

Definition at line 611 of file VideoSource_DCAM.hh.

void BIAS::VideoSource::SetBytesPerPixel ( unsigned char  bpp)
inlineinherited
Attention
Must be used before OpenDevice()!

Definition at line 183 of file VideoSource_Base.hh.

void VideoSource_DCAM::SetCam_ID ( int  manualcamid_)
inherited

set's the id of a camera manually, has to be called before OpenDevice()

Parameters
manualcamid_the unique id of the camera

Definition at line 348 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::camid.

int VideoSource_DCAM::SetCamera ( CameraParameterSet  camparam)
inherited
virtual void BIAS::VideoSource_DCAM::SetCameraID ( int  )
inlinevirtualinherited

Definition at line 595 of file VideoSource_DCAM.hh.

void VideoSource_DCAM::SetCameraModel ( CameraModel  model)
inherited

Sets the Camera model.

Definition at line 800 of file VideoSource_DCAM_CMU.cpp.

References BIAS::VideoSource_DCAM::CamModel_.

int VideoSource_DCAM::SetColorFromMode_ ( dc1394video_mode_t  videoMode)
inherited
int VideoSource::SetColorModel ( BIAS::ImageBase::EColorModel  mode)
virtualinherited
virtual int BIAS::VideoSource::SetContrast ( float  g)
inlinevirtualinherited

Set contrast as value in interval [0, 100]. */.

Reimplemented in BIAS::VideoSource_DSHOW, and BIAS::VideoSource_V4L.

Definition at line 255 of file VideoSource_Base.hh.

void BIAS::Debug::SetDebugLevel ( const long int  lv)
inlineinherited
void BIAS::Debug::SetDebugLevel ( const std::string &  name)
inlineinherited

Definition at line 325 of file Debug.hh.

void BIAS::Debug::SetDebugStream ( const std::ostream &  os)
inlineinherited

Definition at line 398 of file Debug.hh.

void BIAS::VideoSource::SetDeviceChannel ( int  channel)
inlineinherited

Use channel to select one of many cameras on the same.

Attention
Must be used before OpenDevice()!

Definition at line 165 of file VideoSource_Base.hh.

Referenced by BIAS::ShowCamWxFrame::OnFindWebcams().

int VideoSource::SetDirectToDisk ( const std::string &  filename)
inherited
void VideoSource_DCAM::SetExternalTrigger ( bool  trigger = true)
virtualinherited

set External Trigger mode, overrides Base class function

Parameters
trigger,boolto activate or deactivate trigger

Reimplemented from BIAS::VideoSource.

Definition at line 1490 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::ActivateExternalTrigger_(), BIAS::VideoSource::bExternalTrigger_, BIAS::VideoSource::CompleteInitialized_, and BIAS::VideoSource::SetExternalTrigger().

int VideoSource::SetFeature ( int  feature,
unsigned int  value 
)
virtualinherited

This function is used to control features like shutter, zoom, etc.

Definition at line 296 of file VideoSource_Base.cpp.

int VideoSource_DCAM::SetFeature ( dc1394feature_t  feature,
unsigned int  value 
)
inherited

Set a camera feature by hand.

Parameters
featurethe feature to set
valuethe value to be set for the feature feature
Returns
int, <0 on failure, 0 on success

Definition at line 1682 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::AutoMode(), BIAS::VideoSource_DCAM::camera, and BIAS::VideoSource::ID_.

Referenced by BIAS::VideoSource_DCAM::SetCamera(), BIAS::VideoSource_DCAM::SetGain(), BIAS::VideoSource_DCAM::SetGammaMode(), and BIAS::VideoSource_DCAM::SetShutter().

void VideoSource_DCAM::SetFirewireB ( bool  on)
inherited
int VideoSource_DCAM::SetFormat7 ( int  mode,
int  bpp,
dc1394color_coding_t  colorCoding = DC1394_COLOR_CODING_MONO8 
)
inherited

this a special function to by-pass all automatic initializations and Use only in conjuction with SetSize() and SetLeftTop() !

Examples:
ExampleGrabTrippleFromXB3.cpp.

Definition at line 451 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::BytesPerPacket_, BIAS::VideoSource_DCAM::DcamMode_, BIAS::VideoSource_DCAM::DirectF7_, and BIAS::VideoSource_DCAM::f7ColorCoding_.

Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateDCAM(), and SetStereoDefaultMode().

void BIAS::VideoSource::SetFPS ( float  fps)
inlineinherited

Set frame per second for image capturing.

Attention
Must be used before OpenDevice()!
Examples:
ExampleDirectToDisk.cpp.

Definition at line 175 of file VideoSource_Base.hh.

Referenced by BIAS::VideoSource_DCAM::SetModeAndFramerate().

int VideoSource_DCAM::SetGain ( float  g)
virtualinherited
int VideoSource_DCAM::SetGammaMode ( int  g)
inherited

set Gamma Mode

Parameters
gthe gamma mode as unsigned char
Returns
int, <0 on failure, 0 on success

Definition at line 1966 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::SetFeature().

Referenced by BIAS::VideoSource_DCAM::SetCamera().

static void BIAS::Debug::SetGlobalDebugLevel ( long int  lev)
inlinestaticinherited

Definition at line 424 of file Debug.hh.

int VideoSource_DCAM::SetLeftTop ( unsigned int  left,
unsigned int  top 
)
inherited

set the topleft corner for partitial scan

Parameters
leftdistance from left
topdistance from top
Returns
int, <0 on failure, 0 on success
Examples:
ExampleGrabTrippleFromXB3.cpp.

Definition at line 1703 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource::Height_, BIAS::VideoSource_DCAM::Left_, BIAS::VideoSource_DCAM::MaxHeight_, BIAS::VideoSource_DCAM::MaxWidth_, BIAS::VideoSource_DCAM::Top_, BIAS::VideoSource_DCAM::UserTopLeft_, and BIAS::VideoSource::Width_.

Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateDCAM(), and SetStereoDefaultMode().

void VideoSource_DCAM::SetModeAndFramerate ( dc1394video_mode_t  mode,
float  framerate 
)
inherited
int VideoSource_DCAM::SetShutter ( float  exptime)
virtualinherited
void VideoSource::SetSize ( int  w,
int  h,
int  bytesperpixel = 1 
)
virtualinherited
int VideoSource_DCAM_BumbleBee::SetStereoDefaultMode ( CameraInfo camInfo = NULL)
virtual void BIAS::VideoSource::SetWaitForNew ( bool  waitForNew)
inlinevirtualinherited

Specify if grab should wait for new frames.

If you want as many images as possible and don't care about equal ones, call this with waitForNew = false. By default, GrabSingle() blocks until a new frame arrives from the camera. Only used in V4L and DSHOW.

Author
grest

Reimplemented in BIAS::VideoSource_DSHOW.

Definition at line 293 of file VideoSource_Base.hh.

int VideoSource_DCAM::SetWhiteBalance ( float  rvalue,
float  bvalue 
)
virtualinherited

sets the white balance of the camera, rvalue and bvalue are in range -0.5 to 0.5

Parameters
rvalue
bvalue
Returns
int, <0 on failure, 0 on success

Reimplemented from BIAS::VideoSource.

Examples:
ExamplePtGreyHiresColor.cpp.

Definition at line 1983 of file VideoSource_DCAM.cpp.

References BIAS::VideoSource_DCAM::camera, BIAS::CAMERA_PTGREY_DRAGONFLY2_COLOR_HIRES, BIAS::CAMERA_PTGREY_DRAGONFLY_COLOR, BIAS::CAMERA_PTGREY_GRASSHOPPER_COLOR, BIAS::CAMERA_PTGREY_SCORPION_COLOR_1600, BIAS::CAMERA_SONY_DFW_V500, BIAS::CAMERA_SONY_DFW_X700, and BIAS::VideoSource_DCAM::CamModel_.

int VideoSource_DCAM::ShowCapabilities ( )
protectedinherited

Definition at line 733 of file VideoSource_DCAM.cpp.

void BIAS::Debug::ShowDebugLevel ( std::ostream &  os = std::cout) const
inlineinherited

prints all internally known debuglevels

Author
woelk 09/2006

Definition at line 496 of file Debug.hh.

int VideoSource::SoftwareWhiteBalance ( )
virtualinherited
int VideoSource_DCAM::UserSizeToFormat7_ ( )
protectedinherited
int VideoSource_DCAM::UserSizeToMode ( )
protectedinherited
int VideoSource_DCAM::UserSizeToMode_16bit_ ( )
protectedinherited
int VideoSource_DCAM::UserSizeToMode_8bit_ ( )
protectedinherited
std::string VideoSource_DCAM::VideoModeToString ( dc1394video_mode_t  mode)
staticinherited

returns a string from a IEEE1394 video mode

Definition at line 2469 of file VideoSource_DCAM.cpp.

Referenced by BIAS::ShowCamWxFrame::AddIEEECameraToMenu().

int VideoSource::WriteDirect_ ( const unsigned char *  data,
const BIAS::UUID uuid,
const long int &  sec,
const long int &  usec 
)
protectedinherited

Member Data Documentation

long int BIAS::Debug::_liDebugLevel
protectedinherited

Definition at line 510 of file Debug.hh.

Referenced by BIAS::Debug::operator=(), and BIAS::ImageBase::operator=().

long int BIAS::Debug::_liNextDebugLevel
protectedinherited

new concept, debuglevel are managed here in the debug class

Definition at line 516 of file Debug.hh.

Referenced by BIAS::Debug::operator=().

std::map<std::string, long int> BIAS::Debug::_String2Debuglevel
protectedinherited

Definition at line 517 of file Debug.hh.

Referenced by BIAS::Debug::operator=().

std::ostream BIAS::Debug::_zDebugStream
staticprotectedinherited

Definition at line 511 of file Debug.hh.

Referenced by BIAS::Debug::operator=().

bool BIAS::VideoSource::Active_
protectedinherited
bool BIAS::VideoSource_DCAM::bEnsureLatestFrame_
protectedinherited
bool BIAS::VideoSource::bExternalTrigger_
protectedinherited
int BIAS::VideoSource_DCAM::BytesPerPacket_
protectedinherited
float BIAS::VideoSource::BytesPerPixel_
protectedinherited
dc1394camera_t* BIAS::VideoSource_DCAM::camera
protectedinherited
dc1394framerates_t BIAS::VideoSource_DCAM::CameraFramerates_[DC1394_VIDEO_MODE_NUM]
protectedinherited
dc1394camera_list_t* BIAS::VideoSource_DCAM::cameraList
protectedinherited
dc1394video_modes_t BIAS::VideoSource_DCAM::CameraModes_
protectedinherited
int BIAS::VideoSource_DCAM::camid
protectedinherited
CameraModel BIAS::VideoSource_DCAM::CamModel_
protectedinherited
int BIAS::VideoSource::ColorChannels_
protectedinherited
BIAS::ImageBase::EColorModel BIAS::VideoSource::ColorMode_
protectedinherited
bool BIAS::VideoSource::CompleteInitialized_
protectedinherited
int BIAS::VideoSource_DCAM::DcamDMABuffers_
protectedinherited

Definition at line 765 of file VideoSource_DCAM.hh.

dc1394featureset_t BIAS::VideoSource_DCAM::DcamFeatures_
protectedinherited

Definition at line 746 of file VideoSource_DCAM.hh.

Referenced by BIAS::VideoSource_DCAM::QueryCam().

int BIAS::VideoSource_DCAM::DcamFormat_
protectedinherited

Definition at line 758 of file VideoSource_DCAM.hh.

Referenced by BIAS::VideoSource_DCAM::VideoSource_DCAM().

dc1394framerate_t BIAS::VideoSource_DCAM::DcamFps_
protectedinherited
int BIAS::VideoSource_DCAM::DcamIsoChannel_
protectedinherited

Definition at line 759 of file VideoSource_DCAM.hh.

dc1394video_mode_t BIAS::VideoSource_DCAM::DcamMode_
protectedinherited
int BIAS::VideoSource_DCAM::DcamSpeed_
protectedinherited

Definition at line 756 of file VideoSource_DCAM.hh.

dc1394_t* BIAS::VideoSource_DCAM::dcbus
protectedinherited
const char* BIAS::VideoSource::DefaultDevice_
protectedinherited
int BIAS::VideoSource::DeviceChannel_
protectedinherited
bool BIAS::VideoSource_DCAM::DirectF7_
protectedinherited
bool BIAS::VideoSource::DirectToDisk_
protectedinherited

Write directly to disk.

Definition at line 339 of file VideoSource_Base.hh.

Referenced by BIAS::VideoSource::SetDirectToDisk(), and BIAS::VideoSource::VideoSource().

char* BIAS::VideoSource::DtDBuffer_
protectedinherited

512 byte aligned buffer, contains VSImageHeader and image data

Definition at line 345 of file VideoSource_Base.hh.

Referenced by BIAS::VideoSource::SetDirectToDisk(), BIAS::VideoSource::VideoSource(), and BIAS::VideoSource::WriteDirect_().

unsigned int BIAS::VideoSource::DtDBufferSize_
protectedinherited

Buffer size must be multiple of 512.

Definition at line 348 of file VideoSource_Base.hh.

Referenced by BIAS::VideoSource::SetDirectToDisk(), BIAS::VideoSource::VideoSource(), and BIAS::VideoSource::WriteDirect_().

int BIAS::VideoSource::DtDFd_
protectedinherited

File descriptor for direct-to-disk mode.

Definition at line 342 of file VideoSource_Base.hh.

Referenced by BIAS::VideoSource::SetDirectToDisk(), BIAS::VideoSource::VideoSource(), and BIAS::VideoSource::WriteDirect_().

BIAS::VideoStream::VSImageHeader* BIAS::VideoSource::DtDImageHeader_
protectedinherited

Pointer to the beginning of DtDBuffer_.

Definition at line 354 of file VideoSource_Base.hh.

Referenced by BIAS::VideoSource::SetDirectToDisk(), and BIAS::VideoSource::WriteDirect_().

char* BIAS::VideoSource::DtDStartOfImage_
protectedinherited

Pointer into DtDBuffer after VSImageHeader.

Definition at line 357 of file VideoSource_Base.hh.

Referenced by BIAS::VideoSource::SetDirectToDisk(), and BIAS::VideoSource::WriteDirect_().

dc1394error_t BIAS::VideoSource_DCAM::err
protectedinherited
dc1394color_coding_t BIAS::VideoSource_DCAM::f7ColorCoding_
protectedinherited
bool BIAS::VideoSource_DCAM::ForceF7_
protectedinherited
float BIAS::VideoSource::FramesPerSecond_
protectedinherited
long int BIAS::Debug::GlobalDebugLevel = 0
staticprotectedinherited

Definition at line 513 of file Debug.hh.

bool BIAS::VideoSource::Grabbing_
protectedinherited
pthread_mutex_t BIAS::VideoSource_DCAM::grabMutex_
protectedinherited
int BIAS::VideoSource::Height_
protectedinherited
int BIAS::VideoSource::ID_
protectedinherited
std::string BIAS::VideoSource::Identifier_
protectedinherited
Image<unsigned char>* BIAS::VideoSource_DCAM::imageintern_
protectedinherited

Definition at line 775 of file VideoSource_DCAM.hh.

unsigned int BIAS::VideoSource::ImageSize_
protectedinherited

Image size, useful for allocating and copying memory.

Definition at line 351 of file VideoSource_Base.hh.

Referenced by BIAS::VideoSource_FFmpeg::OpenDevice(), BIAS::VideoSource::SetDirectToDisk(), and BIAS::VideoSource::WriteDirect_().

int VideoSource_DCAM::InstancesTotal_ = 0
staticprotectedinherited
bool BIAS::VideoSource::IsControllable_
protectedinherited
unsigned int BIAS::VideoSource_DCAM::Left_
protectedinherited
LensModel BIAS::VideoSource_DCAM::Lens_
protectedinherited

Definition at line 781 of file VideoSource_DCAM.hh.

unsigned int BIAS::VideoSource_DCAM::MaxBpP_
protectedinherited
double BIAS::VideoSource::maxBrightness_
protectedinherited
double BIAS::VideoSource::maxContrast_
protectedinherited
double BIAS::VideoSource::maxGain_
protectedinherited
unsigned int BIAS::VideoSource_DCAM::MaxHeight_
protectedinherited
double BIAS::VideoSource::maxShutter_
protectedinherited
unsigned int BIAS::VideoSource_DCAM::MaxWidth_
protectedinherited
unsigned int BIAS::VideoSource_DCAM::MinBpP_
protectedinherited
double BIAS::VideoSource::minBrightness_
protectedinherited
double BIAS::VideoSource::minContrast_
protectedinherited
double BIAS::VideoSource::minGain_
protectedinherited
double BIAS::VideoSource::minShutter_
protectedinherited
int BIAS::VideoSource_DCAM::NumCams_
protectedinherited

Definition at line 754 of file VideoSource_DCAM.hh.

uint32_t BIAS::VideoSource_DCAM::numCamsOnBus
protectedinherited
bool BIAS::VideoSource_DCAM::ScorpionTimestampActive_
inherited

Definition at line 327 of file VideoSource_DCAM.hh.

int BIAS::VideoSource_DCAM::SelectedCam_
protectedinherited
unsigned char BIAS::VideoSource_DCAM::Shift16_
protectedinherited
unsigned int BIAS::VideoSource_DCAM::Top_
protectedinherited
int BIAS::VideoSource_DCAM::TransmissionTime_
protectedinherited

Definition at line 777 of file VideoSource_DCAM.hh.

Referenced by BIAS::VideoSource_DCAM::VideoSource_DCAM().

dc1394trigger_mode_t BIAS::VideoSource_DCAM::Trigger_
protectedinherited
bool BIAS::VideoSource_DCAM::TryFirewireB_
protectedinherited
unsigned int BIAS::VideoSource_DCAM::UnitHeight_
protectedinherited
unsigned int BIAS::VideoSource_DCAM::UnitWidth_
protectedinherited
bool BIAS::VideoSource_DCAM::UseBinning_
protectedinherited
bool BIAS::VideoSource_DCAM::UseDMA_
protectedinherited

Definition at line 763 of file VideoSource_DCAM.hh.

Referenced by BIAS::VideoSource_DCAM::VideoSource_DCAM().

bool BIAS::VideoSource_DCAM::UserMode_
protectedinherited
bool BIAS::VideoSource_DCAM::UserTopLeft_
protectedinherited
bool BIAS::VideoSource::WaitForNew_
protectedinherited
int BIAS::VideoSource::Width_
protectedinherited

The documentation for this class was generated from the following files: