Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
BIAS::Quadric3 Class Reference

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 ()
 
Quadric3operator*= (double s)
 
Quadric3operator+= (const Quadric3 &Q)
 
Quadric3operator= (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
 

Detailed Description

Implements a 3D quadric and quadric operations.

Author
bangerer
Date
19/08/2008

Definition at line 25 of file Quadric3.hh.

Constructor & Destructor Documentation

BIAS::Quadric3::Quadric3 ( double  a,
double  b,
double  c,
double  d,
double  area = 1.0 
)

Definition at line 8 of file Quadric3.cpp.

BIAS::Quadric3::Quadric3 ( )
inline

Definition at line 31 of file Quadric3.hh.

Member Function Documentation

void BIAS::Quadric3::Clear ( double  val = 0.0)
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_().

double BIAS::Quadric3::GetArea ( )
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.

double BIAS::Quadric3::GetOffset ( )
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.

Quadric3 & BIAS::Quadric3::operator+= ( const Quadric3 Q)

Definition at line 74 of file Quadric3.cpp.

References a2, ab, ac, ad, b2, bc, bd, c2, cd, d2, and r.

Quadric3 & BIAS::Quadric3::operator= ( const Quadric3 Q)

Definition at line 62 of file Quadric3.cpp.

References a2, ab, ac, ad, b2, bc, bd, c2, cd, d2, and r.

bool BIAS::Quadric3::Optimize ( Vector3< double > &  v)

Member Data Documentation

double BIAS::Quadric3::a2
protected

Definition at line 52 of file Quadric3.hh.

Referenced by operator+=(), and operator=().

double BIAS::Quadric3::ab
protected

Definition at line 52 of file Quadric3.hh.

Referenced by operator+=(), and operator=().

double BIAS::Quadric3::ac
protected

Definition at line 52 of file Quadric3.hh.

Referenced by operator+=(), and operator=().

double BIAS::Quadric3::ad
protected

Definition at line 52 of file Quadric3.hh.

Referenced by operator+=(), and operator=().

double BIAS::Quadric3::b2
protected

Definition at line 53 of file Quadric3.hh.

Referenced by operator+=(), and operator=().

double BIAS::Quadric3::bc
protected

Definition at line 53 of file Quadric3.hh.

Referenced by operator+=(), and operator=().

double BIAS::Quadric3::bd
protected

Definition at line 53 of file Quadric3.hh.

Referenced by operator+=(), and operator=().

double BIAS::Quadric3::c2
protected

Definition at line 54 of file Quadric3.hh.

Referenced by operator+=(), and operator=().

double BIAS::Quadric3::cd
protected

Definition at line 54 of file Quadric3.hh.

Referenced by operator+=(), and operator=().

double BIAS::Quadric3::d2
protected

Definition at line 55 of file Quadric3.hh.

Referenced by operator+=(), and operator=().

double BIAS::Quadric3::r
protected

Definition at line 58 of file Quadric3.hh.

Referenced by operator+=(), and operator=().


The documentation for this class was generated from the following files: