imaging::MrepSkeleton2d Class Reference
[M-Rep Module]

Medial axis parametrization of planar shapes. More...

#include <MrepSkeleton2d.hpp>

Inheritance diagram for imaging::MrepSkeleton2d:

imaging::MrepModel< position_t, atom_t, connection_t > imaging::ShapeInterface imaging::MrepModel2d imaging::PolygonModel2d

List of all members.

Public Member Functions

 MrepSkeleton2d (const Position2d &position, size_t n_atoms=0, size_t n_connections=0)
ublas::fixed_vector< float_t, 2 > atom_center (size_t atom_index) const
 Get the global coordinates of the center of the atom atom_index.
void set_atom_center (size_t atom_index, const ublas::fixed_vector< float_t, 2 > &center)
 Set the global coordinates of the center of the atom atom_index.
void set_atom_radius (size_t atom_index, float_t radius)
 Set the radius the atom atom_index.
void get_geometry (std::vector< ublas::fixed_vector< float_t, 2 > > &atom_centers, std::vector< float_t > &atom_radii) const
void set_geometry (const std::vector< ublas::fixed_vector< float_t, 2 > > &atom_centers, const std::vector< float_t > &atom_radii)
float_t atom_radius (size_t atom_index) const
 Get the radius of the atom atom_index.
float_t compute_tangent_angle (size_t atom_1, size_t atom_2) const


Detailed Description

Medial axis parametrization of planar shapes.
The documentation for this class was generated from the following files:

Generated on Tue Feb 10 10:01:31 2009 for imaging2 by  doxygen 1.5.5