27#ifndef EASY3D_GUI_PICKER_POINT_CLOUD_H
28#define EASY3D_GUI_PICKER_POINT_CLOUD_H
31#include <easy3d/gui/picker.h>
32#include <easy3d/core/point_cloud.h>
58 unsigned int resolution()
const {
return hit_resolution_; }
106 unsigned int hit_resolution_;
A perspective or orthographic camera.
Definition camera.h:113
A 2D polygon representation.
Definition polygon.h:43
The GenericRect class defines a rectangle in the 2D space, where the origin of the coordinate system ...
Definition rect.h:45
Base class for picking mechanism.
Definition picker.h:43
A data structure for point clouds.
Definition point_cloud.h:45
Implementation of picking points from a point cloud.
Definition picker_point_cloud.h:44
PointCloud::Vertex pick_vertex(PointCloud *model, int x, int y)
Pick vertex at a given screen location.
Definition picker_point_cloud.cpp:51
void pick_vertices(PointCloud *model, const Rect &rect, bool deselect)
Pick vertices of a point cloud by a rectangle. The selected vertices will be marked in vertex propert...
Definition picker_point_cloud.cpp:276
unsigned int resolution() const
Returns the picker resolution (in pixels).
Definition picker_point_cloud.h:58
void set_resolution(unsigned int r)
Sets the picker resolution (in pixels).
Definition picker_point_cloud.h:66
OpenGL Shader Compilation.
Definition shader_program.h:75
Definition collider.cpp:182
This type represents a vertex (internally it is basically an index).
Definition point_cloud.h:129