#include <poly_utils.h>
Public Types | |
using | InternalNode |
using | Leaf |
Public Member Functions | |
Rtree_visitor (const Translator &translator, unsigned int target_level, std::vector< std::vector< typename Triangulation< boost::geometry::dimension< Box >::value >::active_cell_iterator > > &boxes, std::vector< std::vector< unsigned int > > &csr) | |
void | operator() (const InternalNode &node) |
void | operator() (const Leaf &) |
Public Attributes | |
const Translator & | translator |
size_t | level |
size_t | node_counter |
size_t | next_level_leafs_processed |
const size_t | target_level |
std::vector< std::vector< typename Triangulation< boost::geometry::dimension< Box >::value >::active_cell_iterator > > & | agglomerates |
std::vector< std::vector< unsigned int > > & | row_ptr |
Definition at line 149 of file poly_utils.h.
using dealii::PolyUtils::Rtree_visitor< Value, Options, Translator, Box, Allocators >::InternalNode |
An alias that identifies an InternalNode of the tree.
Definition at line 168 of file poly_utils.h.
using dealii::PolyUtils::Rtree_visitor< Value, Options, Translator, Box, Allocators >::Leaf |
An alias that identifies a Leaf of the tree.
Definition at line 179 of file poly_utils.h.
|
inline |
Definition at line 241 of file poly_utils.h.
References level.
|
inline |
Implements the visitor interface for InternalNode objects. If the node belongs to the level next to target_level
, then fill the bounding box vector for that node.
Definition at line 265 of file poly_utils.h.
References level.
|
inline |
Implements the visitor interface for Leaf objects.
Definition at line 337 of file poly_utils.h.
std::vector<std::vector<typename Triangulation< boost::geometry::dimension<Box>::value>::active_cell_iterator> >& dealii::PolyUtils::Rtree_visitor< Value, Options, Translator, Box, Allocators >::agglomerates |
A reference to the input vector of vector of BoundingBox objects. This vector v has the following property: v[i] = vector with all of the BoundingBox bounded by the i-th node of the Rtree.
Definition at line 229 of file poly_utils.h.
size_t dealii::PolyUtils::Rtree_visitor< Value, Options, Translator, Box, Allocators >::level |
Store the level we are currently visiting.
Definition at line 207 of file poly_utils.h.
size_t dealii::PolyUtils::Rtree_visitor< Value, Options, Translator, Box, Allocators >::next_level_leafs_processed |
Definition at line 215 of file poly_utils.h.
size_t dealii::PolyUtils::Rtree_visitor< Value, Options, Translator, Box, Allocators >::node_counter |
Index used to keep track of the number of different visited nodes during recursion/
Definition at line 213 of file poly_utils.h.
std::vector<std::vector<unsigned int> >& dealii::PolyUtils::Rtree_visitor< Value, Options, Translator, Box, Allocators >::row_ptr |
Definition at line 231 of file poly_utils.h.
const size_t dealii::PolyUtils::Rtree_visitor< Value, Options, Translator, Box, Allocators >::target_level |
The level where children are living. Before: "we want to extract from the RTree object."
Definition at line 220 of file poly_utils.h.
const Translator& dealii::PolyUtils::Rtree_visitor< Value, Options, Translator, Box, Allocators >::translator |
Translator interface, required by the boost implementation of the rtree.
Definition at line 202 of file poly_utils.h.