PlusLib
2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
|
#include <src/PlusCalibration/PatternLocAlgo/PlusFidPatternRecognitionCommon.h>
Public Member Functions | |
double | GetDistanceFrom (PlusFidDot &d) |
double | GetDotIntensity () const |
double | GetX () const |
double | GetY () const |
bool | operator== (const PlusFidDot &data) const |
void | SetDotIntensity (double value) |
void | SetX (double value) |
void | SetY (double value) |
Static Public Member Functions | |
static bool | IntensityLessThan (const PlusFidDot &dot1, const PlusFidDot &dot2) |
static bool | PositionLessThan (std::vector< PlusFidDot >::iterator b1, std::vector< PlusFidDot >::iterator b2) |
Protected Attributes | |
double | m_DotIntensity |
double | m_X |
double | m_Y |
Definition at line 22 of file PlusFidPatternRecognitionCommon.h.
double PlusFidDot::GetDistanceFrom | ( | PlusFidDot & | d | ) |
Get Euclidean distance from another point
Definition at line 183 of file PlusFidPatternRecognitionCommon.cxx.
double PlusFidDot::GetDotIntensity | ( | ) | const |
Get the intensity of the dot
Definition at line 177 of file PlusFidPatternRecognitionCommon.cxx.
double PlusFidDot::GetX | ( | ) | const |
Get the x coordinate of the dot
Definition at line 153 of file PlusFidPatternRecognitionCommon.cxx.
double PlusFidDot::GetY | ( | ) | const |
Get the y coordinate of the dot
Definition at line 165 of file PlusFidPatternRecognitionCommon.cxx.
|
static |
Compare the intensity of 2 dots
Definition at line 133 of file PlusFidPatternRecognitionCommon.cxx.
bool PlusFidDot::operator== | ( | const PlusFidDot & | data | ) | const |
Compare two dots, coordinate-wise
Definition at line 189 of file PlusFidPatternRecognitionCommon.cxx.
|
static |
Compare the position of 2 dots
Definition at line 140 of file PlusFidPatternRecognitionCommon.cxx.
void PlusFidDot::SetDotIntensity | ( | double | value | ) |
Set the intensity of the dot
Definition at line 171 of file PlusFidPatternRecognitionCommon.cxx.
void PlusFidDot::SetX | ( | double | value | ) |
Set the x coordinate of the dot
Definition at line 147 of file PlusFidPatternRecognitionCommon.cxx.
void PlusFidDot::SetY | ( | double | value | ) |
Set the y coordinate of the dot
Definition at line 159 of file PlusFidPatternRecognitionCommon.cxx.
|
protected |
Definition at line 58 of file PlusFidPatternRecognitionCommon.h.
|
protected |
Definition at line 56 of file PlusFidPatternRecognitionCommon.h.
|
protected |
Definition at line 57 of file PlusFidPatternRecognitionCommon.h.