Developer Documentation
|
#include <OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Core/Geometry/QuadricT.hh>
Public Types | |
typedef Scalar | value_type |
typedef QuadricT< Scalar > | type |
typedef QuadricT< Scalar > | Self |
Public Member Functions | |
QuadricT (Scalar _a, Scalar _b, Scalar _c, Scalar _d, Scalar _e, Scalar _f, Scalar _g, Scalar _h, Scalar _i, Scalar _j) | |
construct with upper triangle of symmetrix 4x4 matrix More... | |
QuadricT (Scalar _a=0.0, Scalar _b=0.0, Scalar _c=0.0, Scalar _d=0.0) | |
constructor from given plane equation: ax+by+cz+d_=0 More... | |
template<class _Point > | |
QuadricT (const _Point &_pt) | |
template<class _Normal , class _Point > | |
QuadricT (const _Normal &_n, const _Point &_p) | |
void | set (Scalar _a, Scalar _b, Scalar _c, Scalar _d, Scalar _e, Scalar _f, Scalar _g, Scalar _h, Scalar _i, Scalar _j) |
template<class _Point > | |
void | set_distance_to_point (const _Point &_pt) |
void | set_distance_to_plane (Scalar _a, Scalar _b, Scalar _c, Scalar _d) |
template<class _Normal , class _Point > | |
void | set_distance_to_plane (const _Normal &_n, const _Point &_p) |
void | clear () |
set all entries to zero More... | |
QuadricT< Scalar > & | operator+= (const QuadricT< Scalar > &_q) |
add quadrics More... | |
QuadricT< Scalar > | operator+ (const QuadricT< Scalar > &_other) const |
QuadricT< Scalar > & | operator*= (Scalar _s) |
multiply by scalar More... | |
QuadricT< Scalar > | operator* (Scalar _s) const |
template<class _Vec4 > | |
_Vec4 | operator* (const _Vec4 &_v) const |
multiply 4D vector from right: Q*v More... | |
template<class _Vec > | |
Scalar | operator() (const _Vec &_v) const |
evaluate quadric Q at (3D or 4D) vector v: v*Q*v More... | |
Scalar | a () const |
Scalar | b () const |
Scalar | c () const |
Scalar | d () const |
Scalar | e () const |
Scalar | f () const |
Scalar | g () const |
Scalar | h () const |
Scalar | i () const |
Scalar | j () const |
Scalar | xx () const |
Scalar | xy () const |
Scalar | xz () const |
Scalar | xw () const |
Scalar | yy () const |
Scalar | yz () const |
Scalar | yw () const |
Scalar | zz () const |
Scalar | zw () const |
Scalar | ww () const |
Protected Member Functions | |
template<class _Vec3 > | |
Scalar | evaluate (const _Vec3 &_v, GenProg::Int2Type< 3 >) const |
evaluate quadric Q at 3D vector v: v*Q*v More... | |
template<class _Vec4 > | |
Scalar | evaluate (const _Vec4 &_v, GenProg::Int2Type< 4 >) const |
evaluate quadric Q at 4D vector v: v*Q*v More... | |
Private Attributes | |
Scalar | a_ |
Scalar | b_ |
Scalar | c_ |
Scalar | d_ |
Scalar | e_ |
Scalar | f_ |
Scalar | g_ |
Scalar | h_ |
Scalar | i_ |
Scalar | j_ |
/class QuadricT Geometry/QuadricT.hh
Stores a quadric as a 4x4 symmetrix matrix. Used by the error quadric based mesh decimation algorithms.
Definition at line 82 of file QuadricT.hh.
typedef QuadricT<Scalar> OpenMesh::Geometry::QuadricT< Scalar >::Self |
Definition at line 87 of file QuadricT.hh.
typedef QuadricT<Scalar> OpenMesh::Geometry::QuadricT< Scalar >::type |
Definition at line 86 of file QuadricT.hh.
typedef Scalar OpenMesh::Geometry::QuadricT< Scalar >::value_type |
Definition at line 85 of file QuadricT.hh.
|
inline |
construct with upper triangle of symmetrix 4x4 matrix
Definition at line 94 of file QuadricT.hh.
|
inline |
constructor from given plane equation: ax+by+cz+d_=0
Definition at line 107 of file QuadricT.hh.
|
inlineexplicit |
Definition at line 115 of file QuadricT.hh.
|
inline |
Definition at line 121 of file QuadricT.hh.
|
inline |
Definition at line 219 of file QuadricT.hh.
|
inline |
Definition at line 220 of file QuadricT.hh.
|
inline |
Definition at line 221 of file QuadricT.hh.
|
inline |
set all entries to zero
Definition at line 166 of file QuadricT.hh.
|
inline |
Definition at line 222 of file QuadricT.hh.
|
inline |
Definition at line 223 of file QuadricT.hh.
|
inlineprotected |
evaluate quadric Q at 3D vector v: v*Q*v
Definition at line 245 of file QuadricT.hh.
|
inlineprotected |
evaluate quadric Q at 4D vector v: v*Q*v
Definition at line 256 of file QuadricT.hh.
|
inline |
Definition at line 224 of file QuadricT.hh.
|
inline |
Definition at line 225 of file QuadricT.hh.
|
inline |
Definition at line 226 of file QuadricT.hh.
|
inline |
Definition at line 227 of file QuadricT.hh.
|
inline |
Definition at line 228 of file QuadricT.hh.
|
inline |
evaluate quadric Q at (3D or 4D) vector v: v*Q*v
Definition at line 214 of file QuadricT.hh.
|
inline |
multiply 4D vector from right: Q*v
Definition at line 203 of file QuadricT.hh.
|
inline |
Definition at line 195 of file QuadricT.hh.
|
inline |
multiply by scalar
Definition at line 186 of file QuadricT.hh.
|
inline |
Definition at line 178 of file QuadricT.hh.
|
inline |
add quadrics
Definition at line 169 of file QuadricT.hh.
|
inline |
Definition at line 127 of file QuadricT.hh.
|
inline |
Definition at line 160 of file QuadricT.hh.
|
inline |
Definition at line 149 of file QuadricT.hh.
|
inline |
Definition at line 140 of file QuadricT.hh.
|
inline |
Definition at line 239 of file QuadricT.hh.
|
inline |
Definition at line 233 of file QuadricT.hh.
|
inline |
Definition at line 230 of file QuadricT.hh.
|
inline |
Definition at line 231 of file QuadricT.hh.
|
inline |
Definition at line 232 of file QuadricT.hh.
|
inline |
Definition at line 236 of file QuadricT.hh.
|
inline |
Definition at line 234 of file QuadricT.hh.
|
inline |
Definition at line 235 of file QuadricT.hh.
|
inline |
Definition at line 238 of file QuadricT.hh.
|
inline |
Definition at line 237 of file QuadricT.hh.
|
private |
Definition at line 267 of file QuadricT.hh.
|
private |
Definition at line 267 of file QuadricT.hh.
|
private |
Definition at line 267 of file QuadricT.hh.
|
private |
Definition at line 267 of file QuadricT.hh.
|
private |
Definition at line 268 of file QuadricT.hh.
|
private |
Definition at line 268 of file QuadricT.hh.
|
private |
Definition at line 268 of file QuadricT.hh.
|
private |
Definition at line 269 of file QuadricT.hh.
|
private |
Definition at line 269 of file QuadricT.hh.
|
private |
Definition at line 270 of file QuadricT.hh.