 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
30 Rect(
double _x0,
double _y0,
double _x1,
double _y1)
31 :
x0(_x0),
y0(_y0),
x1(_x1),
y1(_y1) {}
Box (primitive)
Definition: ecvBox.h:16
unsigned char m_X
X dimension.
Definition: ecvInnerRect2DFinder.h:55
Vector3Tpl< T > getCenter() const
Returns center.
Definition: BoundingBox.h:164
virtual unsigned size() const =0
Returns the number of points.
double y1
Definition: ecvInnerRect2DFinder.h:33
Bounding box structure.
Definition: ecvBBox.h:25
void setTranslation(const Vector3Tpl< float > &Tr)
Sets translation (float version)
Definition: ecvGLMatrixTpl.h:836
ccInnerRect2DFinder()
Default constructor.
Definition: ecvInnerRect2DFinder.cpp:16
double height() const
Definition: ecvInnerRect2DFinder.h:36
static bool Error(const char *format,...)
Display an error dialog with formatted message.
Definition: CVLog.cpp:143
unsigned char m_Y
Y dimension.
Definition: ecvInnerRect2DFinder.h:57
A 3D cloud interface with associated features (color, normals, octree, etc.)
Definition: ecvGenericPointCloud.h:45
double y0
Definition: ecvInnerRect2DFinder.h:33
ccGenericPointCloud * m_cloud
Associated cloud.
Definition: ecvInnerRect2DFinder.h:52
double area() const
Definition: ecvInnerRect2DFinder.h:37
bool isValid() const
Returns whether bounding box is valid or not.
Definition: BoundingBox.h:203
ccBox * process(ccGenericPointCloud *cloud, unsigned char zDim=2)
Finds the biggest enclosed rectangle.
Definition: ecvInnerRect2DFinder.cpp:19
Rect()
Definition: ecvInnerRect2DFinder.h:29
Rect(double _x0, double _y0, double _x1, double _y1)
Definition: ecvInnerRect2DFinder.h:30
Rect m_boundingRect
Global rectangle.
Definition: ecvInnerRect2DFinder.h:44
double x0
Definition: ecvInnerRect2DFinder.h:33
bool init(ccGenericPointCloud *cloud, unsigned char zDim)
Initializes internal structures.
Definition: ecvInnerRect2DFinder.cpp:52
Float version of ccGLMatrixTpl.
Definition: ecvGLMatrix.h:19
virtual const CCVector3 * getPoint(unsigned index) const =0
Returns the ith point.
double width() const
Definition: ecvInnerRect2DFinder.h:35
2D rectangle
Definition: ecvInnerRect2DFinder.h:28
void findBiggestRect(const Rect &rect, unsigned startIndex)
Internal processs.
Definition: ecvInnerRect2DFinder.cpp:100
double m_maxArea
Inner rectangle max area.
Definition: ecvInnerRect2DFinder.h:49
Vector3Tpl< T > getDiagVec() const
Returns diagonal vector.
Definition: BoundingBox.h:169
ccBBox getOwnBB(bool withGLFeatures=false) override
Returns the entity's own bounding-box.
Definition: ecvGenericPointCloud.cpp:139
void * X
Definition: SmallVector.cpp:45
float PointCoordinateType
Type of the coordinates of a (N-D) point.
Definition: CVTypes.h:16
Type u[3]
Definition: CVGeom.h:139
Finds a the biggets enclosed rectangle in a point cloud (2D)
Definition: ecvInnerRect2DFinder.h:15
Rect m_maxRect
Inner rectangle.
Definition: ecvInnerRect2DFinder.h:47
double x1
Definition: ecvInnerRect2DFinder.h:33