qCC version 2.13.alpha (Qt) - 31 May 2022
Main CloudCompare application (GUI & command line)
|
Finds a the biggets enclosed rectangle in a point cloud (2D) More...
#include <ccInnerRect2DFinder.h>
Classes | |
struct | Rect |
2D rectangle More... | |
Public Member Functions | |
ccInnerRect2DFinder () | |
Default constructor. | |
ccBox * | process (ccGenericPointCloud *cloud, unsigned char zDim=2) |
Finds the biggest enclosed rectangle. | |
Protected Member Functions | |
bool | init (ccGenericPointCloud *cloud, unsigned char zDim) |
Initializes internal structures. | |
void | findBiggestRect (const Rect &rect, unsigned startIndex) |
Internal processs. | |
Protected Attributes | |
Rect | m_boundingRect |
Global rectangle. | |
Rect | m_maxRect |
Inner rectangle. | |
double | m_maxArea |
Inner rectangle max area. | |
ccGenericPointCloud * | m_cloud |
Associated cloud. | |
unsigned char | m_X |
X dimension. | |
unsigned char | m_Y |
Y dimension. | |
Finds a the biggets enclosed rectangle in a point cloud (2D)