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> 170 void buildFrom(
const std::vector<float> &v);
171 void buildFrom(
const std::vector<double> &v);
172 void buildFrom(
double tx,
double ty,
double tz,
double tux,
double tuy,
double tuz);
174 void convert(std::vector<float> &M);
175 void convert(std::vector<double> &M);
191 bool isAnHomogeneousMatrix()
const;
204 void load(std::ifstream &f);
206 void save(std::ofstream &f)
const;
225 void resize(
unsigned int nrows,
unsigned int ncols,
bool flagNullify =
true)
235 #if defined(VISP_BUILD_DEPRECATED_FUNCTIONS) 248 vp_deprecated
void setIdentity();
Implementation of a matrix and operations on matrices.
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.
static bool save(const std::string &filename, const vpArray2D< Type > &A, bool binary=false, const char *header="")
void resize(unsigned int nrows, unsigned int ncols, bool flagNullify=true)
virtual ~vpHomogeneousMatrix()
error that can be emited by ViSP classes.
Implementation of a generic 2D array used as base class for 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)
vp_deprecated void init()
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.
static bool load(const std::string &filename, vpArray2D< Type > &A, bool binary=false, char *header=NULL)