#include <Wm4LinComp.h>
Public Types | |
enum | { CT_EMPTY, CT_POINT, CT_SEGMENT, CT_RAY, CT_LINE } |
Public Member Functions | |
bool | Contains (Real fParam) const |
Real | GetMax () const |
Real | GetMin () const |
int | GetType () const |
bool | IsCanonical () const |
virtual void | MakeCanonical ()=0 |
void | SetInterval (Real fMin, Real fMax) |
virtual | ~LinComp () |
Static Public Member Functions | |
static int | GetTypeFromInterval (Real fMin, Real fMax) |
Protected Member Functions | |
LinComp () | |
LinComp & | operator= (const LinComp &rkComponent) |
Protected Attributes | |
Real | m_fMax |
Real | m_fMin |
int | m_iType |
Definition at line 27 of file Wm4LinComp.h.
anonymous enum |
Definition at line 40 of file Wm4LinComp.h.
Wm4::LinComp< Real >::~LinComp | ( | ) | [inline, virtual] |
Definition at line 29 of file Wm4LinComp.inl.
Wm4::LinComp< Real >::LinComp | ( | ) | [inline, protected] |
Definition at line 21 of file Wm4LinComp.inl.
References Wm4::LinComp< Real >::CT_EMPTY, Wm4::LinComp< Real >::m_fMax, Wm4::LinComp< Real >::m_fMin, and Wm4::LinComp< Real >::m_iType.
bool Wm4::LinComp< Real >::Contains | ( | Real | fParam | ) | const [inline] |
Definition at line 61 of file Wm4LinComp.inl.
References Wm4::LinComp< Real >::m_fMax, and Wm4::LinComp< Real >::m_fMin.
Real Wm4::LinComp< Real >::GetMax | ( | ) | const [inline] |
Definition at line 55 of file Wm4LinComp.inl.
References Wm4::LinComp< Real >::m_fMax.
Real Wm4::LinComp< Real >::GetMin | ( | ) | const [inline] |
Definition at line 49 of file Wm4LinComp.inl.
References Wm4::LinComp< Real >::m_fMin.
int Wm4::LinComp< Real >::GetType | ( | void | ) | const [inline] |
Definition at line 43 of file Wm4LinComp.inl.
References Wm4::LinComp< Real >::m_iType.
int Wm4::LinComp< Real >::GetTypeFromInterval | ( | Real | fMin, | |
Real | fMax | |||
) | [inline, static] |
Definition at line 75 of file Wm4LinComp.inl.
References Wm4::LinComp< Real >::CT_EMPTY, Wm4::LinComp< Real >::CT_LINE, Wm4::LinComp< Real >::CT_POINT, Wm4::LinComp< Real >::CT_RAY, and Wm4::LinComp< Real >::CT_SEGMENT.
Referenced by Wm4::LinComp< Real >::SetInterval().
bool Wm4::LinComp< Real >::IsCanonical | ( | ) | const [inline] |
Definition at line 114 of file Wm4LinComp.inl.
References Wm4::LinComp< Real >::CT_EMPTY, Wm4::LinComp< Real >::CT_POINT, Wm4::LinComp< Real >::CT_RAY, Wm4::LinComp< Real >::CT_SEGMENT, Wm4::LinComp< Real >::m_fMax, Wm4::LinComp< Real >::m_fMin, and Wm4::LinComp< Real >::m_iType.
virtual void Wm4::LinComp< Real >::MakeCanonical | ( | ) | [pure virtual] |
LinComp< Real > & Wm4::LinComp< Real >::operator= | ( | const LinComp< Real > & | rkComponent | ) | [inline, protected] |
Definition at line 34 of file Wm4LinComp.inl.
References Wm4::LinComp< Real >::m_fMax, Wm4::LinComp< Real >::m_fMin, and Wm4::LinComp< Real >::m_iType.
void Wm4::LinComp< Real >::SetInterval | ( | Real | fMin, | |
Real | fMax | |||
) | [inline] |
Definition at line 67 of file Wm4LinComp.inl.
References Wm4::LinComp< Real >::GetTypeFromInterval(), Wm4::LinComp< Real >::m_fMax, Wm4::LinComp< Real >::m_fMin, and Wm4::LinComp< Real >::m_iType.
Real Wm4::LinComp< Real >::m_fMax [protected] |
Definition at line 111 of file Wm4LinComp.h.
Referenced by Wm4::LinComp< Real >::Contains(), Wm4::LinComp< Real >::GetMax(), Wm4::LinComp< Real >::IsCanonical(), Wm4::LinComp< Real >::LinComp(), Wm4::LinComp< Real >::operator=(), and Wm4::LinComp< Real >::SetInterval().
Real Wm4::LinComp< Real >::m_fMin [protected] |
Definition at line 111 of file Wm4LinComp.h.
Referenced by Wm4::LinComp< Real >::Contains(), Wm4::LinComp< Real >::GetMin(), Wm4::LinComp< Real >::IsCanonical(), Wm4::LinComp< Real >::LinComp(), Wm4::LinComp< Real >::operator=(), and Wm4::LinComp< Real >::SetInterval().
int Wm4::LinComp< Real >::m_iType [protected] |
Definition at line 108 of file Wm4LinComp.h.
Referenced by Wm4::LinComp< Real >::GetType(), Wm4::LinComp< Real >::IsCanonical(), Wm4::LinComp< Real >::LinComp(), Wm4::LinComp< Real >::operator=(), and Wm4::LinComp< Real >::SetInterval().