43 namespace visualization {
45 class SelectionPolygonVolume;
65 void Clear()
override;
66 bool IsEmpty()
const override;
67 Eigen::Vector2d GetMinBound()
const final;
68 Eigen::Vector2d GetMaxBound()
const final;
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;
std::shared_ptr< TriangleMesh > CropTriangleMesh(const TriangleMesh &input, const Eigen::Vector3d &min_bound, const Eigen::Vector3d &max_bound)
Definition: DownSample.cpp:490
Definition: Geometry.h:32
std::vector< Eigen::Vector2d > polygon_
Definition: SelectionPolygon.h:92
Definition: SelectionPolygon.h:51
geometry::Image polygon_interior_mask_
Definition: SelectionPolygon.h:94
Definition: ViewControl.h:38
Definition: PointCloud.h:49
Definition: Geometry2D.h:36
SectionPolygonType
Definition: SelectionPolygon.h:53
SelectionPolygon()
Definition: SelectionPolygon.h:60
Definition: PinholeCameraIntrinsic.cpp:34
~SelectionPolygon() override
Definition: SelectionPolygon.h:62
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:375
Definition: TriangleMesh.h:43
int width
Definition: FilePCD.cpp:67