|
BinsObjectDynamicPeriodic< TConfigure > & | operator= (const BinsObjectDynamicPeriodic< TConfigure > &rOther) |
| Assignment operator. More...
|
|
| BinsObjectDynamicPeriodic (const BinsObjectDynamicPeriodic &rOther) |
| Copy constructor. More...
|
|
template<class T > |
| BinsObjectDynamicPeriodic (const BinsObjectDynamicPeriodic< T > &rOther) |
| Copy constructor. More...
|
|
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, DistanceIteratorType ResultDistances) |
|
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) |
|
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) |
|
| KRATOS_CLASS_POINTER_DEFINITION (BinsObjectDynamic) |
| Pointer definition of BinsObjectDynamic. More...
|
|
|
enum | { Dimension = TConfigure::Dimension
} |
|
typedef TConfigure | Configure |
|
typedef TConfigure::PointType | PointType |
|
typedef TConfigure::PointerType | PointerType |
|
typedef TConfigure::ContainerType | ContainerType |
|
typedef TConfigure::IteratorType | IteratorType |
|
typedef TConfigure::ResultContainerType | ResultContainerType |
|
typedef TConfigure::ResultIteratorType | ResultIteratorType |
|
typedef TConfigure::DistanceIteratorType | DistanceIteratorType |
|
typedef TreeNode< Dimension, PointType, PointerType, IteratorType, typename TConfigure::DistanceIteratorType > | TreeNodeType |
|
typedef TreeNodeType::CoordinateType | CoordinateType |
|
typedef TreeNodeType::SizeType | SizeType |
|
typedef TreeNodeType::IndexType | IndexType |
|
typedef Tvector< CoordinateType, Dimension > | CoordinateArray |
|
typedef Tvector< SizeType, Dimension > | SizeArray |
|
typedef Tvector< IndexType, Dimension > | IndexArray |
|
typedef TreeNodeType::IteratorIteratorType | IteratorIteratorType |
| typedef TreeNodeType LeafType; More...
|
|
typedef TreeNodeType::SearchStructureType | SearchStructureType |
|
typedef Cell< Configure > | CellType |
|
typedef std::vector< CellType > | CellContainerType |
|
typedef CellContainerType::iterator | CellContainerIterator |
|
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...
|
|
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) |
|
PointType | mMinPoint |
|
PointType | mMaxPoint |
|
SizeType | mObjectsSize |
|
IteratorType | mObjectsBegin |
|
IteratorType | mObjectsEnd |
|
CoordinateArray | mCellSize |
|
CoordinateArray | mInvCellSize |
|
SizeArray | mN |
|
CellContainerType | mCells |
|