AACube< Point > Class Template Reference

#include <VisionX/components/pointcloud_processor/EfficientRANSACPrimitiveExtractor/EfficientRANSAC/GfxTL/AACube.h>

Public Types

enum  { Dim = Point::Dim, NCorners = 1 << Point::Dim }
 
typedef Point PointType
 
typedef Point::ScalarType ScalarType
 

Public Member Functions

 AACube ()
 
 AACube (const Point &backBottomLeft, ScalarType width)
 
 AACube (const Point *points, size_t size)
 
 AACube (unsigned int box, const AACube< Point > &cube)
 
template<class Points >
void Bound (const Points &points, size_t size)
 
template<class IteratorT >
void Bound (IteratorT begin, IteratorT end)
 
template<class IteratorT >
void BoundNonCentered (IteratorT begin, IteratorT end)
 
template<class Points >
void BoundRotationInvariant (const Points &points, size_t size)
 
void Center (const Point &c)
 
void Center (Point *c) const
 
ScalarType DiagLength () const
 
ScalarType Distance (const PointType &p) const
 
void DividingPlane (unsigned int axis, Point *n, ScalarType *d) const
 
void DividingPlane (unsigned int axis, ScalarType *s)
 
void Inflate (ScalarType v)
 
bool IsInside (const Point &p) const
 
bool IsSubCube (unsigned int *box, const AACube< Point > &cube) const
 
const PointLeftBottomBack () const
 
void LeftBottomBack (const Point &lbb)
 
Point Max () const
 
PointMin ()
 
const PointMin () const
 
Point operator[] (int index) const
 
void Scale (ScalarType s)
 
ScalarType SqrDistance (const PointType &p) const
 
void SubCube (unsigned int box, AACube< Point > *cube) const
 
void Translate (const PointType &t)
 
ScalarType Width () const
 
void Width (ScalarType w)
 

Detailed Description

template<class Point>
class GfxTL::AACube< Point >

Definition at line 11 of file AACube.h.

Member Typedef Documentation

◆ PointType

typedef Point PointType

Definition at line 14 of file AACube.h.

◆ ScalarType

Definition at line 15 of file AACube.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Dim 
NCorners 

Definition at line 16 of file AACube.h.

Constructor & Destructor Documentation

◆ AACube() [1/4]

Definition at line 6 of file AACube.hpp.

◆ AACube() [2/4]

AACube ( const Point backBottomLeft,
ScalarType  width 
)

Definition at line 15 of file AACube.hpp.

◆ AACube() [3/4]

AACube ( const Point points,
size_t  size 
)

Definition at line 21 of file AACube.hpp.

◆ AACube() [4/4]

AACube ( unsigned int  box,
const AACube< Point > &  cube 
)

Definition at line 27 of file AACube.hpp.

Member Function Documentation

◆ Bound() [1/2]

void Bound ( const Points &  points,
size_t  size 
)

Definition at line 80 of file AACube.h.

+ Here is the caller graph for this function:

◆ Bound() [2/2]

void Bound ( IteratorT  begin,
IteratorT  end 
)

Definition at line 124 of file AACube.h.

◆ BoundNonCentered()

void BoundNonCentered ( IteratorT  begin,
IteratorT  end 
)

Definition at line 169 of file AACube.h.

◆ BoundRotationInvariant()

void BoundRotationInvariant ( const Points &  points,
size_t  size 
)

Definition at line 206 of file AACube.h.

◆ Center() [1/2]

void Center ( const Point c)

Definition at line 64 of file AACube.hpp.

◆ Center() [2/2]

void Center ( Point c) const

Definition at line 53 of file AACube.hpp.

+ Here is the caller graph for this function:

◆ DiagLength()

AACube< Point >::ScalarType DiagLength

Definition at line 170 of file AACube.hpp.

◆ Distance()

AACube< Point >::ScalarType Distance ( const PointType p) const

Definition at line 187 of file AACube.hpp.

◆ DividingPlane() [1/2]

void DividingPlane ( unsigned int  axis,
Point n,
ScalarType d 
) const

Definition at line 33 of file AACube.hpp.

◆ DividingPlane() [2/2]

void DividingPlane ( unsigned int  axis,
ScalarType s 
)

Definition at line 45 of file AACube.hpp.

◆ Inflate()

void Inflate ( ScalarType  v)

Definition at line 176 of file AACube.hpp.

◆ IsInside()

bool IsInside ( const Point p) const

Definition at line 119 of file AACube.hpp.

◆ IsSubCube()

bool IsSubCube ( unsigned int *  box,
const AACube< Point > &  cube 
) const

Definition at line 91 of file AACube.hpp.

◆ LeftBottomBack() [1/2]

const Point & LeftBottomBack

Definition at line 143 of file AACube.hpp.

◆ LeftBottomBack() [2/2]

void LeftBottomBack ( const Point lbb)

Definition at line 149 of file AACube.hpp.

◆ Max()

Point Max ( ) const
inline

Definition at line 63 of file AACube.h.

+ Here is the caller graph for this function:

◆ Min() [1/2]

Point& Min ( )
inline

Definition at line 59 of file AACube.h.

◆ Min() [2/2]

const Point& Min ( ) const
inline

Definition at line 55 of file AACube.h.

+ Here is the caller graph for this function:

◆ operator[]()

Point operator[] ( int  index) const

Definition at line 155 of file AACube.hpp.

◆ Scale()

void Scale ( ScalarType  s)

Definition at line 242 of file AACube.hpp.

◆ SqrDistance()

AACube< Point >::ScalarType SqrDistance ( const PointType p) const

Definition at line 212 of file AACube.hpp.

◆ SubCube()

void SubCube ( unsigned int  box,
AACube< Point > *  cube 
) const

Definition at line 75 of file AACube.hpp.

+ Here is the caller graph for this function:

◆ Translate()

void Translate ( const PointType t)

Definition at line 236 of file AACube.hpp.

◆ Width() [1/2]

AACube< Point >::ScalarType Width

Definition at line 131 of file AACube.hpp.

+ Here is the caller graph for this function:

◆ Width() [2/2]

void Width ( ScalarType  w)

Definition at line 137 of file AACube.hpp.


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