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

template<class Point>
typedef Point PointType

Definition at line 14 of file AACube.h.

◆ ScalarType

template<class Point>
typedef Point::ScalarType ScalarType

Definition at line 15 of file AACube.h.

Member Enumeration Documentation

◆ anonymous enum

template<class Point>
anonymous enum
Enumerator
Dim 
NCorners 

Definition at line 17 of file AACube.h.

Constructor & Destructor Documentation

◆ AACube() [1/4]

template<class Point>
AACube ( )

Definition at line 6 of file AACube.hpp.

+ Here is the caller graph for this function:

◆ AACube() [2/4]

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

Definition at line 13 of file AACube.hpp.

◆ AACube() [3/4]

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

Definition at line 19 of file AACube.hpp.

+ Here is the call graph for this function:

◆ AACube() [4/4]

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

Definition at line 25 of file AACube.hpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ Bound() [1/2]

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

Definition at line 86 of file AACube.h.

+ Here is the caller graph for this function:

◆ Bound() [2/2]

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

Definition at line 130 of file AACube.h.

◆ BoundNonCentered()

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

Definition at line 175 of file AACube.h.

+ Here is the call graph for this function:

◆ BoundRotationInvariant()

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

Definition at line 213 of file AACube.h.

◆ Center() [1/2]

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

Definition at line 64 of file AACube.hpp.

◆ Center() [2/2]

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

Definition at line 52 of file AACube.hpp.

+ Here is the caller graph for this function:

◆ DiagLength()

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

Definition at line 175 of file AACube.hpp.

◆ Distance()

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

Definition at line 193 of file AACube.hpp.

◆ DividingPlane() [1/2]

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

Definition at line 32 of file AACube.hpp.

◆ DividingPlane() [2/2]

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

Definition at line 43 of file AACube.hpp.

◆ Inflate()

template<class Point>
void Inflate ( ScalarType v)

Definition at line 182 of file AACube.hpp.

◆ IsInside()

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

Definition at line 120 of file AACube.hpp.

◆ IsSubCube()

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

Definition at line 92 of file AACube.hpp.

+ Here is the call graph for this function:

◆ LeftBottomBack() [1/2]

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

Definition at line 146 of file AACube.hpp.

◆ LeftBottomBack() [2/2]

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

Definition at line 153 of file AACube.hpp.

◆ Max()

template<class Point>
Point Max ( ) const
inline

Definition at line 68 of file AACube.h.

+ Here is the caller graph for this function:

◆ Min() [1/2]

template<class Point>
Point & Min ( )
inline

Definition at line 62 of file AACube.h.

◆ Min() [2/2]

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

Definition at line 56 of file AACube.h.

+ Here is the caller graph for this function:

◆ operator[]()

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

Definition at line 160 of file AACube.hpp.

◆ Scale()

template<class Point>
void Scale ( ScalarType s)

Definition at line 250 of file AACube.hpp.

◆ SqrDistance()

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

Definition at line 218 of file AACube.hpp.

◆ SubCube()

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

Definition at line 76 of file AACube.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Translate()

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

Definition at line 243 of file AACube.hpp.

◆ Width() [1/2]

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

Definition at line 132 of file AACube.hpp.

+ Here is the caller graph for this function:

◆ Width() [2/2]

template<class Point>
void Width ( ScalarType w)

Definition at line 139 of file AACube.hpp.


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