Files | |
file | projection_mesh.cpp |
Code for computing the projection of local meshes to the global mesh. | |
Macros | |
#define | _projection_mesh_CPP_ |
Functions | |
int | class_projection_mesh::add_vertex_to_mesh (double x, double y, double z, float rgb, float weight) |
int | class_projection_mesh::clear_constraints (void) |
int | class_projection_mesh::clear_vertices (void) |
int | class_projection_mesh::compute_face_weights (void) |
void | class_projection_mesh::discoverComponent (const PT &ct, PT::Face_handle start, int index, std::list< PT::Edge > &border) |
void | class_projection_mesh::discoverComponents (const PT &ct) |
int | class_projection_mesh::draw_mesh_triangles (cv::Mat *image, cv::Scalar color, int thickness) |
int | class_projection_mesh::export_triangles (pcl::PointCloud< pcl::PointXYZRGB > *vertex_list, std::vector< float > *face_weights) |
int | class_projection_mesh::export_triangles_in_order (pcl::PointCloud< pcl::PointXYZRGB > *vertex_list, std::vector< float > *face_weights) |
int | class_projection_mesh::initialize_all_faces_status (void) |
int | class_projection_mesh::set_constraint_polygon (std::vector< pcl::PointXY > *p) |
#define _projection_mesh_CPP_ |
Definition at line 34 of file projection_mesh.cpp.
int class_projection_mesh::add_vertex_to_mesh | ( | double | x, |
double | y, | ||
double | z, | ||
float | rgb, | ||
float | weight | ||
) |
Definition at line 91 of file projection_mesh.cpp.
int class_projection_mesh::clear_constraints | ( | void | ) |
Definition at line 40 of file projection_mesh.cpp.
int class_projection_mesh::clear_vertices | ( | void | ) |
Definition at line 49 of file projection_mesh.cpp.
int class_projection_mesh::compute_face_weights | ( | void | ) |
Definition at line 189 of file projection_mesh.cpp.
void class_projection_mesh::discoverComponent | ( | const PT & | ct, |
PT::Face_handle | start, | ||
int | index, | ||
std::list< PT::Edge > & | border | ||
) |
Definition at line 112 of file projection_mesh.cpp.
void class_projection_mesh::discoverComponents | ( | const PT & | ct | ) |
Definition at line 153 of file projection_mesh.cpp.
int class_projection_mesh::draw_mesh_triangles | ( | cv::Mat * | image, |
cv::Scalar | color, | ||
int | thickness | ||
) |
Definition at line 171 of file projection_mesh.cpp.
int class_projection_mesh::export_triangles | ( | pcl::PointCloud< pcl::PointXYZRGB > * | vertex_list, |
std::vector< float > * | face_weights | ||
) |
Definition at line 268 of file projection_mesh.cpp.
int class_projection_mesh::export_triangles_in_order | ( | pcl::PointCloud< pcl::PointXYZRGB > * | vertex_list, |
std::vector< float > * | face_weights | ||
) |
Definition at line 205 of file projection_mesh.cpp.
int class_projection_mesh::initialize_all_faces_status | ( | void | ) |
Definition at line 101 of file projection_mesh.cpp.
int class_projection_mesh::set_constraint_polygon | ( | std::vector< pcl::PointXY > * | p | ) |
Definition at line 55 of file projection_mesh.cpp.