Main Page | Namespace List | Compound List | File List | Compound Members | File Members

Html_cluster Class Reference

#include <Html_cluster.h>

List of all members.

Public Member Functions

 Html_cluster ()
 Html_cluster (int lines, double areaIN, int angle_divisionsIN)
 ~Html_cluster ()
void setHistogram (Histogram_element *h)
void setTotalLength (double len)
double getTotalLength ()
int getNumLines ()
double getArea ()
Histogram_elementgetHistogram ()
int getNumHistogram ()
void setMaxLength (double len)
void setMinLength (double len)
void setMatrix (Matrix *matrixIN)
double ** getMatrix ()
int getRows ()
int getCols ()
double getMaxLength ()
double getMinLength ()


Constructor & Destructor Documentation

Html_cluster::Html_cluster  ) 
 

Html_cluster::Html_cluster int  lines,
double  areaIN,
int  angle_divisionsIN
 

Html_cluster::~Html_cluster  ) 
 


Member Function Documentation

double Html_cluster::getArea  ) 
 

returns the area spanned by the polygons created by the lines in the structure

int Html_cluster::getCols  ) 
 

returns the number of columns in the length-angle histogram (which represent lengths)

Histogram_element * Html_cluster::getHistogram  ) 
 

returns an array of the full structure histogram

double ** Html_cluster::getMatrix  ) 
 

returns the matrix for the length-angle histogram

double Html_cluster::getMaxLength  ) 
 

returns the length of the longest line in the structure

double Html_cluster::getMinLength  ) 
 

returns the length of the shortest line in the structure

int Html_cluster::getNumHistogram  ) 
 

returns the number of buckets in the histogram

int Html_cluster::getNumLines  ) 
 

returns the number of lines in the structure

int Html_cluster::getRows  ) 
 

returns the number of rows in the length-angle histogram (which represent angles)

double Html_cluster::getTotalLength  ) 
 

returns the total length of all the lines in the structure for the given image

void Html_cluster::setHistogram Histogram_element h  ) 
 

sets the structure histogram for this html cluster

void Html_cluster::setMatrix Matrix matrixIN  ) 
 

sets a matrix to represent the length-angle histogram which will ultimately be displayed as a gif file

void Html_cluster::setMaxLength double  len  ) 
 

sets the max length for the longest line in the structure

void Html_cluster::setMinLength double  len  ) 
 

sets the min length for the shortest line in the cluster

void Html_cluster::setTotalLength double  len  ) 
 

sets the total length of the lines being represented in this html cluster


The documentation for this class was generated from the following files:
Generated on Thu Sep 4 14:59:32 2003 for Content-Based Image Retrieval by doxygen 1.3.3