Go to the source code of this file.
Typedefs | |
typedef ei_to_vcgtype< Matrix > ::type | EquivVcgType |
typedef vcg::VoidType | ParamType |
typedef Matrix | PointType |
Enumerations | |
enum | { Dimension = SizeAtCompileTime } |
Functions | |
template<typename OtherDerived > | |
static Matrix | Construct (const MatrixBase< OtherDerived > &b) |
constructor for points with different scalar type and-or dimensionality | |
template<typename OtherDerived > | |
static Matrix | ConstructHomo (const MatrixBase< OtherDerived > &b) |
constructor for homogeneus point. | |
void | FromPolar (const Scalar &ro, const Scalar &theta, const Scalar &phi) |
ParamType | GlobalToLocal (PointType) const |
template<typename OtherDerived > | |
void | Import (const MatrixBase< OtherDerived > &b) |
importer for points with different scalar type and-or dimensionality | |
template<typename OtherDerived > | |
void | ImportHomo (const MatrixBase< OtherDerived > &b) |
importer for homogeneous points | |
Matrix | LocalToGlobal (ParamType p) const |
operator const EquivVcgType & () const | |
operator EquivVcgType & () | |
void | ToPolar (Scalar &ro, Scalar &theta, Scalar &phi) const |
EIGEN_DEPRECATED const Scalar & | V (const int i) const |
EIGEN_DEPRECATED Scalar * | V () |
Scalar & | W () |
const Scalar & | X () const |
const Scalar & | Y () const |
const Scalar & | Z () const |
typedef ei_to_vcgtype<Matrix>::type EquivVcgType |
Definition at line 29 of file eigen_matrix_addons.h.
typedef vcg::VoidType ParamType |
Definition at line 30 of file eigen_matrix_addons.h.
Definition at line 31 of file eigen_matrix_addons.h.
anonymous enum |
Definition at line 28 of file eigen_matrix_addons.h.
static Matrix Construct | ( | const MatrixBase< OtherDerived > & | b | ) | [inline, static] |
constructor for points with different scalar type and-or dimensionality
Definition at line 51 of file eigen_matrix_addons.h.
static Matrix ConstructHomo | ( | const MatrixBase< OtherDerived > & | b | ) | [inline, static] |
constructor for homogeneus point.
Definition at line 68 of file eigen_matrix_addons.h.
void FromPolar | ( | const Scalar & | ro, | |
const Scalar & | theta, | |||
const Scalar & | phi | |||
) |
Convert from polar coordinates to cartesian coordinates.
Theta is the azimuth angle and ranges between [0, 360) degrees. Phi is the elevation angle (not the polar angle) and ranges between [-90, 90] degrees.
Definition at line 135 of file eigen_matrix_addons.h.
Glocal to Local (provided for uniformity with other spatial classes. trivial for points)
Definition at line 105 of file eigen_matrix_addons.h.
void Import | ( | const MatrixBase< OtherDerived > & | b | ) | [inline] |
importer for points with different scalar type and-or dimensionality
Definition at line 44 of file eigen_matrix_addons.h.
void ImportHomo | ( | const MatrixBase< OtherDerived > & | b | ) | [inline] |
importer for homogeneous points
Definition at line 56 of file eigen_matrix_addons.h.
Local to Glocal (provided for uniformity with other spatial classes. trivial for points)
Definition at line 102 of file eigen_matrix_addons.h.
operator const EquivVcgType & | ( | ) | const |
Definition at line 37 of file eigen_matrix_addons.h.
operator EquivVcgType & | ( | ) |
Definition at line 36 of file eigen_matrix_addons.h.
void ToPolar | ( | Scalar & | ro, | |
Scalar & | theta, | |||
Scalar & | phi | |||
) | const |
Convert to polar coordinates from cartesian coordinates.
Theta is the azimuth angle and ranges between [0, 360) degrees. Phi is the elevation angle (not the polar angle) and ranges between [-90, 90] degrees.
Definition at line 117 of file eigen_matrix_addons.h.
EIGEN_DEPRECATED Scalar & V | ( | const int | i | ) | const [inline] |
Definition at line 90 of file eigen_matrix_addons.h.
EIGEN_DEPRECATED const Scalar * V | ( | ) |
const Scalar & W | ( | ) | [inline] |
note, W always returns the last entry
Definition at line 81 of file eigen_matrix_addons.h.
Scalar & X | ( | ) | const [inline] |
Definition at line 74 of file eigen_matrix_addons.h.
Scalar & Y | ( | ) | const [inline] |
Definition at line 75 of file eigen_matrix_addons.h.
Scalar & Z | ( | ) | const [inline] |
Definition at line 76 of file eigen_matrix_addons.h.