CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
FastLineRecognition::Cluster Struct Reference

cluster of intersection points More...

#include <FastLineRecognition.h>

Public Member Functions

void add (const Point *p1, const Point *p2, double a, double b, double w)
 
 Cluster ()
 
bool operator< (const Cluster &c) const
 

Public Attributes

std::vector< const Point * > contents
 
double max_a
 
double max_b
 
double min_a
 
double min_b
 
double S1
 
double Saw
 
double Sbw
 
double Sw
 
double weight
 

Detailed Description

cluster of intersection points

Definition at line 81 of file FastLineRecognition.h.

Constructor & Destructor Documentation

FastLineRecognition::Cluster::Cluster ( )
inline

Member Function Documentation

void FastLineRecognition::Cluster::add ( const Point p1,
const Point p2,
double  a,
double  b,
double  w 
)

Definition at line 31 of file FastLineRecognition.cc.

Referenced by counter.Counter::register().

bool FastLineRecognition::Cluster::operator< ( const Cluster c) const
inline

Definition at line 93 of file FastLineRecognition.h.

References Sw.

94  {
95  return (this->Sw > c.Sw) ? true : false;
96  }

Member Data Documentation

std::vector<const Point *> FastLineRecognition::Cluster::contents

Definition at line 87 of file FastLineRecognition.h.

double FastLineRecognition::Cluster::max_a

Definition at line 85 of file FastLineRecognition.h.

double FastLineRecognition::Cluster::max_b

Definition at line 85 of file FastLineRecognition.h.

double FastLineRecognition::Cluster::min_a

Definition at line 85 of file FastLineRecognition.h.

double FastLineRecognition::Cluster::min_b

Definition at line 85 of file FastLineRecognition.h.

double FastLineRecognition::Cluster::S1

Definition at line 83 of file FastLineRecognition.h.

double FastLineRecognition::Cluster::Saw

Definition at line 83 of file FastLineRecognition.h.

double FastLineRecognition::Cluster::Sbw

Definition at line 83 of file FastLineRecognition.h.

double FastLineRecognition::Cluster::Sw

Definition at line 83 of file FastLineRecognition.h.

Referenced by operator<().

double FastLineRecognition::Cluster::weight

Definition at line 84 of file FastLineRecognition.h.