Spinnaker SDK C++
4.2.0.21
 
 

 
Loading...
Searching...
No Matches

#include <ViewerDlg.h>

Public Member Functions

 ViewerDlg (void)
 Default constructor.
 
 ~ViewerDlg (void)
 Default destructor.
 
bool Connect (Spinnaker::CameraPtr camera)
 Connect ImageDrawingWindow to camera.
 
void StartStreaming ()
 Start image streaming.
 
void StopStreaming ()
 Stop image streaming.
 
std::string GetTitle ()
 Set the window title.
 
void SetTitle (std::string title)
 Get the window title.
 
void Disconnect ()
 Disconnect the ImageDrawingWindow from associated camera object.
 
bool IsConnected ()
 Get a boolean indicating whether Window is connected to a camera object.
 
void Open ()
 Show the ImageDrawingWindow.
 
void Close ()
 Hide the ImageDrawingWindow.
 

Protected Attributes

Spinnaker::GUI_WPF::ImageDrawingWindowm_pWPFViewer
 

Constructor & Destructor Documentation

◆ ViewerDlg()

ViewerDlg ( void  )

Default constructor.

◆ ~ViewerDlg()

~ViewerDlg ( void  )

Default destructor.

Member Function Documentation

◆ Close()

void Close ( )

Hide the ImageDrawingWindow.

◆ Connect()

bool Connect ( Spinnaker::CameraPtr  camera)

Connect ImageDrawingWindow to camera.

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

◆ Disconnect()

void Disconnect ( )

Disconnect the ImageDrawingWindow from associated camera object.

◆ GetTitle()

std::string GetTitle ( )

Set the window title.

Parameters
stringrepresenting the title.

◆ IsConnected()

bool IsConnected ( )

Get a boolean indicating whether Window is connected to a camera object.

Returns
boolean indicating connection status.

◆ Open()

void Open ( )

Show the ImageDrawingWindow.

◆ SetTitle()

void SetTitle ( std::string  title)

Get the window title.

Returns
string representing the title.

◆ StartStreaming()

void StartStreaming ( )

Start image streaming.

◆ StopStreaming()

void StopStreaming ( )

Stop image streaming.

Member Data Documentation

◆ m_pWPFViewer

Spinnaker::GUI_WPF::ImageDrawingWindow* m_pWPFViewer
protected

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