#include <quadric5.h>
Public Types | |
typedef Scalar | ScalarType |
Public Member Functions | |
void | AddtoQ3 (math::Quadric< double > &q3) const |
ScalarType | Apply (const ScalarType v[5]) const |
template<class FaceType > | |
void | byFace (FaceType &f, math::Quadric< double > &q1, math::Quadric< double > &q2, math::Quadric< double > &q3, bool QualityQuadric, ScalarType BorderWeight) |
template<class FaceType > | |
void | byFace (FaceType &fi, bool onlygeo) |
void | ComputeE1E2 (const ScalarType p[5], const ScalarType q[5], const ScalarType r[5], ScalarType e1[5], ScalarType e2[5]) const |
void | ComputeQuadricFromE1E2 (ScalarType e1[5], ScalarType e2[5], ScalarType p[5]) |
bool | IsValid () const |
bool | Minimum (ScalarType x[5]) const |
bool | MinimumWithGeoContraints (ScalarType x[5], const ScalarType geo[5]) const |
void | operator+= (const Quadric5< double > &q) |
void | operator= (const Quadric5< double > &q) |
Quadric5 () | |
void | Scale (ScalarType val) |
void | SetInvalid () |
void | Sum3 (const math::Quadric< double > &q3, float u, float v) |
void | swapv (ScalarType *vv, ScalarType *ww) |
void | Zero () |
Static Public Member Functions | |
static bool | Gauss55 (ScalarType x[], ScalarType C[5][5+1]) |
Public Attributes | |
ScalarType | a [15] |
ScalarType | b [5] |
ScalarType | c |
Definition at line 163 of file quadric5.h.
typedef Scalar vcg::Quadric5< Scalar >::ScalarType |
Definition at line 166 of file quadric5.h.
vcg::Quadric5< Scalar >::Quadric5 | ( | ) | [inline] |
Definition at line 174 of file quadric5.h.
void vcg::Quadric5< Scalar >::AddtoQ3 | ( | math::Quadric< double > & | q3 | ) | const [inline] |
Definition at line 222 of file quadric5.h.
ScalarType vcg::Quadric5< Scalar >::Apply | ( | const ScalarType | v[5] | ) | const [inline] |
Definition at line 728 of file quadric5.h.
void vcg::Quadric5< Scalar >::byFace | ( | FaceType & | f, |
math::Quadric< double > & | q1, | ||
math::Quadric< double > & | q2, | ||
math::Quadric< double > & | q3, | ||
bool | QualityQuadric, | ||
ScalarType | BorderWeight | ||
) | [inline] |
Definition at line 245 of file quadric5.h.
void vcg::Quadric5< Scalar >::byFace | ( | FaceType & | fi, |
bool | onlygeo | ||
) | [inline] |
Definition at line 302 of file quadric5.h.
void vcg::Quadric5< Scalar >::ComputeE1E2 | ( | const ScalarType | p[5], |
const ScalarType | q[5], | ||
const ScalarType | r[5], | ||
ScalarType | e1[5], | ||
ScalarType | e2[5] | ||
) | const [inline] |
Definition at line 414 of file quadric5.h.
void vcg::Quadric5< Scalar >::ComputeQuadricFromE1E2 | ( | ScalarType | e1[5], |
ScalarType | e2[5], | ||
ScalarType | p[5] | ||
) | [inline] |
Definition at line 433 of file quadric5.h.
static bool vcg::Quadric5< Scalar >::Gauss55 | ( | ScalarType | x[], |
ScalarType | C[5][5+1] | ||
) | [inline, static] |
Definition at line 479 of file quadric5.h.
bool vcg::Quadric5< Scalar >::IsValid | ( | ) | const [inline] |
Definition at line 180 of file quadric5.h.
bool vcg::Quadric5< Scalar >::Minimum | ( | ScalarType | x[5] | ) | const [inline] |
Definition at line 580 of file quadric5.h.
bool vcg::Quadric5< Scalar >::MinimumWithGeoContraints | ( | ScalarType | x[5], |
const ScalarType | geo[5] | ||
) | const [inline] |
Definition at line 545 of file quadric5.h.
void vcg::Quadric5< Scalar >::operator+= | ( | const Quadric5< double > & | q | ) | [inline] |
Definition at line 650 of file quadric5.h.
void vcg::Quadric5< Scalar >::operator= | ( | const Quadric5< double > & | q | ) | [inline] |
Definition at line 619 of file quadric5.h.
void vcg::Quadric5< Scalar >::Scale | ( | ScalarType | val | ) | [inline] |
Definition at line 718 of file quadric5.h.
void vcg::Quadric5< Scalar >::SetInvalid | ( | ) | [inline] |
Definition at line 181 of file quadric5.h.
void vcg::Quadric5< Scalar >::Sum3 | ( | const math::Quadric< double > & | q3, |
float | u, | ||
float | v | ||
) | [inline] |
Definition at line 691 of file quadric5.h.
void vcg::Quadric5< Scalar >::swapv | ( | ScalarType * | vv, |
ScalarType * | ww | ||
) | [inline] |
Definition at line 210 of file quadric5.h.
void vcg::Quadric5< Scalar >::Zero | ( | ) | [inline] |
Definition at line 183 of file quadric5.h.
ScalarType vcg::Quadric5< Scalar >::a[15] |
Definition at line 170 of file quadric5.h.
ScalarType vcg::Quadric5< Scalar >::b[5] |
Definition at line 171 of file quadric5.h.
ScalarType vcg::Quadric5< Scalar >::c |
Definition at line 172 of file quadric5.h.