Skip to content

File ICameraControl.cs

File List > PGRControls > ICameraControl.cs

Go to the documentation of this file

//=============================================================================
// Copyright (c) 2026 FLIR Integrated Imaging Solutions, Inc. All Rights Reserved.
//
// This software is the confidential and proprietary information of FLIR
// Integrated Imaging Solutions, Inc. ("Confidential Information"). You
// shall not disclose such Confidential Information and shall use it only in
// accordance with the terms of the license agreement you entered into
// with FLIR Integrated Imaging Solutions, Inc. (FLIR)
//
// FLIR MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
// SOFTWARE, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
// PURPOSE, OR NON-INFRINGEMENT. FLIR SHALL NOT BE LIABLE FOR ANY DAMAGES
// SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
// THIS SOFTWARE OR ITS DERIVATIVES.
//=============================================================================

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using SpinnakerNET.GenApi;
using System.Windows.Controls;

namespace SpinnakerNET.GUI
{
    namespace WPFControls
    {
        public interface ICameraControl
        {
            void SetMin(double min);

            void SetMax(double max);

            void SetNameLabelBoldness(bool status);

            void SetControlNameLabel(string nameLabel);

            void SetNameLabelVisibility(System.Windows.Visibility visibility);

            void SetToolTip(string tooltip);

            void SetVisibility(System.Windows.Visibility visibility);

            void SetMinimumControlSize(Size newSize);

            void SetMaximumControlSize(Size newSize);

            void SetControlSize(Size newSize);

            void SetControlWidth(double width);

            void SetControlHeight(double height);

            void SetControlID(string id);

            void SetRefreshTime(int seconds);

            void SetMargin(System.Windows.Thickness margin);

            double GetMin();

            double GetMax();

            bool GetNameLabelBoldness();

            string GetControlNameLabel();

            System.Windows.Visibility GetNameLabelVisibility();

            string GetToolTip();

            System.Windows.Visibility GetVisibility();

            Size GetMinimumControlSize();

            Size GetMaximumControlSize();

            Size GetControlSize();

            double GetControlWidth();

            double GetControlHeight();

            string GetControlID();

            System.Windows.Thickness GetMargin();

            int GetRefreshTime();

            void Refresh();

            void Connect(INodeMap nodemap, string nodeName, string nameLabel);

            void Disconnect();

            bool GetFeatureAvailability();

            string GetNodeToControl();

            void SetDecimalPlaces(int decimalPlaces);

            int GetDecimalPlaces();
        }
    }
}