Structural deformable models
Public Member Functions | List of all members
std::greater< Model * > Struct Template Reference

Public Member Functions

bool operator() (Model *const &lhs, Model *const &rhs) const
 

Detailed Description

template<>
struct std::greater< Model * >

Definition at line 47 of file Searcher.cpp.

Member Function Documentation

bool std::greater< Model * >::operator() ( Model *const &  lhs,
Model *const &  rhs 
) const
inline

Definition at line 49 of file Searcher.cpp.

References Model::getQualityOfFit().

49  {
50  if(!lhs || !rhs) return true; //should we do that?
51  return lhs->getQualityOfFit() > rhs->getQualityOfFit();
52  }
float getQualityOfFit() const
Definition: Model.cpp:1204

The documentation for this struct was generated from the following file: