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 Point & LeftBottomBack () const
 
void LeftBottomBack (const Point &lbb)
 
Point Max () const
 
Point & Min ()
 
const Point & Min () 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)
 

Member Typedef Documentation

◆ PointType

template<class Point>
typedef Point PointType

◆ ScalarType

template<class Point>
typedef Point::ScalarType ScalarType

Member Enumeration Documentation

◆ anonymous enum

template<class Point>
anonymous enum
Enumerator
Dim 
NCorners 

Constructor & Destructor Documentation

◆ AACube() [1/4]

template<class Point>
AACube ( )

◆ AACube() [2/4]

template<class Point>
AACube ( const Point & backBottomLeft,
ScalarType width )

◆ AACube() [3/4]

template<class Point>
AACube ( const Point * points,
size_t size )

◆ AACube() [4/4]

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

Member Function Documentation

◆ Bound() [1/2]

template<class Point>
template<class Points>
void Bound ( const Points & points,
size_t size )

◆ Bound() [2/2]

template<class Point>
template<class IteratorT>
void Bound ( IteratorT begin,
IteratorT end )

◆ BoundNonCentered()

template<class Point>
template<class IteratorT>
void BoundNonCentered ( IteratorT begin,
IteratorT end )

◆ BoundRotationInvariant()

template<class Point>
template<class Points>
void BoundRotationInvariant ( const Points & points,
size_t size )

◆ Center() [1/2]

template<class Point>
void Center ( const Point & c)

◆ Center() [2/2]

template<class Point>
void Center ( Point * c) const

◆ DiagLength()

template<class Point>
AACube< Point >::ScalarType DiagLength ( ) const

◆ Distance()

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

◆ DividingPlane() [1/2]

template<class Point>
void DividingPlane ( unsigned int axis,
Point * n,
ScalarType * d ) const

◆ DividingPlane() [2/2]

template<class Point>
void DividingPlane ( unsigned int axis,
ScalarType * s )

◆ Inflate()

template<class Point>
void Inflate ( ScalarType v)

◆ IsInside()

template<class Point>
bool IsInside ( const Point & p) const

◆ IsSubCube()

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

◆ LeftBottomBack() [1/2]

template<class Point>
const Point & LeftBottomBack ( ) const

◆ LeftBottomBack() [2/2]

template<class Point>
void LeftBottomBack ( const Point & lbb)

◆ Max()

template<class Point>
Point Max ( ) const
inline

◆ Min() [1/2]

template<class Point>
Point & Min ( )
inline

◆ Min() [2/2]

template<class Point>
const Point & Min ( ) const
inline

◆ operator[]()

template<class Point>
Point operator[] ( int index) const

◆ Scale()

template<class Point>
void Scale ( ScalarType s)

◆ SqrDistance()

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

◆ SubCube()

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

◆ Translate()

template<class Point>
void Translate ( const PointType & t)

◆ Width() [1/2]

template<class Point>
AACube< Point >::ScalarType Width ( ) const

◆ Width() [2/2]

template<class Point>
void Width ( ScalarType w)

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