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

#include <Tools/BIASShowCamWX/ShowCamWxFormat7Frame.hh>

+ Inheritance diagram for BIAS::ShowCamWxFormat7Frame:
+ Collaboration diagram for BIAS::ShowCamWxFormat7Frame:

Public Member Functions

void CreateControls ()
 Creates the controls and sizers. More...
 
void Init ()
 Initialises member variables. More...
 
void OnButtonApply (wxCommandEvent &event)
 
void OnButtonCancel (wxCommandEvent &event)
 
void OnButtonCheck (wxCommandEvent &event)
 
void OnButtonExit (wxCommandEvent &event)
 
void OnButtonOK (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON_ADDCCD More...
 
void OnCloseWindow (wxCloseEvent &event)
 wxEVT_CLOSE_WINDOW event handler for ID_PROJECTDEFINITIONFRAME More...
 
void OnScrollSlider (wxScrollEvent &event)
 
void OnSlide (wxScrollEvent &event)
 
void OnTextChange (wxCommandEvent &event)
 
void SetBpP (int min, int max, int value=-1)
 
void SetCameraIDandMode (int camid, dc1394video_mode_t mode)
 
void SetXOffset (int xoffmin, int xoffmax)
 
void SetXSize (int xmin, int xmax)
 
void SetYOffset (int yoffmin, int yoffmax)
 
void SetYSize (int ymin, int ymax)
 
 ShowCamWxFormat7Frame (wxFrame *parent, const wxString &title, const wxPoint &pos, const wxSize &size)
 
 ~ShowCamWxFormat7Frame ()
 Destructor. More...
 

Public Attributes

int bpp
 
int bppMax_
 
int bppMin_
 
int colorMode
 
ImageBase::EColorModel colorModeView
 
int xOffset
 
int xOffsetMax_
 
int xOffsetMin_
 
int xSize
 
int xSizeMax_
 
int xSizeMin_
 
int yOffset
 
int yOffsetMax_
 
int yOffsetMin_
 
int ySize
 
int ySizeMax_
 
int ySizeMin_
 

Protected Member Functions

void AdjustBytesPerPacket ()
 
void CalcFPS ()
 
void ScrollSliderHelper (wxSlider *slider, int &size, int &sizeMin, int sizeMax=0, wxSlider *sliderSize=NULL, bool isOffset=false)
 

Protected Attributes

wxSlider * BpPSB
 
int CamID_
 
wxChoice * colorModeCB
 
wxChoice * colorModeViewCB
 
VideoSource_DCAMdcam
 
wxTextCtrl * directAccessXOffset
 
wxTextCtrl * directAccessXSize
 
wxTextCtrl * directAccessYOffset
 
wxTextCtrl * directAccessYSize
 
wxButton * itemButtonCancel
 
wxButton * itemButtonCheck
 
wxButton * itemButtonOK
 
wxTextCtrl * itemStaticTextFPS
 
wxTextCtrl * itemTextCtrlBpP
 
wxTextCtrl * itemTextCtrlPacketsize
 
wxTextCtrl * itemTextCtrlXOffset
 
wxTextCtrl * itemTextCtrlXSize
 
wxTextCtrl * itemTextCtrlYOffset
 
wxTextCtrl * itemTextCtrlYSize
 
dc1394video_mode_t Mode_
 
wxSlider * xOffsetSB
 
wxSlider * xSizeSB
 
wxSlider * yOffsetSB
 
wxSlider * ySizeSB
 

Detailed Description

Definition at line 64 of file ShowCamWxFormat7Frame.hh.

Constructor & Destructor Documentation

ShowCamWxFormat7Frame::ShowCamWxFormat7Frame ( wxFrame *  parent,
const wxString &  title,
const wxPoint &  pos,
const wxSize &  size 
)

ShowCamWxFormat7Frame constructors

Definition at line 63 of file ShowCamWxFormat7Frame.cpp.

ShowCamWxFormat7Frame::~ShowCamWxFormat7Frame ( )

Destructor.

ShowCamWxFormat7Frame destructor

Definition at line 84 of file ShowCamWxFormat7Frame.cpp.

Member Function Documentation

void ShowCamWxFormat7Frame::AdjustBytesPerPacket ( )
protected

Definition at line 433 of file ShowCamWxFormat7Frame.cpp.

void ShowCamWxFormat7Frame::CalcFPS ( )
protected

Definition at line 501 of file ShowCamWxFormat7Frame.cpp.

Referenced by SetBpP(), SetXOffset(), SetXSize(), SetYOffset(), and SetYSize().

void ShowCamWxFormat7Frame::CreateControls ( )

Creates the controls and sizers.

Control creation for ProjectDefinitionFrame

Definition at line 106 of file ShowCamWxFormat7Frame.cpp.

void ShowCamWxFormat7Frame::Init ( )

Initialises member variables.

Member initialisation

Definition at line 92 of file ShowCamWxFormat7Frame.cpp.

void BIAS::ShowCamWxFormat7Frame::OnButtonApply ( wxCommandEvent &  event)
void ShowCamWxFormat7Frame::OnButtonCancel ( wxCommandEvent &  event)

Definition at line 351 of file ShowCamWxFormat7Frame.cpp.

void ShowCamWxFormat7Frame::OnButtonCheck ( wxCommandEvent &  event)

Definition at line 360 of file ShowCamWxFormat7Frame.cpp.

void BIAS::ShowCamWxFormat7Frame::OnButtonExit ( wxCommandEvent &  event)
void ShowCamWxFormat7Frame::OnButtonOK ( wxCommandEvent &  event)

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON_ADDCCD

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON_OK

Definition at line 275 of file ShowCamWxFormat7Frame.cpp.

References BIAS::ImageBase::CM_Bayer_BGGR, BIAS::ImageBase::CM_Bayer_GBRG, BIAS::ImageBase::CM_Bayer_GRBG, BIAS::ImageBase::CM_Bayer_RGGB, BIAS::ImageBase::CM_Grey, and BIAS::ImageBase::CM_invalid.

void ShowCamWxFormat7Frame::OnCloseWindow ( wxCloseEvent &  event)

wxEVT_CLOSE_WINDOW event handler for ID_PROJECTDEFINITIONFRAME

wxEVT_CLOSE_WINDOW event handler for ID_PROJECTDEFINITIONFRAME

Definition at line 265 of file ShowCamWxFormat7Frame.cpp.

void ShowCamWxFormat7Frame::OnScrollSlider ( wxScrollEvent &  event)

Definition at line 444 of file ShowCamWxFormat7Frame.cpp.

void ShowCamWxFormat7Frame::OnSlide ( wxScrollEvent &  event)

Definition at line 483 of file ShowCamWxFormat7Frame.cpp.

void ShowCamWxFormat7Frame::OnTextChange ( wxCommandEvent &  event)

Definition at line 391 of file ShowCamWxFormat7Frame.cpp.

void ShowCamWxFormat7Frame::ScrollSliderHelper ( wxSlider *  slider,
int &  size,
int &  sizeMin,
int  sizeMax = 0,
wxSlider *  sliderSize = NULL,
bool  isOffset = false 
)
protected

Definition at line 398 of file ShowCamWxFormat7Frame.cpp.

void BIAS::ShowCamWxFormat7Frame::SetBpP ( int  min,
int  max,
int  value = -1 
)
inline

Definition at line 126 of file ShowCamWxFormat7Frame.hh.

References bppMax_, bppMin_, BpPSB, and CalcFPS().

void BIAS::ShowCamWxFormat7Frame::SetCameraIDandMode ( int  camid,
dc1394video_mode_t  mode 
)
inline

Definition at line 135 of file ShowCamWxFormat7Frame.hh.

References CamID_, and Mode_.

void BIAS::ShowCamWxFormat7Frame::SetXOffset ( int  xoffmin,
int  xoffmax 
)
inline

Definition at line 113 of file ShowCamWxFormat7Frame.hh.

References CalcFPS(), xOffsetMax_, xOffsetMin_, and xOffsetSB.

void BIAS::ShowCamWxFormat7Frame::SetXSize ( int  xmin,
int  xmax 
)
inline

Definition at line 96 of file ShowCamWxFormat7Frame.hh.

References CalcFPS(), directAccessXSize, xSize, xSizeMax_, xSizeMin_, and xSizeSB.

void BIAS::ShowCamWxFormat7Frame::SetYOffset ( int  yoffmin,
int  yoffmax 
)
inline

Definition at line 119 of file ShowCamWxFormat7Frame.hh.

References CalcFPS(), yOffsetMax_, yOffsetMin_, and yOffsetSB.

void BIAS::ShowCamWxFormat7Frame::SetYSize ( int  ymin,
int  ymax 
)
inline

Definition at line 105 of file ShowCamWxFormat7Frame.hh.

References CalcFPS(), directAccessYSize, xSizeMin_, ySizeMax_, ySizeMin_, and ySizeSB.

Member Data Documentation

int BIAS::ShowCamWxFormat7Frame::bpp

Definition at line 138 of file ShowCamWxFormat7Frame.hh.

int BIAS::ShowCamWxFormat7Frame::bppMax_

Definition at line 145 of file ShowCamWxFormat7Frame.hh.

Referenced by SetBpP().

int BIAS::ShowCamWxFormat7Frame::bppMin_

Definition at line 145 of file ShowCamWxFormat7Frame.hh.

Referenced by SetBpP().

wxSlider* BIAS::ShowCamWxFormat7Frame::BpPSB
protected

Definition at line 176 of file ShowCamWxFormat7Frame.hh.

Referenced by SetBpP().

int BIAS::ShowCamWxFormat7Frame::CamID_
protected

Definition at line 178 of file ShowCamWxFormat7Frame.hh.

Referenced by SetCameraIDandMode().

int BIAS::ShowCamWxFormat7Frame::colorMode

Definition at line 138 of file ShowCamWxFormat7Frame.hh.

wxChoice* BIAS::ShowCamWxFormat7Frame::colorModeCB
protected

Definition at line 174 of file ShowCamWxFormat7Frame.hh.

ImageBase::EColorModel BIAS::ShowCamWxFormat7Frame::colorModeView

Definition at line 142 of file ShowCamWxFormat7Frame.hh.

wxChoice* BIAS::ShowCamWxFormat7Frame::colorModeViewCB
protected

Definition at line 175 of file ShowCamWxFormat7Frame.hh.

VideoSource_DCAM* BIAS::ShowCamWxFormat7Frame::dcam
protected

Definition at line 181 of file ShowCamWxFormat7Frame.hh.

wxTextCtrl* BIAS::ShowCamWxFormat7Frame::directAccessXOffset
protected

Definition at line 167 of file ShowCamWxFormat7Frame.hh.

wxTextCtrl* BIAS::ShowCamWxFormat7Frame::directAccessXSize
protected

Definition at line 165 of file ShowCamWxFormat7Frame.hh.

Referenced by SetXSize().

wxTextCtrl* BIAS::ShowCamWxFormat7Frame::directAccessYOffset
protected

Definition at line 168 of file ShowCamWxFormat7Frame.hh.

wxTextCtrl* BIAS::ShowCamWxFormat7Frame::directAccessYSize
protected

Definition at line 166 of file ShowCamWxFormat7Frame.hh.

Referenced by SetYSize().

wxButton* BIAS::ShowCamWxFormat7Frame::itemButtonCancel
protected

Definition at line 152 of file ShowCamWxFormat7Frame.hh.

wxButton* BIAS::ShowCamWxFormat7Frame::itemButtonCheck
protected

Definition at line 153 of file ShowCamWxFormat7Frame.hh.

wxButton* BIAS::ShowCamWxFormat7Frame::itemButtonOK
protected

Definition at line 151 of file ShowCamWxFormat7Frame.hh.

wxTextCtrl* BIAS::ShowCamWxFormat7Frame::itemStaticTextFPS
protected

Definition at line 162 of file ShowCamWxFormat7Frame.hh.

wxTextCtrl* BIAS::ShowCamWxFormat7Frame::itemTextCtrlBpP
protected

Definition at line 160 of file ShowCamWxFormat7Frame.hh.

wxTextCtrl* BIAS::ShowCamWxFormat7Frame::itemTextCtrlPacketsize
protected

Definition at line 159 of file ShowCamWxFormat7Frame.hh.

wxTextCtrl* BIAS::ShowCamWxFormat7Frame::itemTextCtrlXOffset
protected

Definition at line 157 of file ShowCamWxFormat7Frame.hh.

wxTextCtrl* BIAS::ShowCamWxFormat7Frame::itemTextCtrlXSize
protected

Definition at line 155 of file ShowCamWxFormat7Frame.hh.

wxTextCtrl* BIAS::ShowCamWxFormat7Frame::itemTextCtrlYOffset
protected

Definition at line 158 of file ShowCamWxFormat7Frame.hh.

wxTextCtrl* BIAS::ShowCamWxFormat7Frame::itemTextCtrlYSize
protected

Definition at line 156 of file ShowCamWxFormat7Frame.hh.

dc1394video_mode_t BIAS::ShowCamWxFormat7Frame::Mode_
protected

Definition at line 180 of file ShowCamWxFormat7Frame.hh.

Referenced by SetCameraIDandMode().

int BIAS::ShowCamWxFormat7Frame::xOffset

Definition at line 138 of file ShowCamWxFormat7Frame.hh.

int BIAS::ShowCamWxFormat7Frame::xOffsetMax_

Definition at line 143 of file ShowCamWxFormat7Frame.hh.

Referenced by SetXOffset().

int BIAS::ShowCamWxFormat7Frame::xOffsetMin_

Definition at line 143 of file ShowCamWxFormat7Frame.hh.

Referenced by SetXOffset().

wxSlider* BIAS::ShowCamWxFormat7Frame::xOffsetSB
protected

Definition at line 172 of file ShowCamWxFormat7Frame.hh.

Referenced by SetXOffset().

int BIAS::ShowCamWxFormat7Frame::xSize

Definition at line 138 of file ShowCamWxFormat7Frame.hh.

Referenced by SetXSize().

int BIAS::ShowCamWxFormat7Frame::xSizeMax_

Definition at line 143 of file ShowCamWxFormat7Frame.hh.

Referenced by SetXSize().

int BIAS::ShowCamWxFormat7Frame::xSizeMin_

Definition at line 143 of file ShowCamWxFormat7Frame.hh.

Referenced by SetXSize(), and SetYSize().

wxSlider* BIAS::ShowCamWxFormat7Frame::xSizeSB
protected

Definition at line 170 of file ShowCamWxFormat7Frame.hh.

Referenced by SetXSize().

int BIAS::ShowCamWxFormat7Frame::yOffset

Definition at line 138 of file ShowCamWxFormat7Frame.hh.

int BIAS::ShowCamWxFormat7Frame::yOffsetMax_

Definition at line 144 of file ShowCamWxFormat7Frame.hh.

Referenced by SetYOffset().

int BIAS::ShowCamWxFormat7Frame::yOffsetMin_

Definition at line 144 of file ShowCamWxFormat7Frame.hh.

Referenced by SetYOffset().

wxSlider* BIAS::ShowCamWxFormat7Frame::yOffsetSB
protected

Definition at line 173 of file ShowCamWxFormat7Frame.hh.

Referenced by SetYOffset().

int BIAS::ShowCamWxFormat7Frame::ySize

Definition at line 138 of file ShowCamWxFormat7Frame.hh.

int BIAS::ShowCamWxFormat7Frame::ySizeMax_

Definition at line 143 of file ShowCamWxFormat7Frame.hh.

Referenced by SetYSize().

int BIAS::ShowCamWxFormat7Frame::ySizeMin_

Definition at line 143 of file ShowCamWxFormat7Frame.hh.

Referenced by SetYSize().

wxSlider* BIAS::ShowCamWxFormat7Frame::ySizeSB
protected

Definition at line 171 of file ShowCamWxFormat7Frame.hh.

Referenced by SetYSize().


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