|
SOFUS ..
|
ApertureData structure. More...
#include <fnm_data.hpp>


Public Types | |
| typedef sps::unique_aligned_multi_array< sps::element_rect_t< T >, 2U > | element_array |
| template<typename U > | |
| using | unique_aligned_array = sps::unique_aligned_array< U > |
Public Member Functions | |
| ApertureData () | |
| Ctor. More... | |
| void | ElementsSet (element_array &&elements, const size_t &nRows, const size_t &nCols) |
| int | Rotate (const sps::point_t< T > &reference, const sps::euler_t< T > &euler) |
| int | ApodizationSet (sps::unique_aligned_array< T > &&apodization, const size_t nElements) |
| int | ApodizationSet (const sps::point_t< T > &direction, const T &depth, const ApodizationType &type) |
| int | ElementsRefGet (size_t *nElements, size_t *nSubElements, const sps::element_rect_t< T > **&elements) const |
| int | ApodizationsRefGet (size_t *nElements, const T *&apodizations) const |
| int | DelaysRefGet (size_t *nElements, const T *&delays) const |
| void | ElementExtentGet (const size_t iElement, sps::bbox_t< T > *pBox) const |
| void | ExtentGet (sps::bbox_t< T > *pBbox) const |
| T | AreaGet () const |
| ~ApertureData () | |
Public Attributes | |
| size_t | m_nelements |
| Number of elements. More... | |
| size_t | m_nsubelements |
| Number of sub-elements per element. More... | |
| size_t | m_npos |
| Number of positions, equals number of elements. More... | |
| element_array | m_elements |
| Elements (nElements x nSubElements) More... | |
| unique_aligned_array< sps::point_t< T > > | m_pos |
| Focus positions. More... | |
| unique_aligned_array< T > | m_sensitivities |
| Apodization values (sensitivity) More... | |
| unique_aligned_array< T > | m_phases |
| Phases, range is (-pi;pi]. More... | |
| unique_aligned_array< T > | m_delays |
| Delays. More... | |
| T | m_f0 |
| Center frequency (nominal frequency) More... | |
| sps::point_t< T > | m_focus |
| Focus point. More... | |
| sps::point_t< T > | m_focus2 |
| Focus point. More... | |
| sps::point_t< T > | m_center_focus |
| Center Focus point. More... | |
| int | m_focus_type |
| Focusing Type, Rayleigh, Pythagorean or Delays (fixed) More... | |
| int | m_apodization_type |
| Apodization Type, Parametric, Hamming or Gaussian. More... | |
| T | m_fnumber |
| F-number. More... | |
| unique_aligned_array< sps::rect_t< T > > | m_rectangles |
| Rectangles. More... | |
| unique_aligned_array< sps::bbox_t< T > > | m_boxes |
| Boxes encapsulating sub-elements for each element. More... | |
| T | m_h_xyz [3] |
| Maximum half width or height (used for far field memory allocation) More... | |
| int | m_focus_valid |
| Validity of focus, if equal m_focus_type, phases are valid. More... | |
| size_t | m_id |
| Unique identifier. More... | |
| sofus::AperturePulses< T > * | m_pulses |
Static Public Attributes | |
| static size_t | nextID |
| Next unique identifier to use. More... | |
ApertureData structure.
A struct containing data of the aperture
| T | floating point type |
| typedef sps::unique_aligned_multi_array<sps::element_rect_t<T>, 2U> element_array |
| using unique_aligned_array = sps::unique_aligned_array<U> |
| ApertureData | ( | ) |
Ctor.
| ~ApertureData | ( | ) |
Dtor
| int ApodizationSet | ( | const sps::point_t< T > & | direction, |
| const T & | depth, | ||
| const ApodizationType & | type | ||
| ) |
| int ApodizationSet | ( | sps::unique_aligned_array< T > && | apodization, |
| const size_t | nElements | ||
| ) |
| int ApodizationsRefGet | ( | size_t * | nElements, |
| const T *& | apodizations | ||
| ) | const |
Get reference to apodizations
| nElements | |
| apodizations | pointer to const apodizations |
| T AreaGet | ( | ) | const |
Total acoustic area
| int DelaysRefGet | ( | size_t * | nElements, |
| const T *& | delays | ||
| ) | const |
| nElements | |
| delays |
| void ElementExtentGet | ( | const size_t | iElement, |
| sps::bbox_t< T > * | pBox | ||
| ) | const |
ElementExtentGet
| iElement | |
| bbox | Bounding box enclosing sub-elements for the i'th element |
| int ElementsRefGet | ( | size_t * | nElements, |
| size_t * | nSubElements, | ||
| const sps::element_rect_t< T > **& | elements | ||
| ) | const |
Get reference to (sub)-elements
| nElements | |
| nSubElements | |
| elements | double-pointer to const elements |
| void ElementsSet | ( | element_array && | elements, |
| const size_t & | nRows, | ||
| const size_t & | nCols | ||
| ) |
Set elements. Data are moved
| elements | |
| nRows | |
| nCols |
| void ExtentGet | ( | sps::bbox_t< T > * | pBbox | ) | const |
Return extent of aperture in directions: x, y, and z
| pBbox[out] | Bounding box enclosing aperture |
| int Rotate | ( | const sps::point_t< T > & | reference, |
| const sps::euler_t< T > & | euler | ||
| ) |
| int m_apodization_type |
Apodization Type, Parametric, Hamming or Gaussian.
| unique_aligned_array<sps::bbox_t<T> > m_boxes |
Boxes encapsulating sub-elements for each element.
| sps::point_t<T> m_center_focus |
Center Focus point.
| unique_aligned_array<T> m_delays |
Delays.
| element_array m_elements |
Elements (nElements x nSubElements)
| T m_f0 |
Center frequency (nominal frequency)
| T m_fnumber |
F-number.
| sps::point_t<T> m_focus |
Focus point.
| sps::point_t<T> m_focus2 |
Focus point.
| int m_focus_type |
Focusing Type, Rayleigh, Pythagorean or Delays (fixed)
| int m_focus_valid |
Validity of focus, if equal m_focus_type, phases are valid.
| T m_h_xyz[3] |
Maximum half width or height (used for far field memory allocation)
| size_t m_id |
Unique identifier.
| size_t m_nelements |
Number of elements.
| size_t m_npos |
Number of positions, equals number of elements.
| size_t m_nsubelements |
Number of sub-elements per element.
| unique_aligned_array<T> m_phases |
Phases, range is (-pi;pi].
| unique_aligned_array<sps::point_t<T> > m_pos |
Focus positions.
| sofus::AperturePulses<T>* m_pulses |
| unique_aligned_array<sps::rect_t<T> > m_rectangles |
Rectangles.
| unique_aligned_array<T> m_sensitivities |
Apodization values (sensitivity)
|
static |
Next unique identifier to use.