qCC  version 2.5.4 (Qt) - 19 Apr. 2014
 All Classes Functions Variables Typedefs Enumerations
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: