Public Types | Public Member Functions | Public Attributes | Protected Attributes | Private Attributes
PointCloudToMeshAlgorithm Class Reference

IRI ROS Specific Driver Class. More...

#include <pointcloud_to_mesh_alg.h>

List of all members.

Public Types

typedef
iri_pointcloud_to_mesh::PointCloudToMeshConfig 
Config
 define config type

Public Member Functions

bool compute_mesh (const sensor_msgs::PointCloud2::ConstPtr &msg)
bool compute_mesh (pcl::PointCloud< pcl::PointXYZ >::Ptr &cloud)
void config_update (Config &new_cfg, uint32_t level=0)
 config update
void lock (void)
 Lock Algorithm.
 PointCloudToMeshAlgorithm (void)
 constructor
void set_down_res (double down_res)
void set_max_angle (double max_ang)
void set_max_surface_angle (double max_surf_angle)
void set_min_angle (double min_ang)
void set_mu (double mu)
void set_normal_consistency (bool norm_consistency)
void set_num_of_neigh (unsigned int num_neigh)
void set_radius (double radius)
bool try_enter (void)
 Tries Access to Algorithm.
void unlock (void)
 Unlock Algorithm.
 ~PointCloudToMeshAlgorithm (void)
 Destructor.

Public Attributes

Config config_
 config variable

Protected Attributes

CMutex alg_mutex_
 define config type

Private Attributes

double down_res_
double max_ang_
double max_surf_angle_
double min_ang_
double mu_
bool norm_consistency_
unsigned int num_neigh_
double radius_

Detailed Description

IRI ROS Specific Driver Class.

Definition at line 48 of file pointcloud_to_mesh_alg.h.


Member Typedef Documentation

typedef iri_pointcloud_to_mesh::PointCloudToMeshConfig PointCloudToMeshAlgorithm::Config

define config type

Define a Config type with the PointCloudToMeshConfig. All driver implementations will then use the same variable type Config.

Definition at line 78 of file pointcloud_to_mesh_alg.h.


Constructor & Destructor Documentation

constructor

In this constructor parameters related to the specific driver can be initalized. Those parameters can be also set in the openDriver() function. Attributes from the main node driver class IriBaseDriver such as loop_rate, may be also overload here.

Definition at line 3 of file pointcloud_to_mesh_alg.cpp.

Destructor.

This destructor is called when the object is about to be destroyed.

Definition at line 10 of file pointcloud_to_mesh_alg.cpp.


Member Function Documentation

bool PointCloudToMeshAlgorithm::compute_mesh ( const sensor_msgs::PointCloud2::ConstPtr &  msg)

Definition at line 25 of file pointcloud_to_mesh_alg.cpp.

bool PointCloudToMeshAlgorithm::compute_mesh ( pcl::PointCloud< pcl::PointXYZ >::Ptr &  cloud)

Definition at line 34 of file pointcloud_to_mesh_alg.cpp.

void PointCloudToMeshAlgorithm::config_update ( Config new_cfg,
uint32_t  level = 0 
)

config update

In this function the driver parameters must be updated with the input config variable. Then the new configuration state will be stored in the Config attribute.

Parameters:
new_cfgthe new driver configuration state
levellevel in which the update is taken place

Definition at line 14 of file pointcloud_to_mesh_alg.cpp.

void PointCloudToMeshAlgorithm::lock ( void  ) [inline]

Lock Algorithm.

Locks access to the Algorithm class

Definition at line 103 of file pointcloud_to_mesh_alg.h.

void PointCloudToMeshAlgorithm::set_down_res ( double  down_res)

Definition at line 89 of file pointcloud_to_mesh_alg.cpp.

void PointCloudToMeshAlgorithm::set_max_angle ( double  max_ang)

Definition at line 113 of file pointcloud_to_mesh_alg.cpp.

void PointCloudToMeshAlgorithm::set_max_surface_angle ( double  max_surf_angle)

Definition at line 105 of file pointcloud_to_mesh_alg.cpp.

void PointCloudToMeshAlgorithm::set_min_angle ( double  min_ang)

Definition at line 109 of file pointcloud_to_mesh_alg.cpp.

void PointCloudToMeshAlgorithm::set_mu ( double  mu)

Definition at line 97 of file pointcloud_to_mesh_alg.cpp.

Definition at line 117 of file pointcloud_to_mesh_alg.cpp.

void PointCloudToMeshAlgorithm::set_num_of_neigh ( unsigned int  num_neigh)

Definition at line 101 of file pointcloud_to_mesh_alg.cpp.

void PointCloudToMeshAlgorithm::set_radius ( double  radius)

Definition at line 93 of file pointcloud_to_mesh_alg.cpp.

Tries Access to Algorithm.

Tries access to Algorithm

Returns:
true if the lock was adquired, false otherwise

Definition at line 119 of file pointcloud_to_mesh_alg.h.

void PointCloudToMeshAlgorithm::unlock ( void  ) [inline]

Unlock Algorithm.

Unlocks access to the Algorithm class

Definition at line 110 of file pointcloud_to_mesh_alg.h.


Member Data Documentation

define config type

Define a Config type with the PointCloudToMeshConfig. All driver implementations will then use the same variable type Config.

Definition at line 67 of file pointcloud_to_mesh_alg.h.

config variable

This variable has all the driver parameters defined in the cfg config file. Is updated everytime function config_update() is called.

Definition at line 86 of file pointcloud_to_mesh_alg.h.

Definition at line 51 of file pointcloud_to_mesh_alg.h.

Definition at line 57 of file pointcloud_to_mesh_alg.h.

Definition at line 55 of file pointcloud_to_mesh_alg.h.

Definition at line 56 of file pointcloud_to_mesh_alg.h.

Definition at line 53 of file pointcloud_to_mesh_alg.h.

Definition at line 58 of file pointcloud_to_mesh_alg.h.

unsigned int PointCloudToMeshAlgorithm::num_neigh_ [private]

Definition at line 54 of file pointcloud_to_mesh_alg.h.

Definition at line 52 of file pointcloud_to_mesh_alg.h.


The documentation for this class was generated from the following files:


iri_pointcloud_to_mesh
Author(s): Sergi Foix
autogenerated on Fri Dec 6 2013 20:33:34