 |
Visual Servoing Platform
version 3.3.0
|
41 #include <visp3/core/vpException.h>
42 #include <visp3/core/vpSubColVector.h>
56 init(v, offset, nrows);
69 "sub-column vector from an "
70 "empty parent column vector"));
73 if (offset + nrows <= v.
getRows()) {
87 for (
unsigned int i = 0; i < nrows; i++)
93 "completely containt in the parrent column vector"));
126 "Cannot initialize (%dx1) sub-column vector from "
127 "(%dx1) sub-column vector",
131 for (
unsigned int i = 0; i <
rowNum; i++)
145 "Cannot initialize (%dx1) sub-column vector from "
146 "(%dx1) column vector",
150 for (
unsigned int i = 0; i <
rowNum; i++)
168 for (
unsigned int i = 0; i <
rowNum; i++)
179 for (
unsigned int i = 0; i <
rowNum; i++)
unsigned int colNum
Number of columns in the array.
vp_deprecated void init()
virtual ~vpSubColVector()
Destructor that set the pointer to the parrent column vector to NULL.
void checkParentStatus() const
double ** rowPtrs
Address of the first element of each rows.
vp_deprecated void init()
Class that consider the case of a translation vector.
Implementation of column vector and the associated operations.
Implementation of a matrix and operations on matrices.
unsigned int rowNum
Number of rows in the array.
unsigned int getCols() const
Implementation of a generic rotation vector.
Implementation of a pose vector and operations on poses.
Type * data
Address of the first element of the data array.
vpColVector * parent
Parent vpColvector.
void resize(unsigned int i, bool flagNullify=true)
vpSubColVector()
Default constructor that creates an empty vector.
unsigned int dsize
Current array size (rowNum * colNum)
error that can be emited by ViSP classes.
unsigned int pRowNum
Number of row of parent vpColvector at initialization.
vpSubColVector & operator=(const vpSubColVector &B)
unsigned int getRows() const