Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef MITKUSVideoDeviceCustomControls_H_HEADER_INCLUDED_
18 #define MITKUSVideoDeviceCustomControls_H_HEADER_INCLUDED_
19 
21 #include "mitkUSImageVideoSource.h"
22 #include "mitkUSVideoDevice.h"
23 
24 #include <itkObjectFactory.h>
25 
26 namespace mitk {
32  {
33  public:
36 
44  virtual void SetIsActive(bool isActive) override;
45 
49  virtual bool GetIsActive() override;
50 
55  void SetCropArea(USImageVideoSource::USImageCropping newArea);
56 
61 
65  void SetNewDepth(double depth);
66 
70  void SetNewProbeIdentifier(std::string probename);
71 
75  std::vector<mitk::USProbe::Pointer> GetProbes();
76 
80  std::vector<int> GetDepthsForProbe(std::string name);
81 
82  protected:
88  virtual ~USVideoDeviceCustomControls();
89 
90  bool m_IsActive;
92  };
93 } // namespace mitk
94 
95 #endif // MITKUSVideoDeviceCustomControls_H_HEADER_INCLUDED_
Superclass for all ultrasound device control interfaces. Defines an interface for activating and deac...
itk::SmartPointer< Self > Pointer
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:76
Defines a region of interest by distances to the four image borders.
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Custom controls for mitk::USVideoDevice. Controls image cropping of the corresponding mitk::USImageVi...