|
BinsObjectDynamic< TConfigure > & | operator= (const BinsObjectDynamic< TConfigure > &rOther) |
| Assignment operator. More...
|
|
| BinsObjectDynamic (const BinsObjectDynamic &rOther) |
| Copy constructor. More...
|
|
template<class T > |
| BinsObjectDynamic (const BinsObjectDynamic< T > &rOther) |
| Copy constructor. More...
|
|
|
| BinsObjectDynamic () |
| Default constructor. More...
|
|
| BinsObjectDynamic (IteratorType const &ObjectsBegin, IteratorType const &ObjectsEnd) |
| Constructor de bins a bounding box. More...
|
|
| BinsObjectDynamic (IteratorType const &ObjectsBegin, IteratorType const &ObjectsEnd, CoordinateType CellSize) |
| Constructs a new BinsObjectDynamic. More...
|
|
| BinsObjectDynamic (const PointType &MinPoint, const PointType &MaxPoint, CoordinateType CellSize) |
| Constructs a new BinsObjectDynamic. More...
|
|
| BinsObjectDynamic (const PointType &MinPoint, const PointType &MaxPoint, SizeType NumPoints) |
| Constructs a new BinsObjectDynamic object. More...
|
|
virtual | ~BinsObjectDynamic () |
| Destructor. More...
|
|
SizeType | SearchObjects (PointerType &ThisObject, ResultContainerType &Result) |
| Single search API. More...
|
|
SizeType | SearchObjects (PointerType &ThisObject, ResultIteratorType &Result, const SizeType &MaxNumberOfResults) |
|
SizeType | SearchObjectsInCell (const PointType &ThisPoint, ResultIteratorType Result) |
|
SizeType | SearchObjectsInCell (const PointType &ThisPoint, ResultIteratorType Result, const SizeType &MaxNumberOfResults) |
|
SizeType | SearchObjectsExclusive (PointerType &ThisObject, ResultIteratorType &Result) |
|
SizeType | SearchObjectsExclusive (PointerType &ThisObject, ResultIteratorType &Result, const SizeType &MaxNumberOfResults) |
|
SizeType | SearchObjectsInRadius (PointerType &ThisObject, const double &Radius, ResultIteratorType &Results) |
|
SizeType | SearchObjectsInRadius (PointerType &ThisObject, const double &Radius, ResultIteratorType &Results, const SizeType &MaxNumberOfResults) |
|
SizeType | SearchObjectsInRadius (PointerType &ThisObject, const double &Radius, ResultIteratorType &Results, DistanceIteratorType ResultDistances) |
|
SizeType | SearchObjectsInRadius (PointerType &ThisObject, const double &Radius, ResultIteratorType &Results, DistanceIteratorType ResultDistances, const SizeType &MaxNumberOfResults) |
|
virtual SizeType | SearchObjectsInRadiusExclusive (PointerType &ThisObject, const double &Radius, ResultIteratorType &Results) |
|
virtual SizeType | SearchObjectsInRadiusExclusive (PointerType &ThisObject, const double &Radius, ResultIteratorType &Results, const SizeType &MaxNumberOfResults) |
|
virtual SizeType | SearchObjectsInRadiusExclusive (PointerType &ThisObject, const double &Radius, ResultIteratorType &Results, DistanceIteratorType ResultDistances) |
|
virtual SizeType | SearchObjectsInRadiusExclusive (PointerType &ThisObject, const double &Radius, ResultIteratorType &Results, DistanceIteratorType ResultDistances, const SizeType &MaxNumberOfResults) |
|
void | SearchObjectsInRadius (IteratorType const &ThisObjects, SizeType const &NumberOfObjects, const std::vector< double > &Radius, std::vector< std::vector< PointerType > > &Results, std::vector< SizeType > &NumberOfResults, SizeType const &MaxNumberOfResults) |
| Batch search API (needs to be extended with the missing functions) More...
|
|
void | SearchObjectsInRadius (IteratorType const &ThisObjects, SizeType const &NumberOfObjects, const std::vector< double > &Radius, std::vector< std::vector< PointerType > > &Results, std::vector< std::vector< double > > &ResultsDistances, std::vector< SizeType > &NumberOfResults, SizeType const &MaxNumberOfResults) |
|
virtual void | SearchObjectsInRadiusExclusive (IteratorType const &ThisObjects, SizeType const &NumberOfObjects, const std::vector< double > &Radius, std::vector< std::vector< PointerType > > &Results, std::vector< SizeType > &NumberOfResults, SizeType const &MaxNumberOfResults) |
|
virtual void | SearchObjectsInRadiusExclusive (IteratorType const &ThisObjects, SizeType const &NumberOfObjects, const std::vector< double > &Radius, std::vector< std::vector< PointerType > > &Results, std::vector< std::vector< double > > &ResultsDistances, std::vector< SizeType > &NumberOfResults, SizeType const &MaxNumberOfResults) |
|
virtual void | AddObject (const PointerType &ThisObject) |
| Add/Remove. More...
|
|
void | RemoveObject (const PointerType &ThisObject) |
|
|
template<class GenericCoordType > |
IndexArray | CalculateCell (const GenericCoordType &ThisObject) |
|
template<class GenericCoordType > |
IndexType | CalculateIndex (const GenericCoordType &ThisObject) |
|
virtual IndexType | CalculatePosition (CoordinateType const &ThisCoord, const SizeType &ThisDimension) |
|
|
CellContainerType & | GetCellContainer () |
| Get the Cell Container object. More...
|
|
SizeArray & | GetDivisions () |
| Get the Divisions object. More...
|
|
CoordinateArray & | GetCellSize () |
| Get the Cell Size object. More...
|
|
PointType & | GetMinPoint () |
| Get the Min Point object. More...
|
|
PointType & | GetMaxPoint () |
| Get the Max Point object. More...
|
|
|
virtual std::string | Info () const |
| Turn back information as a string. More...
|
|
virtual void | PrintInfo (std::ostream &rOStream) const |
|
virtual void | PrintData (std::ostream &rOStream, std::string const &Perfix=std::string()) const |
|
void | PrintSize (std::ostream &rout) |
|
void | PrintBox (std::ostream &rout) |
|
|
|
virtual void | CalculateBoundingBox () |
| It computes each object's boundinx box and uses it to find the max and min points. More...
|
|
void | CalculateCellSize (std::size_t ApproximatedSize) |
| Calculates the cell size of the bins. More...
|
|
void | AssignCellSize (CoordinateType CellSize) |
| Assigns the cell size of the bins using the provided CellSize. More...
|
|
virtual void | GenerateBins () |
|
void | SearchInBoxLocal (PointerType &ThisObject, ResultIteratorType &Result, SizeType &NumberOfResults, const SizeType &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 1 > &Box) |
|
void | SearchInBoxLocal (PointerType &ThisObject, ResultIteratorType &Result, SizeType &NumberOfResults, const SizeType &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 2 > &Box) |
|
void | SearchInBoxLocal (PointerType &ThisObject, ResultIteratorType &Result, SizeType &NumberOfResults, const SizeType &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 3 > &Box) |
|
void | SearchInBoxLocal (PointerType &ThisObject, ResultContainerType &Result, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 1 > &Box) |
|
void | SearchInBoxLocal (PointerType &ThisObject, ResultContainerType &Result, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 2 > &Box) |
|
void | SearchInBoxLocal (PointerType &ThisObject, ResultContainerType &Result, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 3 > &Box) |
|
void | SearchObjectLocalExclusive (PointerType &ThisObject, ResultIteratorType &Result, SizeType &NumberOfResults, const SizeType &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 1 > &Box) |
|
void | SearchObjectLocalExclusive (PointerType &ThisObject, ResultIteratorType &Result, SizeType &NumberOfResults, const SizeType &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 2 > &Box) |
|
void | SearchObjectLocalExclusive (PointerType &ThisObject, ResultIteratorType &Result, SizeType &NumberOfResults, const SizeType &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 3 > &Box) |
|
void | SearchObjectLocalExclusive (PointerType &ThisObject, ResultContainerType &Result, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 1 > &Box) |
|
void | SearchObjectLocalExclusive (PointerType &ThisObject, ResultContainerType &Result, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 2 > &Box) |
|
void | SearchObjectLocalExclusive (PointerType &ThisObject, ResultContainerType &Result, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 3 > &Box) |
|
void | SearchInRadius (PointerType &ThisObject, CoordinateType const &Radius, ResultIteratorType &Result, SizeType &NumberOfResults, const SizeType &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 1 > &Box) |
|
void | SearchInRadius (PointerType &ThisObject, CoordinateType const &Radius, ResultIteratorType &Result, SizeType &NumberOfResults, const SizeType &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 2 > &Box) |
|
void | SearchInRadius (PointerType &ThisObject, CoordinateType const &Radius, ResultIteratorType &Result, SizeType &NumberOfResults, const SizeType &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 3 > &Box) |
|
void | SearchInRadius (PointerType &ThisObject, CoordinateType const &Radius, ResultIteratorType &Result, DistanceIteratorType ResultDistances, SizeType &NumberOfResults, const SizeType &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 1 > &Box) |
|
void | SearchInRadius (PointerType &ThisObject, CoordinateType const &Radius, ResultIteratorType &Result, DistanceIteratorType ResultDistances, SizeType &NumberOfResults, const SizeType &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 2 > &Box) |
|
void | SearchInRadius (PointerType &ThisObject, CoordinateType const &Radius, ResultIteratorType &Result, DistanceIteratorType ResultDistances, SizeType &NumberOfResults, const SizeType &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 3 > &Box) |
|
virtual void | SearchInRadiusExclusive (PointerType &ThisObject, CoordinateType const &Radius, ResultIteratorType &Result, SizeType &NumberOfResults, const SizeType &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 1 > &Box) |
|
virtual void | SearchInRadiusExclusive (PointerType &ThisObject, CoordinateType const &Radius, ResultIteratorType &Result, SizeType &NumberOfResults, const SizeType &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 2 > &Box) |
|
virtual void | SearchInRadiusExclusive (PointerType &ThisObject, CoordinateType const &Radius, ResultIteratorType &Result, SizeType &NumberOfResults, const SizeType &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 3 > &Box) |
|
virtual void | SearchInRadiusExclusive (PointerType &ThisObject, CoordinateType const &Radius, ResultIteratorType &Result, DistanceIteratorType ResultDistances, SizeType &NumberOfResults, const SizeType &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 1 > &Box) |
|
virtual void | SearchInRadiusExclusive (PointerType &ThisObject, CoordinateType const &Radius, ResultIteratorType &Result, DistanceIteratorType ResultDistances, SizeType &NumberOfResults, const SizeType &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 2 > &Box) |
|
virtual void | SearchInRadiusExclusive (PointerType &ThisObject, CoordinateType const &Radius, ResultIteratorType &Result, DistanceIteratorType ResultDistances, SizeType &NumberOfResults, const SizeType &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 3 > &Box) |
|
void | FillObject (SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 1 > &Box, const PointerType &i_object) |
|
void | FillObject (SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 2 > &Box, const PointerType &i_object) |
|
virtual void | FillObject (SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 3 > &Box, const PointerType &i_object) |
|
void | RemoveObjectLocal (SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 1 > &Box, const PointerType &i_object) |
|
void | RemoveObjectLocal (SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 2 > &Box, const PointerType &i_object) |
|
void | RemoveObjectLocal (SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 3 > &Box, const PointerType &i_object) |
|
void | AllocateContainer () |
|
void | CreatePartition (SizeType number_of_threads, const SizeType number_of_rows, std::vector< SizeType > &partitions) |
|