#include <eipm_planefitting.h>
Public Member Functions | |
class_planefitting () | |
~class_planefitting () | |
int | set_points_all (double *x, double *y, double *z, int num_pts) |
int | zero_points (void) |
int | add_point (double x, double y, double z) |
int | calculate_plane (void) |
int | project_points_to_plane (void) |
int | allocate_points (int num_pts) |
int | free_points (void) |
int | print_plane_values (void) |
Data Fields | |
struct { | |
double a | |
double b | |
double c | |
double d | |
} | Plane |
struct { | |
xyz_t * in | |
xyz_t * out | |
int num_pts | |
} | data |
class_planefitting::class_planefitting | ( | ) | [inline] |
class_planefitting::~class_planefitting | ( | ) | [inline] |
int class_planefitting::add_point | ( | double | x, | |
double | y, | |||
double | z | |||
) | [inline] |
int class_planefitting::allocate_points | ( | int | num_pts | ) | [inline] |
References data.
Referenced by class_planefitting(), main(), and set_points_all().
int class_planefitting::calculate_plane | ( | void | ) | [inline] |
int class_planefitting::free_points | ( | void | ) | [inline] |
int class_planefitting::print_plane_values | ( | void | ) | [inline] |
int class_planefitting::project_points_to_plane | ( | void | ) | [inline] |
int class_planefitting::set_points_all | ( | double * | x, | |
double * | y, | |||
double * | z, | |||
int | num_pts | |||
) | [inline] |
int class_planefitting::zero_points | ( | void | ) | [inline] |
double class_planefitting::a |
Referenced by draw(), and project_points_to_plane().
double class_planefitting::b |
Referenced by draw(), and project_points_to_plane().
double class_planefitting::c |
Referenced by draw(), and project_points_to_plane().
double class_planefitting::d |
Referenced by draw(), and project_points_to_plane().
struct { ... } class_planefitting::data |
Referenced by add_point(), allocate_points(), calculate_plane(), draw(), free_points(), project_points_to_plane(), set_points_all(), and zero_points().
Referenced by draw().
Referenced by draw().
struct { ... } class_planefitting::Plane |
Referenced by calculate_plane(), draw(), print_plane_values(), and project_points_to_plane().