Basic Image AlgorithmS Library
2.8.0
|
Implements a 3D quadric and quadric operations. More...
#include <Base/Math/Quadric3.hh>
Public Member Functions | |
void | Clear (double val=0.0) |
double | Evaluate (double x, double y, double z) |
double | GetArea () |
Matrix4x4< double > | GetHomogenous () |
double | GetOffset () |
Matrix3x3< double > | GetTensor () |
Vector3< double > | GetVector () |
Quadric3 & | operator*= (double s) |
Quadric3 & | operator+= (const Quadric3 &Q) |
Quadric3 & | operator= (const Quadric3 &Q) |
bool | Optimize (Vector3< double > &v) |
Quadric3 (double a, double b, double c, double d, double area=1.0) | |
Quadric3 () | |
Protected Attributes | |
double | a2 |
double | ab |
double | ac |
double | ad |
double | b2 |
double | bc |
double | bd |
double | c2 |
double | cd |
double | d2 |
double | r |
Implements a 3D quadric and quadric operations.
Definition at line 25 of file Quadric3.hh.
BIAS::Quadric3::Quadric3 | ( | double | a, |
double | b, | ||
double | c, | ||
double | d, | ||
double | area = 1.0 |
||
) |
Definition at line 8 of file Quadric3.cpp.
|
inline |
Definition at line 31 of file Quadric3.hh.
|
inline |
Definition at line 42 of file Quadric3.hh.
double BIAS::Quadric3::Evaluate | ( | double | x, |
double | y, | ||
double | z | ||
) |
Definition at line 40 of file Quadric3.cpp.
Referenced by BIAS::TriangleMesh::SimplifyMeshSurface_().
|
inline |
Definition at line 36 of file Quadric3.hh.
Referenced by BIAS::TriangleMesh::SimplifyMeshSurface_().
Matrix4x4< double > BIAS::Quadric3::GetHomogenous | ( | ) |
Definition at line 33 of file Quadric3.cpp.
|
inline |
Definition at line 35 of file Quadric3.hh.
Matrix3x3< double > BIAS::Quadric3::GetTensor | ( | ) |
Definition at line 27 of file Quadric3.cpp.
Vector3< double > BIAS::Quadric3::GetVector | ( | ) |
Definition at line 23 of file Quadric3.cpp.
Quadric3 & BIAS::Quadric3::operator*= | ( | double | s | ) |
Definition at line 89 of file Quadric3.cpp.
bool BIAS::Quadric3::Optimize | ( | Vector3< double > & | v | ) |
Definition at line 47 of file Quadric3.cpp.
References BIAS::Matrix3x3< T >::GetDeterminant(), BIAS::Matrix3x3< T >::InvertIP(), BIAS::Matrix3x3< T >::Mult(), and BIAS::Vector3< T >::MultIP().
Referenced by BIAS::TriangleMesh::SimplifyMeshSurface_().
|
protected |
Definition at line 52 of file Quadric3.hh.
Referenced by operator+=(), and operator=().
|
protected |
Definition at line 52 of file Quadric3.hh.
Referenced by operator+=(), and operator=().
|
protected |
Definition at line 52 of file Quadric3.hh.
Referenced by operator+=(), and operator=().
|
protected |
Definition at line 52 of file Quadric3.hh.
Referenced by operator+=(), and operator=().
|
protected |
Definition at line 53 of file Quadric3.hh.
Referenced by operator+=(), and operator=().
|
protected |
Definition at line 53 of file Quadric3.hh.
Referenced by operator+=(), and operator=().
|
protected |
Definition at line 53 of file Quadric3.hh.
Referenced by operator+=(), and operator=().
|
protected |
Definition at line 54 of file Quadric3.hh.
Referenced by operator+=(), and operator=().
|
protected |
Definition at line 54 of file Quadric3.hh.
Referenced by operator+=(), and operator=().
|
protected |
Definition at line 55 of file Quadric3.hh.
Referenced by operator+=(), and operator=().
|
protected |
Definition at line 58 of file Quadric3.hh.
Referenced by operator+=(), and operator=().