Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of deprecated feature related to getLabeledVoxelCloud in apps/supervoxels #3404

Closed
kunaltyagi opened this issue Oct 9, 2019 · 2 comments
Labels
good first issue Skills/areas of expertise needed to tackle the issue module: apps

Comments

@kunaltyagi
Copy link
Member

kunaltyagi commented Oct 9, 2019

Your Environment

  • Operating System and version: CI Ubuntu 18.04
  • Compiler: gcc 5.4
  • PCL Version: HEAD

Context

Prevents #3379 from being merged

Current Behavior

Warning as reported by the CI

 90%] Building CXX object test/features/CMakeFiles/test_brisk.dir/test_brisk.cpp.o
In file included from /__w/1/s/apps/cloud_composer/tools/supervoxels.cpp:8:0:
/__w/1/s/apps/cloud_composer/include/pcl/apps/cloud_composer/tools/impl/supervoxels.hpp: In instantiation of 'QList<pcl::cloud_composer::CloudComposerItem*> pcl::cloud_composer::SupervoxelsTool::performTemplatedAction(const QList<const pcl::cloud_composer::CloudComposerItem*>&) [with PointT = pcl::PointXYZRGB]':
/__w/1/s/apps/cloud_composer/tools/supervoxels.cpp:31:74:   required from here
/__w/1/s/apps/cloud_composer/include/pcl/apps/cloud_composer/tools/impl/supervoxels.hpp:99:19: warning: 'pcl::PointCloud<pcl::PointXYZRGBA>::Ptr pcl::SupervoxelClustering<PointT>::getColoredVoxelCloud() const [with PointT = pcl::PointXYZRGB; pcl::PointCloud<pcl::PointXYZRGBA>::Ptr = boost::shared_ptr<pcl::PointCloud<pcl::PointXYZRGBA> >]' is deprecated: use getLabeledVoxelCloud() instead. An example of how to display and save with colorized labels can be found in examples/segmentation/example_supervoxels.cpp [-Wdeprecated-declarations]
     color_segments= super.getColoredVoxelCloud ();
                   ^
In file included from /__w/1/s/apps/cloud_composer/include/pcl/apps/cloud_composer/tools/impl/supervoxels.hpp:45:0,
                 from /__w/1/s/apps/cloud_composer/tools/supervoxels.cpp:8:
/__w/1/s/segmentation/include/pcl/segmentation/supervoxel_clustering.h:308:7: note: declared here
       getColoredVoxelCloud () const
       ^
In file included from /__w/1/s/apps/cloud_composer/tools/supervoxels.cpp:8:0:
/__w/1/s/apps/cloud_composer/include/pcl/apps/cloud_composer/tools/impl/supervoxels.hpp: In instantiation of 'QList<pcl::cloud_composer::CloudComposerItem*> pcl::cloud_composer::SupervoxelsTool::performTemplatedAction(const QList<const pcl::cloud_composer::CloudComposerItem*>&) [with PointT = pcl::PointXYZRGBA]':
/__w/1/s/apps/cloud_composer/tools/supervoxels.cpp:33:75:   required from here
/__w/1/s/apps/cloud_composer/include/pcl/apps/cloud_composer/tools/impl/supervoxels.hpp:99:19: warning: 'pcl::PointCloud<pcl::PointXYZRGBA>::Ptr pcl::SupervoxelClustering<PointT>::getColoredVoxelCloud() const [with PointT = pcl::PointXYZRGBA; pcl::PointCloud<pcl::PointXYZRGBA>::Ptr = boost::shared_ptr<pcl::PointCloud<pcl::PointXYZRGBA> >]' is deprecated: use getLabeledVoxelCloud() instead. An example of how to display and save with colorized labels can be found in examples/segmentation/example_supervoxels.cpp [-Wdeprecated-declarations]
     color_segments= super.getColoredVoxelCloud ();
                   ^
In file included from /__w/1/s/apps/cloud_composer/include/pcl/apps/cloud_composer/tools/impl/supervoxels.hpp:45:0,
                 from /__w/1/s/apps/cloud_composer/tools/supervoxels.cpp:8:
/__w/1/s/segmentation/include/pcl/segmentation/supervoxel_clustering.h:308:7: note: declared here
       getColoredVoxelCloud () const
       ^
@kunaltyagi kunaltyagi added good first issue Skills/areas of expertise needed to tackle the issue module: apps labels Oct 9, 2019
@taketwo
Copy link
Member

taketwo commented Oct 9, 2019

There is an ancient ticket for this #1427 😄

@kunaltyagi
Copy link
Member Author

Closing as duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Skills/areas of expertise needed to tackle the issue module: apps
Projects
None yet
Development

No branches or pull requests

2 participants