40 #ifndef vpTRANSLATIONVECTOR_H 41 #define vpTRANSLATIONVECTOR_H 48 #include <visp3/core/vpArray2D.h> 49 #include <visp3/core/vpHomogeneousMatrix.h> 50 #include <visp3/core/vpMatrix.h> 51 #include <visp3/core/vpPoseVector.h> 110 double euclideanNorm()
const;
134 inline double &
operator[](
unsigned int n) {
return *(data + n); }
136 inline const double &
operator[](
unsigned int n)
const {
return *(data + n); }
143 void resize(
const unsigned int nrows,
const unsigned int ncols,
const bool flagNullify =
true)
151 void set(
const double tx,
const double ty,
const double tz);
156 double sumSquare()
const;
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.
Implementation of row vector and the associated operations.
error that can be emited by ViSP classes.
double & operator[](unsigned int n)
Operator that allows to set a value of an element : t[i] = x.
Implementation of a generic 2D array used as vase class of matrices and vectors.
vpColVector operator*(const double &x, const vpColVector &v)
void resize(const unsigned int nrows, const unsigned int ncols, const bool flagNullify=true)
Implementation of column vector and the associated operations.
Implementation of a pose vector and operations on poses.
const double & operator[](unsigned int n) const
Operator that allows to get the value of an element : x = t[i].
Class that consider the case of a translation vector.