#include <vdgl_interpolator.h>
Public Member Functions | |
vdgl_interpolator (vdgl_edgel_chain_sptr chain) | |
vdgl_interpolator (vdgl_interpolator const &x) | |
virtual short | order () const =0 |
order of interpolation 1=linear, 2 = quadratic, 3 = cubic, ..etc. | |
virtual double | get_x (double index)=0 |
interpolation 0th degree. | |
virtual double | get_y (double index)=0 |
virtual double | get_grad (double index)=0 |
interpolation 1st degree. | |
virtual double | get_theta (double index)=0 |
virtual double | get_tangent_angle (double index)=0 |
virtual double | get_curvature (double index)=0 |
interpolation 2nd degree. | |
virtual double | get_length ()=0 |
integral. | |
virtual double | get_min_x ()=0 |
bounding box. | |
virtual double | get_max_x ()=0 |
virtual double | get_min_y ()=0 |
virtual double | get_max_y ()=0 |
virtual vsol_point_2d_sptr | closest_point_on_curve (vsol_point_2d_sptr p)=0 |
find closest point on the curve to the input point. | |
virtual double | distance_curve_to_point (vsol_point_2d_sptr p) |
vdgl_edgel_chain_sptr | get_edgel_chain () const |
void | touch () |
unsigned long | get_time_stamp () const |
bool | older (vul_timestamp const &t) const |
bool | older (vul_timestamp const *t) const |
void | ref () |
void | unref () |
int | get_references () const |
bool | is_referenced () const |
Protected Attributes | |
vdgl_edgel_chain_sptr | chain_ |
unsigned long | timestamp_ |
Definition at line 30 of file vdgl_interpolator.h.
vdgl_interpolator::vdgl_interpolator | ( | vdgl_edgel_chain_sptr | chain | ) | [inline] |
Definition at line 38 of file vdgl_interpolator.h.
vdgl_interpolator::vdgl_interpolator | ( | vdgl_interpolator const & | x | ) | [inline] |
Definition at line 40 of file vdgl_interpolator.h.
virtual vsol_point_2d_sptr vdgl_interpolator::closest_point_on_curve | ( | vsol_point_2d_sptr | p | ) | [pure virtual] |
find closest point on the curve to the input point.
Implemented in vdgl_interpolator_cubic, and vdgl_interpolator_linear.
double vdgl_interpolator::distance_curve_to_point | ( | vsol_point_2d_sptr | p | ) | [virtual] |
Definition at line 10 of file vdgl_interpolator.cxx.
virtual double vdgl_interpolator::get_curvature | ( | double | index | ) | [pure virtual] |
interpolation 2nd degree.
Implemented in vdgl_interpolator_cubic, and vdgl_interpolator_linear.
vdgl_edgel_chain_sptr vdgl_interpolator::get_edgel_chain | ( | ) | const [inline] |
Definition at line 74 of file vdgl_interpolator.h.
virtual double vdgl_interpolator::get_grad | ( | double | index | ) | [pure virtual] |
interpolation 1st degree.
Implemented in vdgl_interpolator_cubic, and vdgl_interpolator_linear.
virtual double vdgl_interpolator::get_length | ( | ) | [pure virtual] |
integral.
Implemented in vdgl_interpolator_cubic, and vdgl_interpolator_linear.
virtual double vdgl_interpolator::get_max_x | ( | ) | [pure virtual] |
Implemented in vdgl_interpolator_cubic, and vdgl_interpolator_linear.
virtual double vdgl_interpolator::get_max_y | ( | ) | [pure virtual] |
Implemented in vdgl_interpolator_cubic, and vdgl_interpolator_linear.
virtual double vdgl_interpolator::get_min_x | ( | ) | [pure virtual] |
bounding box.
Implemented in vdgl_interpolator_cubic, and vdgl_interpolator_linear.
virtual double vdgl_interpolator::get_min_y | ( | ) | [pure virtual] |
Implemented in vdgl_interpolator_cubic, and vdgl_interpolator_linear.
virtual double vdgl_interpolator::get_tangent_angle | ( | double | index | ) | [pure virtual] |
Implemented in vdgl_interpolator_cubic, and vdgl_interpolator_linear.
virtual double vdgl_interpolator::get_theta | ( | double | index | ) | [pure virtual] |
Implemented in vdgl_interpolator_cubic, and vdgl_interpolator_linear.
virtual double vdgl_interpolator::get_x | ( | double | index | ) | [pure virtual] |
interpolation 0th degree.
Implemented in vdgl_interpolator_cubic, and vdgl_interpolator_linear.
virtual double vdgl_interpolator::get_y | ( | double | index | ) | [pure virtual] |
Implemented in vdgl_interpolator_cubic, and vdgl_interpolator_linear.
virtual short vdgl_interpolator::order | ( | ) | const [pure virtual] |
order of interpolation 1=linear, 2 = quadratic, 3 = cubic, ..etc.
Implemented in vdgl_interpolator_cubic, and vdgl_interpolator_linear.
vdgl_edgel_chain_sptr vdgl_interpolator::chain_ [protected] |
Definition at line 80 of file vdgl_interpolator.h.