#include <class_pinhole_projection.h>
Public Member Functions | |
class_pinhole_projection (void) | |
int | compute_transformation_matrix (void) |
Computation. | |
~class_pinhole_projection (void) | |
int | print_CvMat (cv::Mat *mat, const char *name) |
Prints. | |
int | project_pixel_to_vertex (const std::vector< pcl::PointXY > *p, pcl::PointCloud< pcl::PointXYZ > *v) |
int | project_pixel_with_color_to_vertex (const pcl::PointCloud< pcl::PointXYZRGB > *p, pcl::PointCloud< pcl::PointXYZRGB > *v) |
int | project_vertex_to_pixel (const pcl::PointCloud< pcl::PointXYZ >::Ptr v, std::vector< pcl::PointXY > *p) |
Projections. | |
int | set_projection_plane (double a, double b, double c, double d) |
Sets and gets. | |
Public Attributes | |
struct { | |
double a | |
double b | |
double c | |
double d | |
} | projection_plane |
Definition at line 56 of file class_pinhole_projection.h.
class_pinhole_projection::class_pinhole_projection | ( | void | ) | [inline] |
Definition at line 60 of file class_pinhole_projection.h.
class_pinhole_projection::~class_pinhole_projection | ( | void | ) | [inline] |
Definition at line 64 of file class_pinhole_projection.h.
int class_pinhole_projection::compute_transformation_matrix | ( | void | ) |
Computation.
int class_pinhole_projection::print_CvMat | ( | cv::Mat * | mat, | |
const char * | name | |||
) |
Prints.
General printing function of a CvMat.
mat | the CvMat matrix to print | |
name | optional name of the matrix to print |
Definition at line 60 of file class_pinhole_projection.cpp.
int class_pinhole_projection::project_pixel_to_vertex | ( | const std::vector< pcl::PointXY > * | p, | |
pcl::PointCloud< pcl::PointXYZ > * | v | |||
) |
Definition at line 229 of file class_pinhole_projection.cpp.
int class_pinhole_projection::project_pixel_with_color_to_vertex | ( | const pcl::PointCloud< pcl::PointXYZRGB > * | p, | |
pcl::PointCloud< pcl::PointXYZRGB > * | v | |||
) |
Definition at line 153 of file class_pinhole_projection.cpp.
int class_pinhole_projection::project_vertex_to_pixel | ( | const pcl::PointCloud< pcl::PointXYZ >::Ptr | v, | |
std::vector< pcl::PointXY > * | p | |||
) |
Projections.
Definition at line 84 of file class_pinhole_projection.cpp.
int class_pinhole_projection::set_projection_plane | ( | double | a, | |
double | b, | |||
double | c, | |||
double | d | |||
) |
Sets and gets.
Sets the values of the projection plane. Values of the plane equation ax + by + cz + d =0.
Definition at line 47 of file class_pinhole_projection.cpp.
double class_pinhole_projection::a |
Definition at line 88 of file class_pinhole_projection.h.
double class_pinhole_projection::b |
Definition at line 88 of file class_pinhole_projection.h.
double class_pinhole_projection::c |
Definition at line 88 of file class_pinhole_projection.h.
double class_pinhole_projection::d |
Definition at line 88 of file class_pinhole_projection.h.
struct { ... } class_pinhole_projection::projection_plane |