43 namespace visualization {
45 class SelectionPolygonVolume;
66 bool IsEmpty()
const override;
67 Eigen::Vector2d GetMinBound()
const final;
68 Eigen::Vector2d GetMaxBound()
const final;
70 std::shared_ptr<geometry::PointCloud> CropPointCloud(
72 std::shared_ptr<geometry::TriangleMesh> CropTriangleMesh(
74 std::shared_ptr<SelectionPolygonVolume> CreateSelectionPolygonVolume(
78 std::shared_ptr<geometry::PointCloud> CropPointCloudInRectangle(
80 std::shared_ptr<geometry::PointCloud> CropPointCloudInPolygon(
82 std::shared_ptr<geometry::TriangleMesh> CropTriangleMeshInRectangle(
84 std::shared_ptr<geometry::TriangleMesh> CropTriangleMeshInPolygon(
86 std::vector<size_t> CropInRectangle(
87 const std::vector<Eigen::Vector3d> &input,
const ViewControl &view);
88 std::vector<size_t> CropInPolygon(
const std::vector<Eigen::Vector3d> &input,
93 bool is_closed_ =
false;
The base geometry class.
Definition: Geometry.h:37
std::vector< Eigen::Vector2d > polygon_
Definition: SelectionPolygon.h:92
Definition: SelectionPolygon.h:51
geometry::Image polygon_interior_mask_
Definition: SelectionPolygon.h:94
View controller for visualizer.
Definition: ViewControl.h:41
A point cloud consists of point coordinates, and optionally point colors and point normals...
Definition: PointCloud.h:54
The base geometry class for 2D geometries.
Definition: Geometry2D.h:41
SectionPolygonType
Definition: SelectionPolygon.h:53
SelectionPolygon()
Definition: SelectionPolygon.h:60
Definition: Open3DViewer.h:29
~SelectionPolygon() override
Definition: SelectionPolygon.h:62
GeometryType
Specifies possible geometry types.
Definition: Geometry.h:42
int height
Definition: FilePCD.cpp:70
Triangle mesh contains vertices and triangles represented by the indices to the vertices.
Definition: TriangleMesh.h:54
The Image class stores image with customizable width, height, num of channels and bytes per channel...
Definition: Image.h:53
int width
Definition: FilePCD.cpp:69