Skip to content

[visualization] addSphere is not working properly  #4070

Open
@vigneshsara

Description

Describe the bug

I want to mark the picking points form point picking event, so that i had use the addSphere to mark the point, if i had mark the multiple points in cloud its not working properly

Context

Add the marker using addSphere .

Expected behavior

Add the sphere shape in marker in pcl visualizer

Current Behavior

sphere shape placed in wrong places

Screenshots/Code snippets

 pcl::PointXYZRGB currentPoint;
 event.getPoint(currentPoint.x,currentPoint.y,currentPoint.z);
 std::string sphere="s0"+boost::lexical_cast<std::string>(countOne);
 pclViewer->addSphere(currentPoint,0.005,255,0,0,sphere,portOne);

Screenshot from 2020-05-08 19-49-26

Your Environment (please complete the following information):

  • OS: [e.g. Ubuntu 18.04]
  • Compiler: [:eg GCC 8.1]
  • PCL Version [e.g. 1.10, HEAD]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions