qCC version 2.13.alpha (Qt) - 31 May 2022
Main CloudCompare application (GUI & command line)
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ccInnerRect2DFinder Class Reference

Finds a the biggets enclosed rectangle in a point cloud (2D) More...

#include <ccInnerRect2DFinder.h>

Collaboration diagram for ccInnerRect2DFinder:
Collaboration graph
[legend]

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.
 

Detailed Description

Finds a the biggets enclosed rectangle in a point cloud (2D)


The documentation for this class was generated from the following files: