/brief Class representing 3D point picking events. More...
#include <pcl/visualization/point_picking_event.h>
Public Member Functions | |
| PointPickingEvent (pcl::index_t idx) | |
| PointPickingEvent (pcl::index_t idx, float x, float y, float z, const std::string &name="") | |
| PointPickingEvent (pcl::index_t idx1, pcl::index_t idx2, float x1, float y1, float z1, float x2, float y2, float z2) | |
| pcl::index_t | getPointIndex () const |
| Obtain the ID of a point that the user just clicked on. More... |
|
| void | getPoint (float &x, float &y, float &z) const |
| Obtain the XYZ point coordinates of a point that the user just clicked on. More... |
|
| bool | getPoints (float &x1, float &y1, float &z1, float &x2, float &y2, float &z2) const |
| For situations when multiple points are selected in a sequence, return the point coordinates. More... |
|
| bool | getPointIndices (pcl::index_t &index_1, pcl::index_t &index_2) const |
| For situations where multiple points are selected in a sequence, return the points indices. More... |
|
| const std::string & | getCloudName () const |
| Get name of selected cloud. More... |
|
/brief Class representing 3D point picking events.
Definition at line 93 of file point_picking_event.h.
| inline |
Definition at line 96 of file point_picking_event.h.
| inline |
Definition at line 97 of file point_picking_event.h.
| inline |
Definition at line 98 of file point_picking_event.h.
| inline |
Get name of selected cloud.
Definition at line 169 of file point_picking_event.h.
| inline |
Obtain the XYZ point coordinates of a point that the user just clicked on.
| [out] | x | the x coordinate of the point that got selected by the user |
| [out] | y | the y coordinate of the point that got selected by the user |
| [out] | z | the z coordinate of the point that got selected by the user |
Definition at line 121 of file point_picking_event.h.
| inline |
Obtain the ID of a point that the user just clicked on.
Definition at line 110 of file point_picking_event.h.
| inline |
For situations where multiple points are selected in a sequence, return the points indices.
| [out] | index_1 | index of the first point selected by user |
| [out] | index_2 | index of the second point selected by user |
Definition at line 156 of file point_picking_event.h.
References pcl::UNAVAILABLE.
| inline |
For situations when multiple points are selected in a sequence, return the point coordinates.
| [out] | x1 | the x coordinate of the first point that got selected by the user |
| [out] | y1 | the y coordinate of the first point that got selected by the user |
| [out] | z1 | the z coordinate of the first point that got selected by the user |
| [out] | x2 | the x coordinate of the second point that got selected by the user |
| [out] | y2 | the y coordinate of the second point that got selected by the user |
| [out] | z2 | the z coordinate of the second point that got selected by the user |
Definition at line 136 of file point_picking_event.h.
References pcl::UNAVAILABLE.
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1visualization_1_1_point_picking_event.html