Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

vifa_line_cover Class Reference

#include <vifa_line_cover.h>

Inheritance diagram for vifa_line_cover:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 29 of file vifa_line_cover.h.

Public Member Functions

 vifa_line_cover ()
 Constructors.
 vifa_line_cover (imp_line_sptr prototype_line, int index_dimension)
 vifa_line_cover (vifa_line_cover const &c)
 ~vifa_line_cover ()
 Destructor.
void InsertLine (imp_line_sptr l)
 Insert a line in the index. The line is inserted in each index bin it covers.
double GetCoverage ()
 Get the average coverage along the line.
double GetDenseCoverage ()
 Get the average coverage along the line.
double GetCustomCoverage (const double norm)
 Get coverage relative to the total perimeter of indexed lines.
void GetExtent (imp_line_sptr &lmin, imp_line_sptr &lmax)
 Get extent of image space where parallel lines overlap under projection onto the prototype.
void ref ()
void unref ()
int get_references () const
bool is_referenced () const

Protected Member Functions

int get_index_min ()
int get_index_max ()
double get_signed_distance (vgl_point_2d< double > const &p)
imp_line_sptr get_offset_line (int start, int end, double dist)

Private Attributes

int dim_
int * index_
double * max_extent_
double * min_extent_
imp_line_sptr line_


Constructor & Destructor Documentation

vifa_line_cover::vifa_line_cover  ) 
 

Constructors.

Definition at line 12 of file vifa_line_cover.cxx.

vifa_line_cover::vifa_line_cover imp_line_sptr  prototype_line,
int  index_dimension
 

Definition at line 22 of file vifa_line_cover.cxx.

vifa_line_cover::vifa_line_cover vifa_line_cover const &  c  )  [inline]
 

Definition at line 43 of file vifa_line_cover.h.

vifa_line_cover::~vifa_line_cover  ) 
 

Destructor.

Definition at line 41 of file vifa_line_cover.cxx.


Member Function Documentation

int vifa_line_cover::get_index_max  )  [protected]
 

Definition at line 191 of file vifa_line_cover.cxx.

int vifa_line_cover::get_index_min  )  [protected]
 

Definition at line 179 of file vifa_line_cover.cxx.

imp_line_sptr vifa_line_cover::get_offset_line int  start,
int  end,
double  dist
[protected]
 

Definition at line 213 of file vifa_line_cover.cxx.

double vifa_line_cover::get_signed_distance vgl_point_2d< double > const &  p  )  [protected]
 

Definition at line 203 of file vifa_line_cover.cxx.

double vifa_line_cover::GetCoverage  ) 
 

Get the average coverage along the line.

Normalized by the full bounding box diagonal. Coverage must be greater than one line in order to indicate mutual coverage

Definition at line 108 of file vifa_line_cover.cxx.

double vifa_line_cover::GetCustomCoverage const double  norm  ) 
 

Get coverage relative to the total perimeter of indexed lines.

Definition at line 140 of file vifa_line_cover.cxx.

double vifa_line_cover::GetDenseCoverage  ) 
 

Get the average coverage along the line.

Coverage must be greater than one line in order to indicate mutual coverage

Definition at line 125 of file vifa_line_cover.cxx.

void vifa_line_cover::GetExtent imp_line_sptr lmin,
imp_line_sptr lmax
 

Get extent of image space where parallel lines overlap under projection onto the prototype.

Definition at line 151 of file vifa_line_cover.cxx.

void vifa_line_cover::InsertLine imp_line_sptr  l  ) 
 

Insert a line in the index. The line is inserted in each index bin it covers.

Definition at line 51 of file vifa_line_cover.cxx.


Member Data Documentation

int vifa_line_cover::dim_ [private]
 

Definition at line 31 of file vifa_line_cover.h.

int* vifa_line_cover::index_ [private]
 

Definition at line 32 of file vifa_line_cover.h.

imp_line_sptr vifa_line_cover::line_ [private]
 

Definition at line 35 of file vifa_line_cover.h.

double* vifa_line_cover::max_extent_ [private]
 

Definition at line 33 of file vifa_line_cover.h.

double* vifa_line_cover::min_extent_ [private]
 

Definition at line 34 of file vifa_line_cover.h.


The documentation for this class was generated from the following files:
Generated on Thu Jan 10 14:47:34 2008 for contrib/gel/vifa by  doxygen 1.4.4