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> 169 #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11) 181 void buildFrom(
const std::vector<float> &v);
182 void buildFrom(
const std::vector<double> &v);
183 void buildFrom(
double tx,
double ty,
double tz,
double tux,
double tuy,
double tuz);
185 void convert(std::vector<float> &M);
186 void convert(std::vector<double> &M);
202 bool isAnHomogeneousMatrix(
double threshold=1e-6)
const;
215 void load(std::ifstream &f);
217 void save(std::ofstream &f)
const;
239 void resize(
unsigned int nrows,
unsigned int ncols,
bool flagNullify =
true)
249 #if defined(VISP_BUILD_DEPRECATED_FUNCTIONS) 262 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 a 3D point in the object frame and allows forward projection of a 3D point in the ...
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.
friend std::ostream & operator<<(std::ostream &s, const vpArray2D< Type > &A)
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)