39 #ifndef __usImagePostScan3D_h_
40 #define __usImagePostScan3D_h_
42 #include <visp3/core/vpConfig.h>
43 #include <visp3/ustk_core/usImage3D.h>
45 #include <visp3/ustk_core/usMotorSettings.h>
141 template <
class Type>
147 const usMotorSettings &motorSettings,
double spacingX,
double spacingY,
double spacingZ,
148 double scanLineDepth);
169 double m_elementSpacingX;
170 double m_elementSpacingY;
171 double m_elementSpacingZ;
173 double m_scanLineDepth;
179 template <
class Type>
182 m_elementSpacingZ(1.0), m_scanLineDepth(0.0)
190 template <
class Type>
193 m_elementSpacingX(other.getElementSpacingX()), m_elementSpacingY(other.getElementSpacingY()),
194 m_elementSpacingZ(other.getElementSpacingZ()), m_scanLineDepth(other.getScanLineDepth())
208 template <
class Type>
210 const usMotorSettings &motorSettings,
double spacingX,
double spacingY,
211 double spacingZ,
double scanLineDepth)
213 m_elementSpacingX(spacingX), m_elementSpacingY(spacingY), m_elementSpacingZ(spacingZ),
214 m_scanLineDepth(scanLineDepth)
260 return out << static_cast<const usImage3D<Type> &>(other) <<
static_cast<const usTransducerSettings &
>(other)
306 m_elementSpacingX = elementSpacingX;
315 m_elementSpacingY = elementSpacingY;
324 m_elementSpacingZ = elementSpacingZ;
333 m_scanLineDepth = scanLineDepth;
Representation of a physical image volume.
bool operator==(const usImage3D< Type > &other)
usImage3D< Type > & operator=(const usImage3D< Type > &other)
3D post-scan ultrasound image.
double getScanLineDepth() const
double getElementSpacingX() const
void setElementSpacingZ(double elementSpacingZ)
void setScanLineDepth(double scanLineDepth)
bool operator==(const usImagePostScan3D< Type > &other)
usImagePostScan3D(const usImagePostScan3D &other)
void setElementSpacingX(double elementSpacingX)
double getElementSpacingY() const
void setData(const usImage3D< Type > &image3D)
virtual ~usImagePostScan3D()
usImagePostScan3D(const usImage3D< Type > &image, const usTransducerSettings &transducerSettings, const usMotorSettings &motorSettings, double spacingX, double spacingY, double spacingZ, double scanLineDepth)
usImagePostScan3D< Type > & operator=(const usImagePostScan3D< Type > &other)
double getElementSpacingZ() const
void setElementSpacingY(double elementSpacingY)
Generic class for 3D ultrasound motor settings associated to the 3D probe used during acquisition.
usMotorSettings & operator=(const usMotorSettings &other)
bool operator==(const usMotorSettings &other)
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)