Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
mitkUSVideoDeviceCustomControls.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef mitkUSVideoDeviceCustomControls_h
14
#define mitkUSVideoDeviceCustomControls_h
15
16
#include "
mitkUSAbstractControlInterface.h
"
17
#include "
mitkUSImageVideoSource.h
"
18
#include "
mitkUSVideoDevice.h
"
19
20
#include <itkObjectFactory.h>
21
22
namespace
mitk
{
27
class
MITKUS_EXPORT
USVideoDeviceCustomControls
:
public
USAbstractControlInterface
28
{
29
public
:
30
mitkClassMacro
(
USVideoDeviceCustomControls
,
USAbstractControlInterface
);
31
mitkNewMacro1Param
(Self,
itk::SmartPointer<USDevice>
);
32
40
void
SetIsActive(
bool
isActive)
override
;
41
45
bool
GetIsActive()
override
;
46
51
void
SetCropArea(
USImageVideoSource::USImageCropping
newArea);
52
56
mitk::USProbe::USProbeCropping
GetCropArea();
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
:
95
USVideoDeviceCustomControls
(
itk::SmartPointer<USDevice>
device);
96
~
USVideoDeviceCustomControls
()
override
;
97
98
bool
m_IsActive
;
99
USImageVideoSource::Pointer
m_ImageSource
;
100
};
101
}
// namespace mitk
102
103
#endif
mitk::USImageVideoSource::USImageCropping
Defines a region of interest by distances to the four image borders.
Definition:
mitkUSImageVideoSource.h:65
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition:
mitkCommon.h:68
itk::SmartPointer
Definition:
mitkIFileReader.h:30
mitk::USProbe::USProbeCropping_
Struct to define a probe specific ultrasound image cropping.
Definition:
mitkUSProbe.h:41
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::USVideoDeviceCustomControls
Custom controls for mitk::USVideoDevice. Controls image cropping of the corresponding mitk::USImageVi...
Definition:
mitkUSVideoDeviceCustomControls.h:27
mitk::USVideoDeviceCustomControls::m_IsActive
bool m_IsActive
Definition:
mitkUSVideoDeviceCustomControls.h:98
mitkUSAbstractControlInterface.h
mitkUSImageVideoSource.h
mitkUSVideoDevice.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitk::USVideoDeviceCustomControls::m_ImageSource
USImageVideoSource::Pointer m_ImageSource
Definition:
mitkUSVideoDeviceCustomControls.h:99
mitk::USAbstractControlInterface
Superclass for all ultrasound device control interfaces. Defines an interface for activating and deac...
Definition:
mitkUSAbstractControlInterface.h:32
src
MITK
Modules
US
USModel
mitkUSVideoDeviceCustomControls.h
Generated on Thu Nov 30 2023 15:58:57 for Medical Imaging Interaction Toolkit by
1.8.17