#include <Wm4QuadricSurface.h>
Public Types | |
enum | { QT_NONE, QT_POINT, QT_LINE, QT_PLANE, QT_TWO_PLANES, QT_PARABOLIC_CYLINDER, QT_ELLIPTIC_CYLINDER, QT_HYPERBOLIC_CYLINDER, QT_ELLIPTIC_PARABOLOID, QT_HYPERBOLIC_PARABOLOID, QT_ELLIPTIC_CONE, QT_HYPERBOLOID_ONE_SHEET, QT_HYPERBOLOID_TWO_SHEETS, QT_ELLIPSOID } |
Public Member Functions | |
virtual Real | F (const Vector3< Real > &rkP) const |
virtual Real | FX (const Vector3< Real > &rkP) const |
virtual Real | FXX (const Vector3< Real > &rkP) const |
virtual Real | FXY (const Vector3< Real > &rkP) const |
virtual Real | FXZ (const Vector3< Real > &rkP) const |
virtual Real | FY (const Vector3< Real > &rkP) const |
virtual Real | FYY (const Vector3< Real > &rkP) const |
virtual Real | FYZ (const Vector3< Real > &rkP) const |
virtual Real | FZ (const Vector3< Real > &rkP) const |
virtual Real | FZZ (const Vector3< Real > &rkP) const |
const Matrix3< Real > & | GetA () const |
const Vector3< Real > & | GetB () const |
Real | GetC () const |
const Real * | GetCoefficients () const |
int | GetType () const |
QuadricSurface (const Real afCoeff[10]) | |
QuadricSurface () | |
Protected Attributes | |
Real | m_afCoeff [10] |
Real | m_fC |
Matrix3< Real > | m_kA |
Vector3< Real > | m_kB |
Definition at line 28 of file Wm4QuadricSurface.h.
anonymous enum |
Definition at line 68 of file Wm4QuadricSurface.h.
Wm4::QuadricSurface< Real >::QuadricSurface | ( | ) | [inline] |
Definition at line 24 of file Wm4QuadricSurface.cpp.
References Wm4::QuadricSurface< Real >::m_afCoeff.
Wm4::QuadricSurface< Real >::QuadricSurface | ( | const Real | afCoeff[10] | ) | [inline] |
Definition at line 30 of file Wm4QuadricSurface.cpp.
References Wm4::QuadricSurface< Real >::m_afCoeff, Wm4::QuadricSurface< Real >::m_fC, Wm4::QuadricSurface< Real >::m_kA, and Wm4::QuadricSurface< Real >::m_kB.
Real Wm4::QuadricSurface< Real >::F | ( | const Vector3< Real > & | rkP | ) | const [inline, virtual] |
Implements Wm4::ImplicitSurface< Real >.
Definition at line 78 of file Wm4QuadricSurface.cpp.
References Wm4::Vector3< Real >::Dot(), Wm4::QuadricSurface< Real >::m_fC, Wm4::QuadricSurface< Real >::m_kA, and Wm4::QuadricSurface< Real >::m_kB.
Real Wm4::QuadricSurface< Real >::FX | ( | const Vector3< Real > & | rkP | ) | const [inline, virtual] |
Implements Wm4::ImplicitSurface< Real >.
Definition at line 85 of file Wm4QuadricSurface.cpp.
References Wm4::QuadricSurface< Real >::m_kA, and Wm4::QuadricSurface< Real >::m_kB.
Real Wm4::QuadricSurface< Real >::FXX | ( | const Vector3< Real > & | rkP | ) | const [inline, virtual] |
Implements Wm4::ImplicitSurface< Real >.
Definition at line 109 of file Wm4QuadricSurface.cpp.
References Wm4::QuadricSurface< Real >::m_kA.
Real Wm4::QuadricSurface< Real >::FXY | ( | const Vector3< Real > & | rkP | ) | const [inline, virtual] |
Implements Wm4::ImplicitSurface< Real >.
Definition at line 116 of file Wm4QuadricSurface.cpp.
References Wm4::QuadricSurface< Real >::m_kA.
Real Wm4::QuadricSurface< Real >::FXZ | ( | const Vector3< Real > & | rkP | ) | const [inline, virtual] |
Implements Wm4::ImplicitSurface< Real >.
Definition at line 123 of file Wm4QuadricSurface.cpp.
References Wm4::QuadricSurface< Real >::m_kA.
Real Wm4::QuadricSurface< Real >::FY | ( | const Vector3< Real > & | rkP | ) | const [inline, virtual] |
Implements Wm4::ImplicitSurface< Real >.
Definition at line 93 of file Wm4QuadricSurface.cpp.
References Wm4::QuadricSurface< Real >::m_kA, and Wm4::QuadricSurface< Real >::m_kB.
Real Wm4::QuadricSurface< Real >::FYY | ( | const Vector3< Real > & | rkP | ) | const [inline, virtual] |
Implements Wm4::ImplicitSurface< Real >.
Definition at line 130 of file Wm4QuadricSurface.cpp.
References Wm4::QuadricSurface< Real >::m_kA.
Real Wm4::QuadricSurface< Real >::FYZ | ( | const Vector3< Real > & | rkP | ) | const [inline, virtual] |
Implements Wm4::ImplicitSurface< Real >.
Definition at line 137 of file Wm4QuadricSurface.cpp.
References Wm4::QuadricSurface< Real >::m_kA.
Real Wm4::QuadricSurface< Real >::FZ | ( | const Vector3< Real > & | rkP | ) | const [inline, virtual] |
Implements Wm4::ImplicitSurface< Real >.
Definition at line 101 of file Wm4QuadricSurface.cpp.
References Wm4::QuadricSurface< Real >::m_kA, and Wm4::QuadricSurface< Real >::m_kB.
Real Wm4::QuadricSurface< Real >::FZZ | ( | const Vector3< Real > & | rkP | ) | const [inline, virtual] |
Implements Wm4::ImplicitSurface< Real >.
Definition at line 144 of file Wm4QuadricSurface.cpp.
References Wm4::QuadricSurface< Real >::m_kA.
const Matrix3< Real > & Wm4::QuadricSurface< Real >::GetA | ( | ) | const [inline] |
Definition at line 60 of file Wm4QuadricSurface.cpp.
References Wm4::QuadricSurface< Real >::m_kA.
const Vector3< Real > & Wm4::QuadricSurface< Real >::GetB | ( | ) | const [inline] |
Definition at line 66 of file Wm4QuadricSurface.cpp.
References Wm4::QuadricSurface< Real >::m_kB.
Real Wm4::QuadricSurface< Real >::GetC | ( | ) | const [inline] |
Definition at line 72 of file Wm4QuadricSurface.cpp.
References Wm4::QuadricSurface< Real >::m_fC.
const Real * Wm4::QuadricSurface< Real >::GetCoefficients | ( | ) | const [inline] |
Definition at line 54 of file Wm4QuadricSurface.cpp.
References Wm4::QuadricSurface< Real >::m_afCoeff.
int Wm4::QuadricSurface< Real >::GetType | ( | void | ) | const [inline] |
Definition at line 151 of file Wm4QuadricSurface.cpp.
References Wm4::QuadricSurface< Real >::m_afCoeff, and Wm4::QuadricSurface< Real >::QT_NONE.
Real Wm4::QuadricSurface< Real >::m_afCoeff[10] [protected] |
Definition at line 90 of file Wm4QuadricSurface.h.
Referenced by Wm4::QuadricSurface< Real >::GetCoefficients(), Wm4::QuadricSurface< Real >::GetType(), and Wm4::QuadricSurface< Real >::QuadricSurface().
Real Wm4::QuadricSurface< Real >::m_fC [protected] |
Definition at line 93 of file Wm4QuadricSurface.h.
Referenced by Wm4::QuadricSurface< Real >::F(), Wm4::QuadricSurface< Real >::GetC(), and Wm4::QuadricSurface< Real >::QuadricSurface().
Matrix3<Real> Wm4::QuadricSurface< Real >::m_kA [protected] |
Definition at line 91 of file Wm4QuadricSurface.h.
Referenced by Wm4::QuadricSurface< Real >::F(), Wm4::QuadricSurface< Real >::FX(), Wm4::QuadricSurface< Real >::FXX(), Wm4::QuadricSurface< Real >::FXY(), Wm4::QuadricSurface< Real >::FXZ(), Wm4::QuadricSurface< Real >::FY(), Wm4::QuadricSurface< Real >::FYY(), Wm4::QuadricSurface< Real >::FYZ(), Wm4::QuadricSurface< Real >::FZ(), Wm4::QuadricSurface< Real >::FZZ(), Wm4::QuadricSurface< Real >::GetA(), and Wm4::QuadricSurface< Real >::QuadricSurface().
Vector3<Real> Wm4::QuadricSurface< Real >::m_kB [protected] |
Definition at line 92 of file Wm4QuadricSurface.h.
Referenced by Wm4::QuadricSurface< Real >::F(), Wm4::QuadricSurface< Real >::FX(), Wm4::QuadricSurface< Real >::FY(), Wm4::QuadricSurface< Real >::FZ(), Wm4::QuadricSurface< Real >::GetB(), and Wm4::QuadricSurface< Real >::QuadricSurface().