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

#include <Gui/VideoSource_Controller.hh>

+ Inheritance diagram for BIAS::VideoSource_Controller:
+ Collaboration diagram for BIAS::VideoSource_Controller:

Public Types

enum  {
  ID_HIDE, ID_GAIN, ID_SHUTTER, ID_WBMANUAL,
  ID_BUTTON_AUTO_GAIN, ID_BUTTON_AUTO_SHUTTER, ID_BUTTON_UPDATE, ID_BUTTON_WHITEBALANCE,
  ID_HUE, ID_SATURATION, ID_GAMMA, ID_BRIGHTNESS,
  ID_BUTTON_AUTO_BRIGHTNESS, ID_BUTTON_AUTO_CONTRAST, ID_CONTRAST, ID_EXPOSURE,
  ID_SHARPNESS, ID_WHITE_BALANCE, ID_IRIS, ID_FOCUS,
  ID_TEMPERATURE, ID_TRIGGER, ID_TRIGGER_DELAY, ID_WHITE_SHADING,
  ID_FRAME_RATE, ID_TEXT
}
 

Public Member Functions

virtual int GetSelectedImage ()
 
virtual void SetAmplitudeThresholdRange (unsigned int min, unsigned int max)
 
void SetBrightnessRange (unsigned int min, unsigned int max)
 
void SetCloseShortcut (const int &asciiCode, bool ctrl, bool shift, bool alt)
 
void SetContrastRange (unsigned int min, unsigned int max)
 
virtual void SetDistanceOffsetRange (unsigned int min, unsigned int max)
 
void SetGainRange (unsigned int min, unsigned int max)
 
virtual void SetIntegrationTimeRange (unsigned int min, unsigned int max)
 
virtual void SetModulationRange (unsigned int min, unsigned int max)
 
virtual void SetSaturationThresholdRange (unsigned int min, unsigned int max)
 
void SetShutterRange (unsigned int min, unsigned int max)
 
void SetVideoSource (BIAS::VideoSource *cam)
 
bool Show (bool show=true)
 
void Update ()
 
 VideoSource_Controller (VideoSource *cam, wxWindow *parent, const std::string &title, double minShutter=-1, double maxShutter=-1, double minGain=-1, double maxGain=-1, double minContrast=-1, double maxContrast=-1, double minBrightness=-1, double maxBrightness=-1)
 
 ~VideoSource_Controller ()
 

Public Attributes

wxBoxSizer * vBox
 

Protected Attributes

bool Alt_
 
wxButton * auto_br_Button
 
bool auto_brightness
 
wxButton * auto_co_Button
 
wxButton * auto_ga_Button
 
bool auto_gain
 
wxButton * auto_sh_Button
 
bool auto_shutter
 
BIAS::VideoSourceCam_
 
bool Ctrl_
 
int LetterAscii_
 
double maxBrightness_
 
double maxContrast_
 
double maxGain_
 
double maxShutter_
 
double minBrightness_
 
double minContrast_
 
double minGain_
 
double minShutter_
 
bool Shift_
 
wxButton * showButton
 
wxBoxSizer * sliderBox_ShGa
 
bool sliderBox_ShGa_Visible
 
wxSlider * SliderBrightness
 
wxSlider * SliderContrast
 
wxSlider * SliderGain
 
wxSlider * SliderShutter
 
wxSlider * SliderWbBlue
 
wxSlider * SliderWbRed
 
wxButton * update_Button
 
bool vBoxVisible
 
wxButton * whiteBalanceButton
 

Detailed Description

Examples:
ExampleVideoSource_Controller.cpp, and ExampleVideoSource_DShow.cpp.

Definition at line 19 of file VideoSource_Controller.hh.

Member Enumeration Documentation

anonymous enum
Enumerator
ID_HIDE 
ID_GAIN 
ID_SHUTTER 
ID_WBMANUAL 
ID_BUTTON_AUTO_GAIN 
ID_BUTTON_AUTO_SHUTTER 
ID_BUTTON_UPDATE 
ID_BUTTON_WHITEBALANCE 
ID_HUE 
ID_SATURATION 
ID_GAMMA 
ID_BRIGHTNESS 
ID_BUTTON_AUTO_BRIGHTNESS 
ID_BUTTON_AUTO_CONTRAST 
ID_CONTRAST 
ID_EXPOSURE 
ID_SHARPNESS 
ID_WHITE_BALANCE 
ID_IRIS 
ID_FOCUS 
ID_TEMPERATURE 
ID_TRIGGER 
ID_TRIGGER_DELAY 
ID_WHITE_SHADING 
ID_FRAME_RATE 
ID_TEXT 

