44 #ifndef VPHOMOGENEOUSMATRIX_HH 45 #define VPHOMOGENEOUSMATRIX_HH 59 #include <visp3/core/vpArray2D.h> 60 #include <visp3/core/vpRotationMatrix.h> 61 #include <visp3/core/vpThetaUVector.h> 63 #include <visp3/core/vpPoseVector.h> 103 vpHomogeneousMatrix(
const double tx,
const double ty,
const double tz,
const double tux,
const double tuy,
114 void buildFrom(
const std::vector<float> &v);
115 void buildFrom(
const std::vector<double> &v);
116 void buildFrom(
const double tx,
const double ty,
const double tz,
const double tux,
const double tuy,
119 void convert(std::vector<float> &M);
120 void convert(std::vector<double> &M);
136 bool isAnHomogeneousMatrix()
const;
149 void load(std::ifstream &f);
151 void save(std::ofstream &f)
const;
170 void resize(
const unsigned int nrows,
const unsigned int ncols,
const bool flagNullify =
true)
180 #if defined(VISP_BUILD_DEPRECATED_FUNCTIONS) 193 vp_deprecated
void setIdentity();
Implementation of a matrix and operations on matrices.
static bool save(const std::string &filename, const vpArray2D< Type > &A, const bool binary=false, const char *header="")
vpArray2D< Type > & operator=(Type x)
Set all the elements of the array to x.
Implementation of an homogeneous matrix and operations on such kind of matrices.
virtual ~vpHomogeneousMatrix()
error that can be emited by ViSP classes.
Implementation of a generic 2D array used as vase class of matrices and vectors.
Class that defines what is a point.
Implementation of a rotation matrix and operations on such kind of matrices.
vpColVector operator*(const double &x, const vpColVector &v)
void resize(const unsigned int nrows, const unsigned int ncols, const bool flagNullify=true)
vp_deprecated void init()
static bool load(const std::string &filename, vpArray2D< Type > &A, const bool binary=false, char *header=NULL)
Implementation of a rotation vector as quaternion angle minimal representation.
Implementation of column vector and the associated operations.
Implementation of a pose vector and operations on poses.
Class that consider the case of a translation vector.
Implementation of a rotation vector as axis-angle minimal representation.