|
NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
|
Go to the documentation of this file.
15 #include "cxResourceExport.h"
31 cxResource_EXPORT
bool similar(
double a,
double b,
double tol = 1.0E-6);
57 cxResource_EXPORT
bool similar(
const Eigen::Array3i& a,
const Eigen::Array3i& b);
61 cxResource_EXPORT Eigen::Vector2d
fromString(
const QString& text);
Namespace for all CustusX production code.
Vector3D multiply_elems(const Vector3D &a, const Vector3D &b)
perform element-wise multiplication of a and b.
Vector3D divide_elems(const Vector3D &a, const Vector3D &b)
perform element-wise division of a and b.
Vector3D cross(const Vector3D &a, const Vector3D &b)
compute cross product of a and b.
boost::shared_ptr< Vector3D > Vector3DPtr
double getThetaZ(Vector3D k)
get thetaZ, z meaning the elevation from the xy plane
Vector3D ceil(const Vector3D &a)
Vector3D round(const Vector3D &a)
Vector3D unitVector(double thetaXY, double thetaZ)
compute a unit vector given angles xy in the xy plane and z meaning the elevation from the xy plane.
double dot(const Vector3D &a, const Vector3D &b)
compute inner product (or dot product) of a and b.
bool similar(const CameraInfo &lhs, const CameraInfo &rhs, double tol)
double getThetaXY(Vector3D k)
get thetaXY, meaning the angle of v projected onto the xy plane
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
Eigen::Vector2d fromString(const QString &text)
QString prettyFormat(Vector3D val, int decimals, int fieldWidth)