ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvCropTool.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 // CV_DB_LIB
11 #include <ecvBBox.h>
12 
13 class ccHObject;
14 class ccGLMatrix;
15 
17 
19 class ccCropTool {
20 public:
22 
28  static ccHObject* Crop(ccHObject* entity,
29  const ccBBox& box,
30  bool inside = true,
31  const ccGLMatrix* meshRotation = 0);
32 };
Bounding box structure.
Definition: ecvBBox.h:25
Cropping tool.
Definition: ecvCropTool.h:19
static ccHObject * Crop(ccHObject *entity, const ccBBox &box, bool inside=true, const ccGLMatrix *meshRotation=0)
Crops the input entity.
Definition: ecvCropTool.cpp:23
Float version of ccGLMatrixTpl.
Definition: ecvGLMatrix.h:19
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25