#include <freVectorToPhaseAccessor.h>
Public Types | |
| typedef VectorToPhaseAccessor | Self |
| typedef TVector | InternalType |
| typedef double | ExternalType |
Public Member Functions | |
| void | Set (InternalType &output, const ExternalType &input) const |
| ExternalType | Get (const InternalType &input) const |
| void | SetOutputAsRad (const bool &bAsRad) |
| bool | GetOutputAsRad () const |
| VectorToPhaseAccessor () | |
| ~VectorToPhaseAccessor () | |
Private Attributes | |
| bool | m_bOutputAsRad |
The accessor calculates the phase of a passed 2D vector as double. The vector (0;1)indicates the phase 0 and it will be calculated counter clockwise. The phase can be calculated as radian (default) or degrees.
Definition at line 44 of file freVectorToPhaseAccessor.h.
| typedef VectorToPhaseAccessor FREE::Accessor::VectorToPhaseAccessor< TVector >::Self |
Standard class typedefs.
Definition at line 48 of file freVectorToPhaseAccessor.h.
| typedef TVector FREE::Accessor::VectorToPhaseAccessor< TVector >::InternalType |
Internal typedef. It defines the internal real representation of data
Definition at line 52 of file freVectorToPhaseAccessor.h.
| typedef double FREE::Accessor::VectorToPhaseAccessor< TVector >::ExternalType |
External typedef. It defines the external aspect that this class will exhibit
Definition at line 56 of file freVectorToPhaseAccessor.h.
| FREE::Accessor::VectorToPhaseAccessor< TVector >::VectorToPhaseAccessor | ( | ) | [inline] |
Definition at line 53 of file freVectorToPhaseAccessor.cxx.
References FREE::Accessor::VectorToPhaseAccessor< TVector >::m_bOutputAsRad.
| FREE::Accessor::VectorToPhaseAccessor< TVector >::~VectorToPhaseAccessor | ( | ) | [inline] |
Definition at line 60 of file freVectorToPhaseAccessor.cxx.
| void FREE::Accessor::VectorToPhaseAccessor< TVector >::Set | ( | InternalType & | output, | |
| const ExternalType & | input | |||
| ) | const [inline] |
Write access to the VectorToNorm component
Definition at line 59 of file freVectorToPhaseAccessor.h.
| VectorToPhaseAccessor< TVector >::ExternalType FREE::Accessor::VectorToPhaseAccessor< TVector >::Get | ( | const InternalType & | input | ) | const [inline] |
Read access to the VectorToNorm component
Definition at line 34 of file freVectorToPhaseAccessor.cxx.
References FREE::Accessor::VectorToPhaseAccessor< TVector >::m_bOutputAsRad.
| void FREE::Accessor::VectorToPhaseAccessor< TVector >::SetOutputAsRad | ( | const bool & | bAsRad | ) | [inline] |
Definition at line 71 of file freVectorToPhaseAccessor.h.
| bool FREE::Accessor::VectorToPhaseAccessor< TVector >::GetOutputAsRad | ( | ) | const [inline] |
Definition at line 76 of file freVectorToPhaseAccessor.h.
bool FREE::Accessor::VectorToPhaseAccessor< TVector >::m_bOutputAsRad [private] |
Definition at line 85 of file freVectorToPhaseAccessor.h.
Referenced by FREE::Accessor::VectorToPhaseAccessor< TVector >::Get(), and FREE::Accessor::VectorToPhaseAccessor< TVector >::VectorToPhaseAccessor().
1.5.3 written by Dimitri van Heesch,
© 1997-2000