Public Member Functions | |
AdvectedPixel () | |
AdvectedPixel (int i, int j, int m, int n, float p, int ox, int oy, float pold) | |
Static Public Member Functions | |
static bool | same_location (const AdvectedPixel &a, const AdvectedPixel &b) |
static void | remove_duplicates (std::vector< AdvectedPixel > &pixels) |
Public Attributes | |
short | x |
short | y |
short | ux |
short | uy |
short | origx |
short | origy |
float | prob |
float | origprob |
Friends | |
bool | operator< (const AdvectedPixel &a, const AdvectedPixel &b) |
in reverse order of probability (higher prob comes first) |
w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::AdvectedPixel | ( | ) | [inline] |
w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::AdvectedPixel | ( | int | i, | |
int | j, | |||
int | m, | |||
int | n, | |||
float | p, | |||
int | ox, | |||
int | oy, | |||
float | pold | |||
) | [inline] |
static void w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::remove_duplicates | ( | std::vector< AdvectedPixel > & | pixels | ) | [static] |
static bool w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::same_location | ( | const AdvectedPixel & | a, | |
const AdvectedPixel & | b | |||
) | [inline, static] |
bool operator< | ( | const AdvectedPixel & | a, | |
const AdvectedPixel & | b | |||
) | [friend] |
in reverse order of probability (higher prob comes first)
float w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::origprob |
short w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::origx |
short w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::origy |
float w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::prob |
short w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::ux |
short w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::uy |
short w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::x |
short w2kmeans::ProbabilisticAdvector< GridType >::AdvectedPixel::y |