#include <bugl_curve_3d.h>
Definition at line 33 of file bugl_curve_3d.h.
Public Member Functions | |
| int | get_num_points () const |
| total number of points in the curve. | |
| int | get_num_fragments () const |
| how many fragments in the curve. | |
| void | add_curve (vcl_vector< bugl_normal_point_3d_sptr > &pts) |
| add a vector of point as a curve. | |
| bugl_curve_3d (unsigned int neighbors=2) | |
| ~bugl_curve_3d () | |
| bugl_normal_point_3d_sptr | get_point (unsigned int index) const |
| get the point. | |
| vcl_vector< bugl_normal_point_3d_sptr > | get_neighbors (unsigned int index) const |
| get a point with neighbors. | |
| bugl_normal_point_3d_sptr | get_neighbor (unsigned int self, int offset) const |
| get a neighbor point. | |
| int | get_global_pos (unsigned int frag_index, unsigned int loc_pos) |
| get the global position of a point in a fragment. 0-based indices are used. | |
| unsigned int | get_fragment_size (unsigned int i) const |
| get the i-th fragment size. | |
Private Attributes | |
| unsigned int | num_neighbors_ |
| number of neighbors. | |
| vcl_vector< vcl_vector< bugl_normal_point_3d_sptr > > | data_ |
| data. | |
| vcl_vector< int > | index_ |
| starting position index for each fragment. | |
|
|
Definition at line 55 of file bugl_curve_3d.h. |
|
|
Definition at line 57 of file bugl_curve_3d.h. |
|
|
add a vector of point as a curve.
Definition at line 23 of file bugl_curve_3d.cxx. |
|
|
get the i-th fragment size.
Definition at line 53 of file bugl_curve_3d.cxx. |
|
||||||||||||
|
get the global position of a point in a fragment. 0-based indices are used. Returns -1 if the arguments are invalid. Definition at line 70 of file bugl_curve_3d.h. |
|
||||||||||||
|
get a neighbor point.
Definition at line 17 of file bugl_curve_3d.cxx. |
|
|
get a point with neighbors.
Definition at line 11 of file bugl_curve_3d.cxx. |
|
|
how many fragments in the curve.
Definition at line 50 of file bugl_curve_3d.h. |
|
|
total number of points in the curve.
Definition at line 47 of file bugl_curve_3d.h. |
|
|
get the point.
Definition at line 5 of file bugl_curve_3d.cxx. |
|
|
data.
Definition at line 39 of file bugl_curve_3d.h. |
|
|
starting position index for each fragment.
Definition at line 42 of file bugl_curve_3d.h. |
|
|
number of neighbors.
Definition at line 36 of file bugl_curve_3d.h. |
1.4.4