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

Display text3D #2109

Closed
frozar opened this issue Dec 1, 2017 · 1 comment
Closed

Display text3D #2109

frozar opened this issue Dec 1, 2017 · 1 comment

Comments

@frozar
Copy link
Contributor

frozar commented Dec 1, 2017

⚠️ This is a issue tracker, please use our mailing list for questions: www.pcl-users.org. ⚠️

That's a bug.

Your Environment

  • Operating System and version: Ubuntu 16.04.3
  • Compiler: gcc 5.4.0
  • PCL Version: master branch

Situation

I don't see the 3D text I added to my scene. I provide a tiny code to test it:
pcl_text_simple.zip

I use the original addText3D() method (without the orientation array).

Example in clear

#include <iostream>
#include <pcl/point_types.h>

#include <pcl/visualization/pcl_visualizer.h>

int
main (int argc, char** argv)
{
  pcl::visualization::PCLVisualizer viz ("Visualizator");
  viz.addCoordinateSystem(1.0);

  viz.addText3D ("SIMPLE", pcl::PointXYZ(0.0, 0.0, 0.0));

  //main loop of the visualizer
  while (!viz.wasStopped ())
  {
    viz.spinOnce(100);
    boost::this_thread::sleep(boost::posix_time::microseconds(100000));
  }

  return (0);
}

Possible reason

Maybe I miss something in the tiny example, or maybe it comes from recent PR (I think about #2088 but I really don't know). Ok now I'm pretty that it comes from PR #2088.

@SergioRAgostinho SergioRAgostinho added the needs: code review Specify why not closed/merged yet label Dec 1, 2017
@SergioRAgostinho SergioRAgostinho removed the needs: code review Specify why not closed/merged yet label Dec 5, 2017
@SergioRAgostinho
Copy link
Member

Fixed by #2110

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants