42 namespace visualization {
44 class SelectionPolygonVolume;
64 void Clear()
override;
65 bool IsEmpty()
const override;
66 Eigen::Vector2d GetMinBound()
const final;
67 Eigen::Vector2d GetMaxBound()
const final;
73 std::shared_ptr<SelectionPolygonVolume> CreateSelectionPolygonVolume(
77 std::shared_ptr<geometry::PointCloud> CropPointCloudInRectangle(
79 std::shared_ptr<geometry::PointCloud> CropPointCloudInPolygon(
81 std::shared_ptr<geometry::TriangleMesh> CropTriangleMeshInRectangle(
83 std::shared_ptr<geometry::TriangleMesh> CropTriangleMeshInPolygon(
85 std::vector<size_t> CropInRectangle(
86 const std::vector<Eigen::Vector3d> &input,
const ViewControl &view);
87 std::vector<size_t> CropInPolygon(
const std::vector<Eigen::Vector3d> &input,
92 bool is_closed_ =
false;
std::shared_ptr< TriangleMesh > CropTriangleMesh(const TriangleMesh &input, const Eigen::Vector3d &min_bound, const Eigen::Vector3d &max_bound)
Definition: DownSample.cpp:488
Definition: Geometry.h:32
std::vector< Eigen::Vector2d > polygon_
Definition: SelectionPolygon.h:91
Definition: SelectionPolygon.h:50
geometry::Image polygon_interior_mask_
Definition: SelectionPolygon.h:93
Definition: ViewControl.h:38
Definition: PointCloud.h:47
Definition: Geometry2D.h:35
SectionPolygonType
Definition: SelectionPolygon.h:52
SelectionPolygon()
Definition: SelectionPolygon.h:59
Definition: PinholeCameraIntrinsic.cpp:33
~SelectionPolygon() override
Definition: SelectionPolygon.h:61
GeometryType
Definition: Geometry.h:34
int height
Definition: FilePCD.cpp:68
std::shared_ptr< PointCloud > CropPointCloud(const PointCloud &input, const Eigen::Vector3d &min_bound, const Eigen::Vector3d &max_bound)
Definition: DownSample.cpp:373
Definition: TriangleMesh.h:39
int width
Definition: FilePCD.cpp:67