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 19 of file AABox.h.

Member Typedef Documentation

◆ PointType

template<class Point>
typedef Point PointType

Definition at line 22 of file AABox.h.

◆ ScalarType

template<class Point>
typedef Point::ScalarType ScalarType

Definition at line 23 of file AABox.h.

Member Enumeration Documentation

◆ anonymous enum

template<class Point>
anonymous enum
Enumerator
Dim 

Definition at line 25 of file AABox.h.

Constructor & Destructor Documentation

◆ AABox() [1/3]

template<class Point>
AABox ( )
inline

Definition at line 30 of file AABox.h.

+ Here is the caller graph for this function:

◆ AABox() [2/3]

template<class Point>
AABox ( const PointType & pmin,
const PointType & pmax )

Definition at line 5 of file AABox.hpp.

◆ AABox() [3/3]

template<class Point>
AABox ( const AACube< PointType > & cube)
inline

Definition at line 37 of file AABox.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ Bound() [1/3]

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

Definition at line 89 of file AABox.h.

+ Here is the caller graph for this function:

◆ Bound() [2/3]

template<class Point>
void Bound ( const PointType & p,
ScalarType r )

Definition at line 155 of file AABox.h.

◆ Bound() [3/3]

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

Definition at line 122 of file AABox.h.

◆ Center()

template<class Point>
void Center ( Point * center) const
inline

Definition at line 40 of file AABox.hpp.

◆ DiagLength()

template<class Point>
AABox< Point >::ScalarType DiagLength ( ) const
inline

Definition at line 96 of file AABox.hpp.

◆ Distance()

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

Definition at line 248 of file AABox.h.

+ Here is the call graph for this function:

◆ IncrementalBound() [1/3]

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

Definition at line 203 of file AABox.h.

+ Here is the call graph for this function:

◆ IncrementalBound() [2/3]

template<class Point>
AABox< Point > & IncrementalBound ( const PointType & p)

Definition at line 166 of file AABox.h.

+ Here is the caller graph for this function:

◆ IncrementalBound() [3/3]

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

Definition at line 184 of file AABox.h.

◆ Infinite()

template<class Point>
void Infinite ( )

Definition at line 11 of file AABox.hpp.

+ Here is the caller graph for this function:

◆ IsInside()

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

Definition at line 103 of file AABox.hpp.

◆ Max() [1/2]

template<class Point>
Point & Max ( )
inline

Definition at line 82 of file AABox.hpp.

+ Here is the caller graph for this function:

◆ Max() [2/2]

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

Definition at line 89 of file AABox.hpp.

◆ MaxSqrDist()

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

Definition at line 213 of file AABox.h.

+ Here is the call graph for this function:

◆ Min() [1/2]

template<class Point>
Point & Min ( )
inline

Definition at line 68 of file AABox.hpp.

+ Here is the caller graph for this function:

◆ Min() [2/2]

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

Definition at line 75 of file AABox.hpp.

◆ MinSqrDist()

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

Definition at line 226 of file AABox.h.

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

◆ operator+=()

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

Definition at line 115 of file AABox.hpp.

◆ operator=()

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

Definition at line 65 of file AABox.h.

+ Here is the call graph for this function:

◆ operator[]()

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

Definition at line 49 of file AABox.hpp.

◆ Split()

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

Definition at line 22 of file AABox.hpp.

+ Here is the call graph for this function:

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