AABox< Point > Class Template Reference

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

Public Types

enum  { Dim = PointType::Dim }
 
typedef Point PointType
 
typedef Point::ScalarType ScalarType
 

Public Member Functions

 AABox ()
 
 AABox (const AACube< PointType > &cube)
 
 AABox (const PointType &pmin, const PointType &pmax)
 
template<class Points >
void Bound (const Points &points, size_t size)
 
void Bound (const PointType &p, ScalarType r)
 
template<class PointForwardIterator >
void Bound (PointForwardIterator begin, PointForwardIterator end)
 
void Center (Point *center) const
 
ScalarType DiagLength () const
 
template<class PointT >
ScalarType Distance (const PointT &p) const
 
AABox< Point > & IncrementalBound (const AABox< Point > &box)
 
AABox< Point > & IncrementalBound (const PointType &p)
 
AABox< Point > & IncrementalBound (const PointType &p, ScalarType r)
 
void Infinite ()
 
bool IsInside (const Point &p) const
 
PointMax ()
 
const PointMax () const
 
template<class PointT >
ScalarType MaxSqrDist (const PointT &p) const
 
PointMin ()
 
const PointMin () const
 
template<class PointT >
ScalarType MinSqrDist (const PointT &p) const
 
AABox< Point > & operator+= (const PointType &p)
 
AABox< Point > & operator= (const AACube< PointType > &cube)
 
Point operator[] (unsigned int index) const
 
void Split (unsigned int axis, ScalarType s, AABox< Point > *left, AABox< Point > *right) const
 

Detailed Description

template<class Point>
class GfxTL::AABox< Point >

Definition at line 18 of file AABox.h.

Member Typedef Documentation

◆ PointType

typedef Point PointType

Definition at line 21 of file AABox.h.

◆ ScalarType

Definition at line 22 of file AABox.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Dim 

Definition at line 23 of file AABox.h.

Constructor & Destructor Documentation

◆ AABox() [1/3]

AABox ( )
inline

Definition at line 25 of file AABox.h.

◆ AABox() [2/3]

AABox ( const PointType pmin,
const PointType pmax 
)

Definition at line 5 of file AABox.hpp.

◆ AABox() [3/3]

AABox ( const AACube< PointType > &  cube)
inline

Definition at line 28 of file AABox.h.

Member Function Documentation

◆ Bound() [1/3]

void Bound ( const Points &  points,
size_t  size 
)

Definition at line 74 of file AABox.h.

+ Here is the caller graph for this function:

◆ Bound() [2/3]

void Bound ( const PointType p,
ScalarType  r 
)

Definition at line 139 of file AABox.h.

◆ Bound() [3/3]

void Bound ( PointForwardIterator  begin,
PointForwardIterator  end 
)

Definition at line 106 of file AABox.h.

◆ Center()

void Center ( Point center) const
inline

Definition at line 36 of file AABox.hpp.

◆ DiagLength()

AABox< Point >::ScalarType DiagLength
inline

Definition at line 86 of file AABox.hpp.

◆ Distance()

AABox< Point >::ScalarType Distance ( const PointT &  p) const

Definition at line 230 of file AABox.h.

◆ IncrementalBound() [1/3]

AABox< Point > & IncrementalBound ( const AABox< Point > &  box)

Definition at line 185 of file AABox.h.

◆ IncrementalBound() [2/3]

AABox< Point > & IncrementalBound ( const PointType p)

Definition at line 149 of file AABox.h.

◆ IncrementalBound() [3/3]

AABox< Point > & IncrementalBound ( const PointType p,
ScalarType  r 
)

Definition at line 166 of file AABox.h.

◆ Infinite()

void Infinite

Definition at line 11 of file AABox.hpp.

+ Here is the caller graph for this function:

◆ IsInside()

bool IsInside ( const Point p) const
inline

Definition at line 92 of file AABox.hpp.

◆ Max() [1/2]

const Point & Max
inline

Definition at line 74 of file AABox.hpp.

+ Here is the caller graph for this function:

◆ Max() [2/2]

const Point& Max ( ) const
inline

◆ MaxSqrDist()

AABox< Point >::ScalarType MaxSqrDist ( const PointT &  p) const

Definition at line 195 of file AABox.h.

◆ Min() [1/2]

const Point & Min
inline

Definition at line 62 of file AABox.hpp.

+ Here is the caller graph for this function:

◆ Min() [2/2]

const Point& Min ( ) const
inline

◆ MinSqrDist()

AABox< Point >::ScalarType MinSqrDist ( const PointT &  p) const

Definition at line 208 of file AABox.h.

◆ operator+=()

AABox< Point > & operator+= ( const PointType p)

Definition at line 103 of file AABox.hpp.

◆ operator=()

AABox< Point >& operator= ( const AACube< PointType > &  cube)
inline

Definition at line 52 of file AABox.h.

◆ operator[]()

Point operator[] ( unsigned int  index) const
inline

Definition at line 44 of file AABox.hpp.

◆ Split()

void Split ( unsigned int  axis,
ScalarType  s,
AABox< Point > *  left,
AABox< Point > *  right 
) const

Definition at line 21 of file AABox.hpp.


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