mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
Fixed PCL extract indices filter workaround for PointNormal type (not defined in current released PCL). Compression: Fixed OpenCV memory leak when converting uncompressed depth image to 32F format.
This commit is contained in:
@@ -125,7 +125,7 @@ public:
|
||||
double stamp = 0.0,
|
||||
const cv::Mat & userData = cv::Mat());
|
||||
|
||||
virtual ~SensorData() {}
|
||||
virtual ~SensorData();
|
||||
|
||||
bool isValid() const {
|
||||
return !(_id == 0 &&
|
||||
|
||||
@@ -564,10 +564,11 @@ pcl::IndicesPtr RTABMAP_EXP extractIndices(
|
||||
const pcl::PointCloud<pcl::PointXYZ>::Ptr & cloud,
|
||||
const pcl::IndicesPtr & indices,
|
||||
bool negative);
|
||||
pcl::IndicesPtr RTABMAP_EXP extractIndices(
|
||||
const pcl::PointCloud<pcl::PointNormal>::Ptr & cloud,
|
||||
const pcl::IndicesPtr & indices,
|
||||
bool negative);
|
||||
// PCL default lacks of pcl::PointNormal type support
|
||||
//pcl::IndicesPtr RTABMAP_EXP extractIndices(
|
||||
// const pcl::PointCloud<pcl::PointNormal>::Ptr & cloud,
|
||||
// const pcl::IndicesPtr & indices,
|
||||
// bool negative);
|
||||
pcl::IndicesPtr RTABMAP_EXP extractIndices(
|
||||
const pcl::PointCloud<pcl::PointXYZRGB>::Ptr & cloud,
|
||||
const pcl::IndicesPtr & indices,
|
||||
@@ -587,11 +588,12 @@ pcl::PointCloud<pcl::PointXYZRGB>::Ptr RTABMAP_EXP extractIndices(
|
||||
const pcl::IndicesPtr & indices,
|
||||
bool negative,
|
||||
bool keepOrganized);
|
||||
pcl::PointCloud<pcl::PointNormal>::Ptr RTABMAP_EXP extractIndices(
|
||||
const pcl::PointCloud<pcl::PointNormal>::Ptr & cloud,
|
||||
const pcl::IndicesPtr & indices,
|
||||
bool negative,
|
||||
bool keepOrganized);
|
||||
// PCL default lacks of pcl::PointNormal type support
|
||||
//pcl::PointCloud<pcl::PointNormal>::Ptr RTABMAP_EXP extractIndices(
|
||||
// const pcl::PointCloud<pcl::PointNormal>::Ptr & cloud,
|
||||
// const pcl::IndicesPtr & indices,
|
||||
// bool negative,
|
||||
// bool keepOrganized);
|
||||
pcl::PointCloud<pcl::PointXYZRGBNormal>::Ptr RTABMAP_EXP extractIndices(
|
||||
const pcl::PointCloud<pcl::PointXYZRGBNormal>::Ptr & cloud,
|
||||
const pcl::IndicesPtr & indices,
|
||||
|
||||
Reference in New Issue
Block a user