Public Member Functions | Private Attributes
grid_profile_matcher Class Reference

#include <sdet_grid_finder.h>

List of all members.

Public Member Functions

 grid_profile_matcher ()
 ~grid_profile_matcher ()
bool insert_lines (vcl_vector< vsol_line_2d_sptr > const &lines, bool horizontal_lines)
bool get_lines_in_interval (const double dlo, const double dhi, vcl_vector< vsol_line_2d_sptr > &lines) const
double calculate_grid_offset (int n_lines, double spacing)
int index_size () const
int n_lines () const
double offset (int i) const
double distance (double x) const

Private Attributes

vnl_vector< double > image_profile_
vcl_vector< double > distances_
vcl_vector< vcl_vector
< vsol_line_2d_sptr > * > 
line_index_
int size_
double dmin_
double dmax_

Detailed Description

Definition at line 70 of file sdet_grid_finder.h.


Constructor & Destructor Documentation

grid_profile_matcher::grid_profile_matcher ( )

Definition at line 175 of file sdet_grid_finder.cxx.

grid_profile_matcher::~grid_profile_matcher ( )

Definition at line 182 of file sdet_grid_finder.cxx.


Member Function Documentation

double grid_profile_matcher::calculate_grid_offset ( int  n_lines,
double  spacing 
)

Definition at line 273 of file sdet_grid_finder.cxx.

double grid_profile_matcher::distance ( double  x) const
bool grid_profile_matcher::get_lines_in_interval ( const double  dlo,
const double  dhi,
vcl_vector< vsol_line_2d_sptr > &  lines 
) const

Definition at line 249 of file sdet_grid_finder.cxx.

int grid_profile_matcher::index_size ( ) const [inline]

Definition at line 80 of file sdet_grid_finder.h.

bool grid_profile_matcher::insert_lines ( vcl_vector< vsol_line_2d_sptr > const &  lines,
bool  horizontal_lines 
)

Definition at line 188 of file sdet_grid_finder.cxx.

int grid_profile_matcher::n_lines ( ) const [inline]

Definition at line 81 of file sdet_grid_finder.h.

double grid_profile_matcher::offset ( int  i) const [inline]

Definition at line 82 of file sdet_grid_finder.h.


Member Data Documentation

vcl_vector<double> grid_profile_matcher::distances_ [private]

Definition at line 86 of file sdet_grid_finder.h.

double grid_profile_matcher::dmax_ [private]

Definition at line 90 of file sdet_grid_finder.h.

double grid_profile_matcher::dmin_ [private]

Definition at line 89 of file sdet_grid_finder.h.

Definition at line 85 of file sdet_grid_finder.h.

vcl_vector<vcl_vector<vsol_line_2d_sptr>* > grid_profile_matcher::line_index_ [private]

Definition at line 87 of file sdet_grid_finder.h.

Definition at line 88 of file sdet_grid_finder.h.


The documentation for this class was generated from the following files: