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 ModelCoefficientsConstPtr &, const std::string &="model")
 
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 PointIndicesConstPtr &, const std::string &="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::stringgetName () 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 pcl::IndicesConstPtr IndicesConstPtr
 
typedef pcl::IndicesPtr 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 boost::shared_ptr< const PointCloudPointCloudConstPtr
 
typedef boost::shared_ptr< PointCloudPointCloudPtr
 
typedef pcl_msgs::PointIndices PointIndices
 
typedef PointIndices::ConstPtr PointIndicesConstPtr
 
typedef PointIndices::Ptr PointIndicesPtr
 

Detailed Description

Definition at line 86 of file pointcloud_to_stl.h.

Constructor & Destructor Documentation

◆ PointCloudToSTL()

jsk_pcl_ros_utils::PointCloudToSTL::PointCloudToSTL ( )
inline

Definition at line 121 of file pointcloud_to_stl.h.

Member Function Documentation

◆ cloudCallback()

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.

◆ createSTL()

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.

◆ exportSTL()

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.

◆ onInit()

void jsk_pcl_ros_utils::PointCloudToSTL::onInit ( )
protectedvirtual

Reimplemented from pcl_ros::PCLNodelet.

Definition at line 221 of file pointcloud_to_stl_nodelet.cpp.

Member Data Documentation

◆ create_stl_srv_

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

Definition at line 131 of file pointcloud_to_stl.h.

◆ file_name_

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

Definition at line 145 of file pointcloud_to_stl.h.

◆ frame_

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

Definition at line 133 of file pointcloud_to_stl.h.

◆ latest_output_path_

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

Definition at line 146 of file pointcloud_to_stl.h.

◆ max_edge_length_

double jsk_pcl_ros_utils::PointCloudToSTL::max_edge_length_
protected

Definition at line 144 of file pointcloud_to_stl.h.

◆ maximum_angle_

double jsk_pcl_ros_utils::PointCloudToSTL::maximum_angle_
protected

Definition at line 139 of file pointcloud_to_stl.h.

◆ maximum_nearest_neighbors_

int jsk_pcl_ros_utils::PointCloudToSTL::maximum_nearest_neighbors_
protected

Definition at line 136 of file pointcloud_to_stl.h.

◆ maximum_surface_angle_

double jsk_pcl_ros_utils::PointCloudToSTL::maximum_surface_angle_
protected

Definition at line 137 of file pointcloud_to_stl.h.

◆ minimum_angle_

double jsk_pcl_ros_utils::PointCloudToSTL::minimum_angle_
protected

Definition at line 138 of file pointcloud_to_stl.h.

◆ mu_

double jsk_pcl_ros_utils::PointCloudToSTL::mu_
protected

Definition at line 135 of file pointcloud_to_stl.h.

◆ normal_consistency_

bool jsk_pcl_ros_utils::PointCloudToSTL::normal_consistency_
protected

Definition at line 140 of file pointcloud_to_stl.h.

◆ ofm

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

Definition at line 147 of file pointcloud_to_stl.h.

◆ pub_mesh_

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

Definition at line 129 of file pointcloud_to_stl.h.

◆ search_radius_

double jsk_pcl_ros_utils::PointCloudToSTL::search_radius_
protected

Definition at line 134 of file pointcloud_to_stl.h.

◆ store_shadow_faces_

bool jsk_pcl_ros_utils::PointCloudToSTL::store_shadow_faces_
protected

Definition at line 141 of file pointcloud_to_stl.h.

◆ sub_input_

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

Definition at line 130 of file pointcloud_to_stl.h.

◆ triangle_pixel_size_

double jsk_pcl_ros_utils::PointCloudToSTL::triangle_pixel_size_
protected

Definition at line 143 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 Fri May 16 2025 03:11:44