/brief Class representing 3D point picking events.
More...
#include <pcl/visualization/point_picking_event.h>
|
| PointPickingEvent (int idx) |
|
| PointPickingEvent (int idx, float x, float y, float z) |
|
| PointPickingEvent (int idx1, int idx2, float x1, float y1, float z1, float x2, float y2, float z2) |
|
int | 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 (int &index_1, int &index_2) const |
| For situations where multiple points are selected in a sequence, return the points indices. More...
|
|
/brief Class representing 3D point picking events.
Definition at line 84 of file point_picking_event.h.
pcl::visualization::PointPickingEvent::PointPickingEvent |
( |
int |
idx | ) |
|
|
inline |
pcl::visualization::PointPickingEvent::PointPickingEvent |
( |
int |
idx, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inline |
pcl::visualization::PointPickingEvent::PointPickingEvent |
( |
int |
idx1, |
|
|
int |
idx2, |
|
|
float |
x1, |
|
|
float |
y1, |
|
|
float |
z1, |
|
|
float |
x2, |
|
|
float |
y2, |
|
|
float |
z2 |
|
) |
| |
|
inline |
void pcl::visualization::PointPickingEvent::getPoint |
( |
float & |
x, |
|
|
float & |
y, |
|
|
float & |
z |
|
) |
| const |
|
inline |
Obtain the XYZ point coordinates of a point that the user just clicked on.
- Parameters
-
[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 107 of file point_picking_event.h.
int pcl::visualization::PointPickingEvent::getPointIndex |
( |
| ) |
const |
|
inline |
bool pcl::visualization::PointPickingEvent::getPointIndices |
( |
int & |
index_1, |
|
|
int & |
index_2 |
|
) |
| const |
|
inline |
For situations where multiple points are selected in a sequence, return the points indices.
- Parameters
-
[out] | index_1 | index of the first point selected by user |
[out] | index_2 | index of the second point selected by user |
- Returns
- true, if two points are available and have been clicked by the user, false otherwise
Definition at line 137 of file point_picking_event.h.
bool pcl::visualization::PointPickingEvent::getPoints |
( |
float & |
x1, |
|
|
float & |
y1, |
|
|
float & |
z1, |
|
|
float & |
x2, |
|
|
float & |
y2, |
|
|
float & |
z2 |
|
) |
| const |
|
inline |
For situations when multiple points are selected in a sequence, return the point coordinates.
- Parameters
-
[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 firts 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 |
- Returns
- true, if two points are available and have been clicked by the user, false otherwise
Definition at line 122 of file point_picking_event.h.
The documentation for this class was generated from the following file:
- /tmp/B.0124f014-9312-4605-86fe-179fe06e4673/BUILD/pcl-pcl-1.7.0/visualization/include/pcl/visualization/point_picking_event.h