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>
51 unsigned int resolution()
const {
return hit_resolution_; }
92 unsigned int hit_resolution_;
A perspective or orthographic camera.
Definition: camera.h:116
A 2D polygon representation.
Definition: polygon.h:41
The GenericRect class defines a rectangle in the 2D space.
Definition: rect.h:42
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:51
void set_resolution(unsigned int r)
Sets the picker resolution (in pixels).
Definition: picker_point_cloud.h:55
OpenGL Shader Compilation.
Definition: shader_program.h:78
Definition: collider.cpp:182
this type represents a vertex (internally it is basically an index)
Definition: point_cloud.h:96