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
};
ccBBox
Bounding box structure.
Definition:
ecvBBox.h:25
ccCropTool
Cropping tool.
Definition:
ecvCropTool.h:19
ccCropTool::Crop
static ccHObject * Crop(ccHObject *entity, const ccBBox &box, bool inside=true, const ccGLMatrix *meshRotation=0)
Crops the input entity.
Definition:
ecvCropTool.cpp:23
ccGLMatrix
Float version of ccGLMatrixTpl.
Definition:
ecvGLMatrix.h:19
ccHObject
Hierarchical CLOUDVIEWER Object.
Definition:
ecvHObject.h:25
ecvBBox.h
app
ecvCropTool.h
Generated on Wed Jan 28 2026 09:00:52 for ACloudViewer by
1.9.1