 |
Visual Servoing Platform
version 3.3.0
|
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>
138 vp_deprecated
double euclideanNorm()
const;
139 double frobeniusNorm()
const;
160 #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
165 inline double &
operator[](
unsigned int n) {
return *(data + n); }
167 inline const double &
operator[](
unsigned int n)
const {
return *(data + n); }
178 void resize(
unsigned int nrows,
unsigned int ncols,
bool flagNullify =
true)
186 void set(
double tx,
double ty,
double tz);
191 double sumSquare()
const;
Class that consider the case of a translation vector.
Implementation of a generic 2D array used as base class for matrices and vectors.
Implementation of column vector and the associated operations.
Implementation of a matrix and operations on matrices.
vpArray2D< Type > & operator=(Type x)
Set all the elements of the array to x.
vpColVector operator*(const double &x, const vpColVector &v)
Implementation of a pose vector and operations on poses.
double & operator[](unsigned int n)
Operator that allows to set a value of an element : t[i] = x.
Implementation of row vector and the associated operations.
Implementation of an homogeneous matrix and operations on such kind of matrices.
error that can be emited by ViSP classes.
void resize(unsigned int nrows, unsigned int ncols, bool flagNullify=true)
friend std::ostream & operator<<(std::ostream &s, const vpArray2D< Type > &A)
const double & operator[](unsigned int n) const
Operator that allows to get the value of an element : x = t[i].