AACubeTree< DimT, StrategiesT, VectorKernelT > Class Template Reference

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

+ Inheritance diagram for AACubeTree< DimT, StrategiesT, VectorKernelT >:

Classes

class  AxisSplitter
 
class  BuildInformation
 
class  SerializeInformation
 

Public Types

typedef StrategiesT::template StrategyBase< typename VectorKernelT< DimT >::template VectorKernelType< BaseTree< AACubeTreeCell< DimT, typename StrategiesT::CellData > > > > BaseType
 
typedef BaseType::CellRange CellRange
 
typedef AACubeTreeCell< DimT, typename StrategiesT::CellData > CellType
 
typedef ScalarTypeDeferer< value_type >::ScalarType ScalarType
 
typedef StrategiesT StrategiesType
 
typedef AACubeTree< DimT, StrategiesT, VectorKernelT > ThisType
 
typedef BaseType::value_type value_type
 

Public Member Functions

void Build ()
 
void Build (const AACube< VectorXD< DimT, ScalarType > > &bcube)
 
template<class PointT>
const CellTypeNodeContainingPoint (const PointT &point, size_t maxLevel, size_t minSize, CellRange *range) const
 
void Serialize (const AACube< VectorXD< DimT, ScalarType > > &bcube, std::istream *in)
 
void Serialize (std::istream *in)
 
void Serialize (std::ostream *out) const
 
void SerializeBreadthFirst (const AACube< VectorXD< DimT, ScalarType > > &bcube, std::istream *in)
 
void SerializeBreadthFirst (std::istream *in)
 
void SerializeBreadthFirst (std::ostream *out)
 

Protected Member Functions

void Distribute (BuildInformation &bi, CellType *cell)
 
void InitBuildInformation (const CellType &parent, const BuildInformation &parentInfo, unsigned int childIdx, BuildInformation *bi)
 
void InitRootBuildInformation (const AACube< VectorXD< DimT, ScalarType > > &bcube, BuildInformation *bi)
 
void InitRootSerializeInformation (SerializeInformation *bi) const
 
void InitSerializeInformation (const CellType &parent, const SerializeInformation &parentInfo, unsigned int childIdx, SerializeInformation *bi) const
 
template<class PointT, class TraversalInformationT>
const CellTypeNodeContainingPoint (const PointT &point, size_t maxLevel, size_t minSize, const CellType &cell, const TraversalInformationT &ti, CellRange *range) const
 
void Subdivide (BuildInformation &bi, CellType *cell)
 

Detailed Description

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
class GfxTL::AACubeTree< DimT, StrategiesT, VectorKernelT >

Definition at line 338 of file AACubeTree.h.

Member Typedef Documentation

◆ BaseType

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
typedef StrategiesT::template StrategyBase< typename VectorKernelT<DimT>::template VectorKernelType< BaseTree<AACubeTreeCell<DimT, typename StrategiesT::CellData> > > > BaseType

Definition at line 349 of file AACubeTree.h.

◆ CellRange

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
typedef BaseType::CellRange CellRange

Definition at line 353 of file AACubeTree.h.

◆ CellType

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
typedef AACubeTreeCell<DimT, typename StrategiesT::CellData> CellType

Definition at line 345 of file AACubeTree.h.

◆ ScalarType

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
typedef ScalarTypeDeferer<value_type>::ScalarType ScalarType

Definition at line 352 of file AACubeTree.h.

◆ StrategiesType

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
typedef StrategiesT StrategiesType

Definition at line 344 of file AACubeTree.h.

◆ ThisType

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
typedef AACubeTree<DimT, StrategiesT, VectorKernelT> ThisType

Definition at line 350 of file AACubeTree.h.

◆ value_type

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
typedef BaseType::value_type value_type

Definition at line 351 of file AACubeTree.h.

Member Function Documentation

◆ Build() [1/2]

template<class Strategies>
void Build ( )
inline

Definition at line 356 of file AACubeTree.h.

+ Here is the caller graph for this function:

◆ Build() [2/2]

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
void Build ( const AACube< VectorXD< DimT, ScalarType > > & bcube)
inline

Definition at line 370 of file AACubeTree.h.

◆ Distribute()

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
void Distribute ( BuildInformation & bi,
CellType * cell )
inlineprotected

Definition at line 926 of file AACubeTree.h.

+ Here is the caller graph for this function:

◆ InitBuildInformation()

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
void InitBuildInformation ( const CellType & parent,
const BuildInformation & parentInfo,
unsigned int childIdx,
BuildInformation * bi )
inlineprotected

Definition at line 874 of file AACubeTree.h.

+ Here is the caller graph for this function:

◆ InitRootBuildInformation()

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
void InitRootBuildInformation ( const AACube< VectorXD< DimT, ScalarType > > & bcube,
BuildInformation * bi )
inlineprotected

Definition at line 865 of file AACubeTree.h.

+ Here is the caller graph for this function:

◆ InitRootSerializeInformation()

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
void InitRootSerializeInformation ( SerializeInformation * bi) const
inlineprotected

Definition at line 892 of file AACubeTree.h.

+ Here is the caller graph for this function:

◆ InitSerializeInformation()

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
void InitSerializeInformation ( const CellType & parent,
const SerializeInformation & parentInfo,
unsigned int childIdx,
SerializeInformation * bi ) const
inlineprotected

Definition at line 900 of file AACubeTree.h.

+ Here is the caller graph for this function:

◆ NodeContainingPoint() [1/2]

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
template<class PointT>
const CellType * NodeContainingPoint ( const PointT & point,
size_t maxLevel,
size_t minSize,
CellRange * range ) const
inline

Definition at line 442 of file AACubeTree.h.

+ Here is the caller graph for this function:

◆ NodeContainingPoint() [2/2]

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
template<class PointT, class TraversalInformationT>
const CellType * NodeContainingPoint ( const PointT & point,
size_t maxLevel,
size_t minSize,
const CellType & cell,
const TraversalInformationT & ti,
CellRange * range ) const
inlineprotected

Definition at line 967 of file AACubeTree.h.

◆ Serialize() [1/3]

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
void Serialize ( const AACube< VectorXD< DimT, ScalarType > > & bcube,
std::istream * in )
inline

Definition at line 598 of file AACubeTree.h.

◆ Serialize() [2/3]

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
void Serialize ( std::istream * in)
inline

Definition at line 589 of file AACubeTree.h.

◆ Serialize() [3/3]

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
void Serialize ( std::ostream * out) const
inline

Definition at line 464 of file AACubeTree.h.

+ Here is the caller graph for this function:

◆ SerializeBreadthFirst() [1/3]

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
void SerializeBreadthFirst ( const AACube< VectorXD< DimT, ScalarType > > & bcube,
std::istream * in )
inline

Definition at line 689 of file AACubeTree.h.

◆ SerializeBreadthFirst() [2/3]

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
void SerializeBreadthFirst ( std::istream * in)
inline

Definition at line 680 of file AACubeTree.h.

◆ SerializeBreadthFirst() [3/3]

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
void SerializeBreadthFirst ( std::ostream * out)
inline

Definition at line 529 of file AACubeTree.h.

+ Here is the caller graph for this function:

◆ Subdivide()

template<unsigned int DimT, class StrategiesT, template< unsigned int > class VectorKernelT = VectorKernelD>
void Subdivide ( BuildInformation & bi,
CellType * cell )
inlineprotected

Definition at line 911 of file AACubeTree.h.

+ Here is the caller graph for this function:

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