Definition at line 51 of file VideoSource_Controller.hh.

Constructor & Destructor Documentation

VideoSource_Controller::VideoSource_Controller ( VideoSource cam,
wxWindow parent,
const std::string &  title,
double  minShutter = -1,
double  maxShutter = -1,
double  minGain = -1,
double  maxGain = -1,
double  minContrast = -1,
double  maxContrast = -1,
double  minBrightness = -1,
double  maxBrightness = -1 
)

Definition at line 46 of file VideoSource_Controller.cpp.

VideoSource_Controller::~VideoSource_Controller ( )

Definition at line 75 of file VideoSource_Controller.cpp.

Member Function Documentation

virtual int BIAS::VideoSource_Controller_Base::GetSelectedImage ( )
inlinevirtualinherited

Reimplemented in BIAS::VideoSource_Controller_XB3.

Definition at line 51 of file VideoSource_Controller_Base.hh.

virtual void BIAS::VideoSource_Controller_Base::SetAmplitudeThresholdRange ( unsigned int  min,
unsigned int  max 
)
inlinevirtualinherited

Reimplemented in BIAS::VideoSource_Controller_SwissRanger.

Definition at line 44 of file VideoSource_Controller_Base.hh.

void VideoSource_Controller::SetBrightnessRange ( unsigned int  min,
unsigned int  max 
)
virtual

Reimplemented from BIAS::VideoSource_Controller_Base.

Definition at line 554 of file VideoSource_Controller.cpp.

void VideoSource_Controller::SetCloseShortcut ( const int &  asciiCode,
bool  ctrl,
bool  shift,
bool  alt 
)

Definition at line 289 of file VideoSource_Controller.cpp.

void VideoSource_Controller::SetContrastRange ( unsigned int  min,
unsigned int  max 
)
virtual

Reimplemented from BIAS::VideoSource_Controller_Base.

Definition at line 561 of file VideoSource_Controller.cpp.

virtual void BIAS::VideoSource_Controller_Base::SetDistanceOffsetRange ( unsigned int  min,
unsigned int  max 
)
inlinevirtualinherited
void VideoSource_Controller::SetGainRange ( unsigned int  min,
unsigned int  max 
)
virtual

Reimplemented from BIAS::VideoSource_Controller_Base.

Definition at line 547 of file VideoSource_Controller.cpp.

virtual void BIAS::VideoSource_Controller_Base::SetIntegrationTimeRange ( unsigned int  min,
unsigned int  max 
)
inlinevirtualinherited
virtual void BIAS::VideoSource_Controller_Base::SetModulationRange ( unsigned int  min,
unsigned int  max 
)
inlinevirtualinherited

Definition at line 46 of file VideoSource_Controller_Base.hh.

virtual void BIAS::VideoSource_Controller_Base::SetSaturationThresholdRange ( unsigned int  min,
unsigned int  max 
)
inlinevirtualinherited

Reimplemented in BIAS::VideoSource_Controller_SwissRanger.

Definition at line 45 of file VideoSource_Controller_Base.hh.

void VideoSource_Controller::SetShutterRange ( unsigned int  min,
unsigned int  max 
)
virtual

Reimplemented from BIAS::VideoSource_Controller_Base.

Definition at line 540 of file VideoSource_Controller.cpp.

void VideoSource_Controller::SetVideoSource ( BIAS::VideoSource cam)
virtual

Reimplemented from BIAS::VideoSource_Controller_Base.

Definition at line 307 of file VideoSource_Controller.cpp.

bool VideoSource_Controller::Show ( bool  show = true)

wait a moment to let wx sort its key and focus events

Examples:
ExampleVideoSource_Controller.cpp.

Definition at line 275 of file VideoSource_Controller.cpp.

void VideoSource_Controller::Update ( )
virtual

Reimplemented from BIAS::VideoSource_Controller_Base.

Definition at line 450 of file VideoSource_Controller.cpp.

Member Data Documentation

bool BIAS::VideoSource_Controller::Alt_
protected

