Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
jsk_pcl_ros_utils::PointCloudToSTL Class Reference

#include <pointcloud_to_stl.h>

Inheritance diagram for jsk_pcl_ros_utils::PointCloudToSTL:
Inheritance graph
[legend]

Public Member Functions

 PointCloudToSTL ()
 
- Public Member Functions inherited from pcl_ros::PCLNodelet
 PCLNodelet ()
 
- Public Member Functions inherited from nodelet_topic_tools::NodeletLazy
 NodeletLazy ()
 
- Public Member Functions inherited from nodelet::Nodelet
void init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL)
 
 Nodelet ()
 
virtual ~Nodelet ()
 

Protected Member Functions

virtual void cloudCallback (const sensor_msgs::PointCloud2::ConstPtr &input)
 
virtual bool createSTL (jsk_recognition_msgs::SetPointCloud2::Request &req, jsk_recognition_msgs::SetPointCloud2::Response &res)
 
virtual void exportSTL (const pcl::PointCloud< pcl::PointXYZRGB >::ConstPtr &cloud)
 
virtual void onInit ()
 
- Protected Member Functions inherited from pcl_ros::PCLNodelet
bool isValid (const PointCloud2::ConstPtr &cloud, const std::string &topic_name="input")
 
bool isValid (const PointCloudConstPtr &cloud, const std::string &topic_name="input")
 
bool isValid (const ModelCoefficientsConstPtr &model, const std::string &topic_name="model")
 
bool isValid (const PointIndicesConstPtr &indices, const std::string &topic_name="indices")
 
virtual void subscribe ()
 
virtual void unsubscribe ()
 
- Protected Member Functions inherited from nodelet_topic_tools::NodeletLazy
ros::Publisher advertise (ros::NodeHandle &nh, std::string topic, int queue_size, bool latch=false)
 
virtual void connectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void onInitPostProcess ()
 
virtual void warnNeverSubscribedCallback (const ros::WallTimerEvent &event)
 
- Protected Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::string & getName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

Protected Attributes

ros::ServiceServer create_stl_srv_
 
std::string file_name_
 
std::string frame_
 
std::string latest_output_path_
 
double max_edge_length_
 
double maximum_angle_
 
int maximum_nearest_neighbors_
 
double maximum_surface_angle_
 
double minimum_angle_
 
double mu_
 
bool normal_consistency_
 
pcl::OrganizedFastMesh< pcl::PointXYZRGB > ofm
 
ros::Publisher pub_mesh_
 
double search_radius_
 
bool store_shadow_faces_
 
ros::Subscriber sub_input_
 
double triangle_pixel_size_
 
- Protected Attributes inherited from pcl_ros::PCLNodelet
bool approximate_sync_
 
bool latched_indices_
 
int max_queue_size_
 
ros::Publisher pub_output_
 
message_filters::Subscriber< PointIndicessub_indices_filter_
 
message_filters::Subscriber< PointCloudsub_input_filter_
 
tf::TransformListener tf_listener_
 
bool use_indices_
 
- Protected Attributes inherited from nodelet_topic_tools::NodeletLazy
boost::mutex connection_mutex_
 
ConnectionStatus connection_status_
 
bool ever_subscribed_
 
bool lazy_
 
boost::shared_ptr< ros::NodeHandlenh_
 
boost::shared_ptr< ros::NodeHandlepnh_
 
std::vector< ros::Publisherpublishers_
 
ros::WallTimer timer_ever_subscribed_
 
bool verbose_connection_
 

Additional Inherited Members

- Public Types inherited from pcl_ros::PCLNodelet
typedef boost::shared_ptr< const std::vector< int > > IndicesConstPtr
 
typedef boost::shared_ptr< std::vector< int > > IndicesPtr
 
typedef pcl_msgs::ModelCoefficients ModelCoefficients
 
typedef ModelCoefficients::ConstPtr ModelCoefficientsConstPtr
 
typedef ModelCoefficients::Ptr ModelCoefficientsPtr
 
typedef pcl::PointCloud< pcl::PointXYZ > PointCloud
 
typedef sensor_msgs::PointCloud2 PointCloud2
 
typedef PointCloud::ConstPtr PointCloudConstPtr
 
typedef PointCloud::Ptr PointCloudPtr
 
typedef pcl_msgs::PointIndices PointIndices
 
