MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkUSVideoDeviceCustomControls.h
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found in the LICENSE file.
10
11============================================================================*/
12
13#ifndef mitkUSVideoDeviceCustomControls_h
14#define mitkUSVideoDeviceCustomControls_h
15
18#include "mitkUSVideoDevice.h"
19
20#include <itkObjectFactory.h>
21
22namespace mitk {
28 {
29 public:
32
40 void SetIsActive(bool isActive) override;
41
45 bool GetIsActive() override;
46
51 void SetCropArea(USImageVideoSource::USImageCropping newArea);
52
57
62 void UpdateProbeCropping( mitk::USImageVideoSource::USImageCropping cropping );
63
67 void SetNewDepth(double depth);
68
72 void SetNewProbeIdentifier(std::string probename);
73
77 std::vector<mitk::USProbe::Pointer> GetProbes();
78
82 std::vector<int> GetDepthsForProbe(std::string name);
83
88 void SetDefaultProbeAsCurrentProbe();
89
90 protected:
97
99 USImageVideoSource::Pointer m_ImageSource;
100 };
101} // namespace mitk
102
103#endif
Superclass for all ultrasound device control interfaces. Defines an interface for activating and deac...
Custom controls for mitk::USVideoDevice. Controls image cropping of the corresponding mitk::USImageVi...
mitkClassMacro(USVideoDeviceCustomControls, USAbstractControlInterface)
mitkNewMacro1Param(Self, itk::SmartPointer< USDevice >)
IGT Exceptions.
Defines a region of interest by distances to the four image borders.
Struct to define a probe specific ultrasound image cropping.
Definition mitkUSProbe.h:42