KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
kjb::Chamfer_transform Class Reference

#include <edge_chamfer.h>

Public Member Functions

 Chamfer_transform ()
 
 Chamfer_transform (const Edge_set_ptr edges, int size=3)
 
 Chamfer_transform (const std::string &fname)
 
 Chamfer_transform (const Self &other)
 
 ~Chamfer_transform ()
 
Selfoperator= (const Self &other)
 
void swap (Self &other)
 
const kjb_c::Edge_point & nearest_edge (int row, int col)
 
double nearest_distance (int row, int col)
 
int get_num_rows () const
 
int get_num_cols () const
 
const std::vector< std::vector
< const kjb_c::Edge_point * > > & 
edge_map () const
 
const Matrixdistance_map () const
 
std::vector< Int_matrixposition_map () const
 
void position_map (Int_matrix &row_positions, Int_matrix &col_positions) const
 
size_t get_num_points () const
 

Constructor & Destructor Documentation

kjb::Chamfer_transform::Chamfer_transform ( )
inline
kjb::Chamfer_transform::Chamfer_transform ( const Edge_set_ptr  edges,
int  size = 3 
)
inline
kjb::Chamfer_transform::Chamfer_transform ( const std::string &  fname)
inline
kjb::Chamfer_transform::Chamfer_transform ( const Self other)
kjb::Chamfer_transform::~Chamfer_transform ( )
inline

Member Function Documentation

const Matrix& kjb::Chamfer_transform::distance_map ( ) const
inline
const std::vector<std::vector<const kjb_c::Edge_point*> >& kjb::Chamfer_transform::edge_map ( ) const
inline
int kjb::Chamfer_transform::get_num_cols ( ) const
inline
size_t kjb::Chamfer_transform::get_num_points ( ) const
inline
int kjb::Chamfer_transform::get_num_rows ( ) const
inline
double kjb::Chamfer_transform::nearest_distance ( int  row,
int  col 
)
inline
const kjb_c::Edge_point& kjb::Chamfer_transform::nearest_edge ( int  row,
int  col 
)
inline
Self& kjb::Chamfer_transform::operator= ( const Self other)
inline
std::vector<Int_matrix> kjb::Chamfer_transform::position_map ( ) const
inline

This will return two int matrices containing the row and column location of the corresponding points. This data isn't stored internally, so the result is re-constructed on every call.

void kjb::Chamfer_transform::position_map ( Int_matrix row_positions,
Int_matrix col_positions 
) const
inline

This will return two int matrices containing the row and column location of the corresponding points. This data isn't stored internally, so the result is re-constructed on every call.

void kjb::Chamfer_transform::swap ( Self other)
inline

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