Skip to content

Class Spinnaker::GUI::ViewerDlg

ClassList > GUI > ViewerDlg

  • #include <ViewerDlg.h>

Public Functions

Type Name
void Close ()
bool Connect (Spinnaker::CameraPtr camera)
void Disconnect ()
std::string GetTitle ()
bool IsConnected ()
void Open ()
void SetTitle (std::string title)
void StartStreaming ()
void StopStreaming ()
ViewerDlg (void)
~ViewerDlg (void)

Protected Attributes

Type Name
Spinnaker::GUI_WPF::ImageDrawingWindow * m_pWPFViewer

Public Functions Documentation

function Close

void GUI::ViewerDlg::Close () 

Hide the ImageDrawingWindow.


function Connect

bool GUI::ViewerDlg::Connect (
    Spinnaker::CameraPtr camera
) 

Connect ImageDrawingWindow to camera.

Parameters:

  • pointer to a camera object

Returns:

boolean indicating whether the operation was successful


function Disconnect

void GUI::ViewerDlg::Disconnect () 

Disconnect the ImageDrawingWindow from associated camera object.


function GetTitle

std::string GUI::ViewerDlg::GetTitle () 

Set the window title.

Parameters:

  • string representing the title.

function IsConnected

bool GUI::ViewerDlg::IsConnected () 

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

Returns:

boolean indicating connection status.


function Open

void GUI::ViewerDlg::Open () 

Show the ImageDrawingWindow.


function SetTitle

void GUI::ViewerDlg::SetTitle (
    std::string title
) 

Get the window title.

Returns:

string representing the title.


function StartStreaming

void GUI::ViewerDlg::StartStreaming () 

Start image streaming.


function StopStreaming

void GUI::ViewerDlg::StopStreaming () 

Stop image streaming.


function ViewerDlg

GUI::ViewerDlg::ViewerDlg (
    void
) 

Default constructor.


function ~ViewerDlg

GUI::ViewerDlg::~ViewerDlg (
    void
) 

Default destructor.


Protected Attributes Documentation

variable m_pWPFViewer

Spinnaker::GUI_WPF::ImageDrawingWindow* Spinnaker::GUI::ViewerDlg::m_pWPFViewer;


The documentation for this class was generated from the following file C:/workspace/include/GUI/ViewerDlg.h