Represents a feature ("data point") used by the registration algorithms. More...
#include <rgrl_feature_region.h>
Public Member Functions | |
rgrl_feature_region () | |
virtual | ~rgrl_feature_region () |
virtual const vcl_vector < vnl_vector< int > > & | pixel_coordinates () |
virtual const vcl_vector < vnl_vector< int > > & | pixel_coordinates_ratio (vnl_vector< double > const &spacing_ratio) |
get pixels coordinates within the region. | |
virtual void | generate_pixel_coordinates (vnl_vector< double > const &spacing_ratio)=0 |
generate pixels coordinates within the region. | |
Protected Attributes | |
bool | pixel_coordinates_cached_ |
vcl_vector< vnl_vector< int > > | pixel_coordinates_ |
vnl_vector< double > | spacing_ratio_ |
Represents a feature ("data point") used by the registration algorithms.
Definition at line 16 of file rgrl_feature_region.h.
rgrl_feature_region::rgrl_feature_region | ( | ) | [inline] |
Definition at line 20 of file rgrl_feature_region.h.
virtual rgrl_feature_region::~rgrl_feature_region | ( | ) | [inline, virtual] |
Definition at line 23 of file rgrl_feature_region.h.
virtual void rgrl_feature_region::generate_pixel_coordinates | ( | vnl_vector< double > const & | spacing_ratio | ) | [pure virtual] |
generate pixels coordinates within the region.
Implemented in rgrl_feature_trace_region, rgrl_feature_face_region, and rgrl_feature_point_region.
const vcl_vector< vnl_vector< int > > & rgrl_feature_region::pixel_coordinates | ( | ) | [virtual] |
Definition at line 14 of file rgrl_feature_region.cxx.
vcl_vector< vnl_vector< int > > const & rgrl_feature_region::pixel_coordinates_ratio | ( | vnl_vector< double > const & | spacing_ratio | ) | [virtual] |
get pixels coordinates within the region.
Definition at line 33 of file rgrl_feature_region.cxx.
vcl_vector< vnl_vector<int> > rgrl_feature_region::pixel_coordinates_ [protected] |
Definition at line 46 of file rgrl_feature_region.h.
bool rgrl_feature_region::pixel_coordinates_cached_ [protected] |
Definition at line 45 of file rgrl_feature_region.h.
vnl_vector< double > rgrl_feature_region::spacing_ratio_ [protected] |
Definition at line 47 of file rgrl_feature_region.h.