ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ccInnerRect2DFinder Class Reference

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

#include <ecvInnerRect2DFinder.h>

Collaboration diagram for ccInnerRect2DFinder:

Classes

struct  Rect
 2D rectangle More...
 

Public Member Functions

 ccInnerRect2DFinder ()
 Default constructor. More...
 
ccBoxprocess (ccGenericPointCloud *cloud, unsigned char zDim=2)
 Finds the biggest enclosed rectangle. More...
 

Protected Member Functions

bool init (ccGenericPointCloud *cloud, unsigned char zDim)
 Initializes internal structures. More...
 
void findBiggestRect (const Rect &rect, unsigned startIndex)
 Internal processs. More...
 

Protected Attributes

Rect m_boundingRect
 Global rectangle. More...
 
Rect m_maxRect
 Inner rectangle. More...
 
double m_maxArea
 Inner rectangle max area. More...
 
ccGenericPointCloudm_cloud
 Associated cloud. More...
 
unsigned char m_X
 X dimension. More...
 
unsigned char m_Y
 Y dimension. More...
 

Detailed Description

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

Definition at line 15 of file ecvInnerRect2DFinder.h.

Constructor & Destructor Documentation

◆ ccInnerRect2DFinder()

ccInnerRect2DFinder::ccInnerRect2DFinder ( )

Default constructor.

Definition at line 16 of file ecvInnerRect2DFinder.cpp.

Member Function Documentation

◆ findBiggestRect()

void ccInnerRect2DFinder::findBiggestRect ( const Rect rect,
unsigned  startIndex 
)
protected

◆ init()

◆ process()

Member Data Documentation

◆ m_boundingRect

Rect ccInnerRect2DFinder::m_boundingRect
protected

Global rectangle.

Definition at line 44 of file ecvInnerRect2DFinder.h.

Referenced by init(), and process().

◆ m_cloud

ccGenericPointCloud* ccInnerRect2DFinder::m_cloud
protected

Associated cloud.

Definition at line 52 of file ecvInnerRect2DFinder.h.

Referenced by findBiggestRect(), and init().

◆ m_maxArea

double ccInnerRect2DFinder::m_maxArea
protected

Inner rectangle max area.

Definition at line 49 of file ecvInnerRect2DFinder.h.

Referenced by findBiggestRect(), and process().

◆ m_maxRect

Rect ccInnerRect2DFinder::m_maxRect
protected

Inner rectangle.

Definition at line 47 of file ecvInnerRect2DFinder.h.

Referenced by findBiggestRect(), and process().

◆ m_X

unsigned char ccInnerRect2DFinder::m_X
protected

X dimension.

Definition at line 55 of file ecvInnerRect2DFinder.h.

Referenced by findBiggestRect(), init(), and process().

◆ m_Y

unsigned char ccInnerRect2DFinder::m_Y
protected

Y dimension.

Definition at line 57 of file ecvInnerRect2DFinder.h.

Referenced by findBiggestRect(), init(), and process().


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