Class to render synthetic views of a 3D mesh using a tesselated sphere NOTE: This class should replace renderViewTesselatedSphere from pcl::visualization. Some extensions are planned in the near future to this class like removal of duplicated views for symmetrical objects, generation of RGB synthetic clouds when RGB available on mesh, etc. More...
#include <render_views_tesselated_sphere.h>
Classes | |
struct | camPosConstraintsAllTrue |
Public Member Functions | |
void | addModelFromPolyData (vtkSmartPointer< vtkPolyData > &polydata) |
void | generateViews () |
void | getEntropies (std::vector< float > &entropies) |
void | getPoses (std::vector< Eigen::Matrix4f, Eigen::aligned_allocator< Eigen::Matrix4f > > &poses) |
void | getViews (std::vector< pcl::PointCloud< pcl::PointXYZ >::Ptr > &views) |
RenderViewsTesselatedSphere () | |
void | setCamPosConstraints (boost::function< bool(const Eigen::Vector3f &)> &bb) |
void | setComputeEntropies (bool compute) |
void | setGenOrganized (bool b) |
void | setRadiusSphere (float radius) |
void | setResolution (int res) |
void | setTesselationLevel (int level) |
void | setUseVertices (bool use) |
void | setViewAngle (float angle) |
Private Attributes | |
boost::function< bool(const Eigen::Vector3f &)> | campos_constraints_func_ |
bool | compute_entropy_ |
std::vector< float > | entropies_ |
bool | gen_organized_ |
std::vector< pcl::PointCloud < pcl::PointXYZ >::Ptr > | generated_views_ |
vtkSmartPointer< vtkPolyData > | polydata_ |
std::vector< Eigen::Matrix4f, Eigen::aligned_allocator < Eigen::Matrix4f > > | poses_ |
float | radius_sphere_ |
int | resolution_ |
int | tesselation_level_ |
bool | use_vertices_ |
float | view_angle_ |
Class to render synthetic views of a 3D mesh using a tesselated sphere NOTE: This class should replace renderViewTesselatedSphere from pcl::visualization. Some extensions are planned in the near future to this class like removal of duplicated views for symmetrical objects, generation of RGB synthetic clouds when RGB available on mesh, etc.
Definition at line 27 of file render_views_tesselated_sphere.h.
Definition at line 55 of file render_views_tesselated_sphere.h.
void pcl::apps::RenderViewsTesselatedSphere::addModelFromPolyData | ( | vtkSmartPointer< vtkPolyData > & | polydata | ) | [inline] |
Definition at line 141 of file render_views_tesselated_sphere.h.
Definition at line 33 of file render_views_tesselated_sphere.cpp.
void pcl::apps::RenderViewsTesselatedSphere::getEntropies | ( | std::vector< float > & | entropies | ) | [inline] |
Definition at line 173 of file render_views_tesselated_sphere.h.
void pcl::apps::RenderViewsTesselatedSphere::getPoses | ( | std::vector< Eigen::Matrix4f, Eigen::aligned_allocator< Eigen::Matrix4f > > & | poses | ) | [inline] |
Definition at line 155 of file render_views_tesselated_sphere.h.
void pcl::apps::RenderViewsTesselatedSphere::getViews | ( | std::vector< pcl::PointCloud< pcl::PointXYZ >::Ptr > & | views | ) | [inline] |
Definition at line 164 of file render_views_tesselated_sphere.h.
void pcl::apps::RenderViewsTesselatedSphere::setCamPosConstraints | ( | boost::function< bool(const Eigen::Vector3f &)> & | bb | ) | [inline] |
Definition at line 68 of file render_views_tesselated_sphere.h.
void pcl::apps::RenderViewsTesselatedSphere::setComputeEntropies | ( | bool | compute | ) | [inline] |
Definition at line 114 of file render_views_tesselated_sphere.h.
void pcl::apps::RenderViewsTesselatedSphere::setGenOrganized | ( | bool | b | ) | [inline] |
Definition at line 77 of file render_views_tesselated_sphere.h.
void pcl::apps::RenderViewsTesselatedSphere::setRadiusSphere | ( | float | radius | ) | [inline] |
Definition at line 105 of file render_views_tesselated_sphere.h.
void pcl::apps::RenderViewsTesselatedSphere::setResolution | ( | int | res | ) | [inline] |
Definition at line 86 of file render_views_tesselated_sphere.h.
void pcl::apps::RenderViewsTesselatedSphere::setTesselationLevel | ( | int | level | ) | [inline] |
Definition at line 123 of file render_views_tesselated_sphere.h.
void pcl::apps::RenderViewsTesselatedSphere::setUseVertices | ( | bool | use | ) | [inline] |
Definition at line 96 of file render_views_tesselated_sphere.h.
void pcl::apps::RenderViewsTesselatedSphere::setViewAngle | ( | float | angle | ) | [inline] |
Definition at line 132 of file render_views_tesselated_sphere.h.
boost::function<bool (const Eigen::Vector3f &)> pcl::apps::RenderViewsTesselatedSphere::campos_constraints_func_ [private] |
Definition at line 42 of file render_views_tesselated_sphere.h.
bool pcl::apps::RenderViewsTesselatedSphere::compute_entropy_ [private] |
Definition at line 38 of file render_views_tesselated_sphere.h.
std::vector<float> pcl::apps::RenderViewsTesselatedSphere::entropies_ [private] |
Definition at line 32 of file render_views_tesselated_sphere.h.
bool pcl::apps::RenderViewsTesselatedSphere::gen_organized_ [private] |
Definition at line 40 of file render_views_tesselated_sphere.h.
std::vector<pcl::PointCloud<pcl::PointXYZ>::Ptr> pcl::apps::RenderViewsTesselatedSphere::generated_views_ [private] |
Definition at line 31 of file render_views_tesselated_sphere.h.
vtkSmartPointer<vtkPolyData> pcl::apps::RenderViewsTesselatedSphere::polydata_ [private] |
Definition at line 39 of file render_views_tesselated_sphere.h.
std::vector<Eigen::Matrix4f, Eigen::aligned_allocator<Eigen::Matrix4f> > pcl::apps::RenderViewsTesselatedSphere::poses_ [private] |
Definition at line 30 of file render_views_tesselated_sphere.h.
float pcl::apps::RenderViewsTesselatedSphere::radius_sphere_ [private] |
Definition at line 37 of file render_views_tesselated_sphere.h.
int pcl::apps::RenderViewsTesselatedSphere::resolution_ [private] |
Definition at line 33 of file render_views_tesselated_sphere.h.
Definition at line 34 of file render_views_tesselated_sphere.h.
bool pcl::apps::RenderViewsTesselatedSphere::use_vertices_ [private] |
Definition at line 35 of file render_views_tesselated_sphere.h.
float pcl::apps::RenderViewsTesselatedSphere::view_angle_ [private] |
Definition at line 36 of file render_views_tesselated_sphere.h.