Definition at line 139 of file VideoSource_Controller.hh.

wxButton* BIAS::VideoSource_Controller::auto_br_Button
protected

Definition at line 132 of file VideoSource_Controller.hh.

bool BIAS::VideoSource_Controller::auto_brightness
protected

Definition at line 124 of file VideoSource_Controller.hh.

wxButton* BIAS::VideoSource_Controller::auto_co_Button
protected

Definition at line 133 of file VideoSource_Controller.hh.

wxButton* BIAS::VideoSource_Controller::auto_ga_Button
protected

Definition at line 131 of file VideoSource_Controller.hh.

bool BIAS::VideoSource_Controller::auto_gain
protected

Definition at line 123 of file VideoSource_Controller.hh.

wxButton* BIAS::VideoSource_Controller::auto_sh_Button
protected

Definition at line 130 of file VideoSource_Controller.hh.

bool BIAS::VideoSource_Controller::auto_shutter
protected

Definition at line 122 of file VideoSource_Controller.hh.

BIAS::VideoSource* BIAS::VideoSource_Controller::Cam_
protected

Definition at line 111 of file VideoSource_Controller.hh.

bool BIAS::VideoSource_Controller::Ctrl_
protected

Definition at line 139 of file VideoSource_Controller.hh.

int BIAS::VideoSource_Controller::LetterAscii_
protected

Definition at line 140 of file VideoSource_Controller.hh.

double BIAS::VideoSource_Controller::maxBrightness_
protected

Definition at line 137 of file VideoSource_Controller.hh.

double BIAS::VideoSource_Controller::maxContrast_
protected

Definition at line 137 of file VideoSource_Controller.hh.

double BIAS::VideoSource_Controller::maxGain_
protected

Definition at line 136 of file VideoSource_Controller.hh.

double BIAS::VideoSource_Controller::maxShutter_
protected

Definition at line 136 of file VideoSource_Controller.hh.

double BIAS::VideoSource_Controller::minBrightness_
protected

Definition at line 137 of file VideoSource_Controller.hh.

double BIAS::VideoSource_Controller::minContrast_
protected

Definition at line 137 of file VideoSource_Controller.hh.

double BIAS::VideoSource_Controller::minGain_
protected

Definition at line 136 of file VideoSource_Controller.hh.

double BIAS::VideoSource_Controller::minShutter_
protected

Definition at line 136 of file VideoSource_Controller.hh.

bool BIAS::VideoSource_Controller::Shift_
protected

Definition at line 139 of file VideoSource_Controller.hh.

wxButton* BIAS::VideoSource_Controller::showButton
protected

Definition at line 128 of file VideoSource_Controller.hh.

wxBoxSizer* BIAS::VideoSource_Controller::sliderBox_ShGa
protected

Definition at line 119 of file VideoSource_Controller.hh.

bool BIAS::VideoSource_Controller::sliderBox_ShGa_Visible
protected

Definition at line 121 of file VideoSource_Controller.hh.

wxSlider* BIAS::VideoSource_Controller::SliderBrightness
protected

Definition at line 117 of file VideoSource_Controller.hh.

wxSlider* BIAS::VideoSource_Controller::SliderContrast
protected

Definition at line 118 of file VideoSource_Controller.hh.

wxSlider* BIAS::VideoSource_Controller::SliderGain
protected

Definition at line 113 of file VideoSource_Controller.hh.

wxSlider* BIAS::VideoSource_Controller::SliderShutter
protected

Definition at line 114 of file VideoSource_Controller.hh.

wxSlider* BIAS::VideoSource_Controller::SliderWbBlue
protected

Definition at line 116 of file VideoSource_Controller.hh.

wxSlider* BIAS::VideoSource_Controller::SliderWbRed
protected

Definition at line 115 of file VideoSource_Controller.hh.

wxButton* BIAS::VideoSource_Controller::update_Button
protected

Definition at line 134 of file VideoSource_Controller.hh.

wxBoxSizer* BIAS::VideoSource_Controller::vBox

Definition at line 49 of file VideoSource_Controller.hh.

bool BIAS::VideoSource_Controller::vBoxVisible
protected

Definition at line 126 of file VideoSource_Controller.hh.

wxButton* BIAS::VideoSource_Controller::whiteBalanceButton
protected

Definition at line 129 of file VideoSource_Controller.hh.


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