typedef PointIndices::ConstPtr PointIndicesConstPtr
 
typedef PointIndices::Ptr PointIndicesPtr
 

Detailed Description

Definition at line 54 of file pointcloud_to_stl.h.

Constructor & Destructor Documentation

jsk_pcl_ros_utils::PointCloudToSTL::PointCloudToSTL ( )
inline

Definition at line 57 of file pointcloud_to_stl.h.

Member Function Documentation

void jsk_pcl_ros_utils::PointCloudToSTL::cloudCallback ( const sensor_msgs::PointCloud2::ConstPtr &  input)
protectedvirtual

Definition at line 57 of file pointcloud_to_stl_nodelet.cpp.

bool jsk_pcl_ros_utils::PointCloudToSTL::createSTL ( jsk_recognition_msgs::SetPointCloud2::Request &  req,
jsk_recognition_msgs::SetPointCloud2::Response &  res 
)
protectedvirtual

Definition at line 210 of file pointcloud_to_stl_nodelet.cpp.

void jsk_pcl_ros_utils::PointCloudToSTL::exportSTL ( const pcl::PointCloud< pcl::PointXYZRGB >::ConstPtr &  cloud)
protectedvirtual

Definition at line 86 of file pointcloud_to_stl_nodelet.cpp.

void jsk_pcl_ros_utils::PointCloudToSTL::onInit ( void  )
protectedvirtual

Reimplemented from pcl_ros::PCLNodelet.

Definition at line 221 of file pointcloud_to_stl_nodelet.cpp.

Member Data Documentation

ros::ServiceServer jsk_pcl_ros_utils::PointCloudToSTL::create_stl_srv_
protected

Definition at line 67 of file pointcloud_to_stl.h.

std::string jsk_pcl_ros_utils::PointCloudToSTL::file_name_
protected

Definition at line 81 of file pointcloud_to_stl.h.

std::string jsk_pcl_ros_utils::PointCloudToSTL::frame_
protected

Definition at line 69 of file pointcloud_to_stl.h.

std::string jsk_pcl_ros_utils::PointCloudToSTL::latest_output_path_
protected

Definition at line 82 of file pointcloud_to_stl.h.

double jsk_pcl_ros_utils::PointCloudToSTL::max_edge_length_
protected

Definition at line 80 of file pointcloud_to_stl.h.

double jsk_pcl_ros_utils::PointCloudToSTL::maximum_angle_
protected

Definition at line 75 of file pointcloud_to_stl.h.

int jsk_pcl_ros_utils::PointCloudToSTL::maximum_nearest_neighbors_
protected

Definition at line 72 of file pointcloud_to_stl.h.

double jsk_pcl_ros_utils::PointCloudToSTL::maximum_surface_angle_
protected

Definition at line 73 of file pointcloud_to_stl.h.

double jsk_pcl_ros_utils::PointCloudToSTL::minimum_angle_
protected

Definition at line 74 of file pointcloud_to_stl.h.

double jsk_pcl_ros_utils::PointCloudToSTL::mu_
protected

Definition at line 71 of file pointcloud_to_stl.h.

bool jsk_pcl_ros_utils::PointCloudToSTL::normal_consistency_
protected

Definition at line 76 of file pointcloud_to_stl.h.

pcl::OrganizedFastMesh<pcl::PointXYZRGB> jsk_pcl_ros_utils::PointCloudToSTL::ofm
protected

Definition at line 83 of file pointcloud_to_stl.h.

ros::Publisher jsk_pcl_ros_utils::PointCloudToSTL::pub_mesh_
protected

Definition at line 65 of file pointcloud_to_stl.h.

double jsk_pcl_ros_utils::PointCloudToSTL::search_radius_
protected

Definition at line 70 of file pointcloud_to_stl.h.

bool jsk_pcl_ros_utils::PointCloudToSTL::store_shadow_faces_
protected

Definition at line 77 of file pointcloud_to_stl.h.

ros::Subscriber jsk_pcl_ros_utils::PointCloudToSTL::sub_input_
protected

Definition at line 66 of file pointcloud_to_stl.h.

double jsk_pcl_ros_utils::PointCloudToSTL::triangle_pixel_size_
protected

Definition at line 79 of file pointcloud_to_stl.h.


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


jsk_pcl_ros_utils
Author(s): Yohei Kakiuchi
autogenerated on Mon May 3 2021 03:03:15