Spinnaker SDK C++
4.1.0.172
 
 

 
Loading...
Searching...
No Matches

#include <SpinnakerGUI.h>

Public Member Functions

 GUIFactory (void)
 Default constructor.
 
 ~GUIFactory (void)
 Default destructor.
 
bool ConnectGUILib (Spinnaker::CameraPtr camera)
 Connect GUI Factory to camera object.
 
void DisconnectGUILib ()
 Disconnect GUI Factory from camera object.
 
bool IsConnected ()
 Get a boolean indicating whether GUI Factory is connected to a camera object.
 
std::list< std::string > GetDialogNameList ()
 Get a list of dialog names.
 
std::list< std::string > GetControlNameList ()
 Get dialog with specific name.
 
int GetNumDlgs ()
 Get number of dialogs contained in GUI Factory.
 
void ShowDlgByIndex (unsigned int index)
 Display dialog at specific name list index.
 
void ShowDlgByName (std::string dialogName)
 Display dialog with specific name.
 
void HideDlgByIndex (unsigned int index)
 Hide dialog at specific name list index.
 
void HideDlgByName (std::string dialogName)
 Hide dialog with specific name.
 
int GetNumCtrls ()
 Return number of controls contained in GUI Factory.
 

Static Public Member Functions

static CameraSelectionDlgGetCameraSelectionDlg ()
 Statically Get Camera Selection Window from GUI Factory.
 
static PropertyGridDlgGetPropertyGridDlg ()
 Statically Get PropertyGridWindow from GUI Factory.
 
static ViewerDlgGetViewer ()
 Statically Get Image Drawing Window.
 

Protected Attributes

Spinnaker::GUI_WPF::GUIFactorym_pWPFGUIFactory
 
bool m_bisConnected
 

Static Protected Attributes

static CameraSelectionDlgm_pCameraSelectionDialog
 
static ViewerDlgm_pViewer
 
static PropertyGridDlgm_pPropertyGridDialog
 

Constructor & Destructor Documentation

◆ GUIFactory()

GUIFactory ( void  )

Default constructor.

◆ ~GUIFactory()

~GUIFactory ( void  )

Default destructor.

Member Function Documentation

◆ ConnectGUILib()

bool ConnectGUILib ( Spinnaker::CameraPtr  camera)

Connect GUI Factory to camera object.

Parameters
pointerto a camera object
Returns
boolean indicating whether operation was successful

◆ DisconnectGUILib()

void DisconnectGUILib ( )

Disconnect GUI Factory from camera object.

◆ GetCameraSelectionDlg()

static CameraSelectionDlg * GetCameraSelectionDlg ( )
static

Statically Get Camera Selection Window from GUI Factory.

Returns
A pointer to CameraSelectionWindow. User has ownership of this pointer.

◆ GetControlNameList()

std::list< std::string > GetControlNameList ( )

Get dialog with specific name.

Parameters
stringholding dialog name

◆ GetDialogNameList()

std::list< std::string > GetDialogNameList ( )

Get a list of dialog names.

Returns
string list of dialog names

◆ GetNumCtrls()

int GetNumCtrls ( )

Return number of controls contained in GUI Factory.

Returns
number of controls

◆ GetNumDlgs()

int GetNumDlgs ( )

Get number of dialogs contained in GUI Factory.

Returns
number of dialogs

◆ GetPropertyGridDlg()

static PropertyGridDlg * GetPropertyGridDlg ( )
static

Statically Get PropertyGridWindow from GUI Factory.

Returns
A pointer to PropertyGridWindow. User has ownership of this pointer.

◆ GetViewer()

static ViewerDlg * GetViewer ( )
static

Statically Get Image Drawing Window.

Returns
A pointer to ImageDrawingWindow. User has ownership of this pointer.

◆ HideDlgByIndex()

void HideDlgByIndex ( unsigned int  index)

Hide dialog at specific name list index.

Parameters
nameindex of dialog to be shown

◆ HideDlgByName()

void HideDlgByName ( std::string  dialogName)

Hide dialog with specific name.

Parameters
stringholding dialog name

◆ IsConnected()

bool IsConnected ( )
inline

Get a boolean indicating whether GUI Factory is connected to a camera object.

Returns
boolean indicating connection status.

◆ ShowDlgByIndex()

void ShowDlgByIndex ( unsigned int  index)

Display dialog at specific name list index.

Parameters
nameindex of dialog to be shown

◆ ShowDlgByName()

void ShowDlgByName ( std::string  dialogName)

Display dialog with specific name.

Parameters
stringholding dialog name

Member Data Documentation

◆ m_bisConnected

bool m_bisConnected
protected

◆ m_pCameraSelectionDialog

CameraSelectionDlg* m_pCameraSelectionDialog
staticprotected

◆ m_pPropertyGridDialog

PropertyGridDlg* m_pPropertyGridDialog
staticprotected

◆ m_pViewer

ViewerDlg* m_pViewer
staticprotected

◆ m_pWPFGUIFactory

Spinnaker::GUI_WPF::GUIFactory* m_pWPFGUIFactory
protected

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