UsTK : Ultrasound ToolKit  version 2.0.1 under development (2023-12-07)
usImagePreScanSettings.h
1 /****************************************************************************
2  *
3  * This file is part of the ustk software.
4  * Copyright (C) 2016 - 2017 by Inria. All rights reserved.
5  *
6  * This software is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * ("GPL") version 2 as published by the Free Software Foundation.
9  * See the file LICENSE.txt at the root directory of this source
10  * distribution for additional information about the GNU GPL.
11  *
12  * For using ustk with software that can not be combined with the GNU
13  * GPL, please contact Inria about acquiring a ViSP Professional
14  * Edition License.
15  *
16  * This software was developed at:
17  * Inria Rennes - Bretagne Atlantique
18  * Campus Universitaire de Beaulieu
19  * 35042 Rennes Cedex
20  * France
21  *
22  * If you have questions regarding the use of this file, please contact
23  * Inria at ustk@inria.fr
24  *
25  * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
26  * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
27  *
28  * Authors:
29  * Pierre Chatelain
30  * Marc Pouliquen
31  *
32  *****************************************************************************/
33 
39 #ifndef __usImagePreScanSettings_h_
40 #define __usImagePreScanSettings_h_
41 
42 // std includes
43 #include <iostream>
44 
45 // visp includes
46 #include <visp3/core/vpConfig.h>
47 
48 // ustk includes
49 #include <visp3/ustk_core/usTransducerSettings.h>
50 
80 class VISP_EXPORT usImagePreScanSettings : public usTransducerSettings
81 {
82 public:
84  usImagePreScanSettings(const usTransducerSettings &transducerSettings, double axialResolution);
86  virtual ~usImagePreScanSettings();
87 
90 
91  double getAxialResolution() const;
92 
93  usImagePreScanSettings getImagePreScanSettings() const;
94 
96  bool operator==(const usImagePreScanSettings &other);
97 
98  void setAxialResolution(const double axialResolution);
99  void setImagePreScanSettings(const usImagePreScanSettings &preScanSettings);
100 
102 
103 private:
104  // Settings from the probe
105  double m_axialResolution;
106 };
107 #endif // __usImagePreScanSettings_h_
Settings associated to ultrasound pre-scan images implemented in usImageRF2D, usImageRF3D,...
Generic class for 2D ultrasound data common settings associated to the type of probe transducer used ...
usTransducerSettings & operator=(const usTransducerSettings &other)
bool operator==(usTransducerSettings const &other)