NCBI C++ ToolKit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
CHitClustering Class Reference

Search Toolkit Book for CHitClustering

#include <gui/widgets/hit_matrix/hit_clustering.hpp>

Public Types

typedef vector< CHitCluster * > TClusterVector
 

Public Member Functions

 ~CHitClustering ()
 
void Build (vector< CHitGlyph * > &glyphs, double scale_x, double scale_y)
 
void Clear ()
 
const TClusterVectorGetClusters () const
 

Protected Member Functions

bool x_CanCombine (const TVector &a, const TVector &b, TVector &res, double scale_x, double scale_y)
 

Protected Attributes

TClusterVector m_Clusters
 

Static Protected Attributes

static double m_MinSize = 2.0
 
static double m_Width = 4.0
 

Detailed Description

Definition at line 79 of file hit_clustering.hpp.

Member Typedef Documentation

Definition at line 82 of file hit_clustering.hpp.

Constructor & Destructor Documentation

CHitClustering::~CHitClustering ( )
inline

Definition at line 84 of file hit_clustering.hpp.

References Clear().

Member Function Documentation

void CHitClustering::Build ( vector< CHitGlyph * > &  glyphs,
double  scale_x,
double  scale_y 
)
void CHitClustering::Clear ( void  )

Definition at line 227 of file hit_clustering.cpp.

References i, and m_Clusters.

Referenced by Build(), and ~CHitClustering().

const TClusterVector& CHitClustering::GetClusters ( void  ) const
inline

Definition at line 92 of file hit_clustering.hpp.

References m_Clusters.

bool CHitClustering::x_CanCombine ( const TVector a,
const TVector b,
TVector res,
double  scale_x,
double  scale_y 
)
protected

Member Data Documentation

TClusterVector CHitClustering::m_Clusters
protected

Definition at line 101 of file hit_clustering.hpp.

Referenced by Build(), Clear(), and GetClusters().

double CHitClustering::m_MinSize = 2.0
staticprotected

Definition at line 98 of file hit_clustering.hpp.

Referenced by x_CanCombine().

double CHitClustering::m_Width = 4.0
staticprotected

Definition at line 99 of file hit_clustering.hpp.

Referenced by x_CanCombine().


The documentation for this class was generated from the following files:
Modified on Sun May 20 14:15:20 2018 by modify_doxy.py rev. 546573