Home
last modified time | relevance | path

Searched refs:octree (Results 1 – 25 of 531) sorted by relevance

12345678910>>...22

/dports/science/axom/axom-0.6.1/src/axom/spin/tests/
H A Dspin_octree.cpp27 OctreeType octree; in TEST() local
74 OctreeType octree; in TEST() local
85 EXPECT_FALSE(octree.hasBlock(octree.child(rootBlock, i))); in TEST()
96 EXPECT_TRUE(octree.hasBlock(octree.child(rootBlock, i))); in TEST()
97 EXPECT_TRUE(octree.isLeaf(octree.child(rootBlock, i))); in TEST()
113 OctreeType octree; in TEST() local
167 octree.refineLeaf(octree.child(rootBlock, 0)); in TEST()
285 octree.refineLeaf(octree.root()); in TEST()
299 octree.refineLeaf(octree.root().child(3)); in TEST()
314 octree.refineLeaf(octree.root().child(2)); in TEST()
[all …]
H A Dspin_spatial_octree.cpp32 OctreeType octree(bb); in TEST() local
36 BlockIndex leafBlock = octree.findLeafBlock(queryPt); in TEST()
37 EXPECT_TRUE(octree.isLeaf(leafBlock)); in TEST()
38 EXPECT_EQ(octree.root(), leafBlock); in TEST()
40 GeometricBoundingBox leafBB = octree.blockBoundingBox(leafBlock); in TEST()
49 for(int i = 0; i < octree.maxInternalLevel(); ++i) in TEST()
51 EXPECT_EQ(0, octree.getOctreeLevel(i + 1).numLeafBlocks()); in TEST()
52 octree.refineLeaf(leafBlock); in TEST()
55 leafBlock = octree.findLeafBlock(queryPt); in TEST()
56 EXPECT_TRUE(octree.isLeaf(leafBlock)); in TEST()
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/draw-lib/file/private/
H A Doctree-quantize.rkt40 (let ([an-octree (new-octree)]
55 (octree-finalize! an-octree)
136 ;; new-octree: -> octree
170 (node-insert-color! (octree-root an-octree) an-octree r g b 0))
217 ;; octree-reduce!: octree -> void
219 (define (octree-reduce! an-octree)
236 (set-octree-leaf-count! an-octree (sub1 (octree-leaf-count an-octree))))
238 (set-octree-leaf-count! an-octree (add1 (octree-leaf-count an-octree))))
258 ;; octree-finalize!: octree -> void
310 (node-lookup-index (octree-root an-octree) an-octree r g b 0))
[all …]
/dports/math/py-yt/yt-4.0.1/yt/data_objects/tests/
H A Dtest_octree.py13 octree = ds.octree(n_ref=n_ref)
14 assert octree[("index", "x")].shape[0] == 17
28 octree = ds.octree(n_ref=n_ref)
30 density = octree[("io", "density")]
67 octree = ds.octree(n_ref=n_ref)
69 density = octree[("io", "density")]
98 octree = ds.octree(n_ref=n_ref)
100 depth = octree[("index", "depth")]
108 dx = octree[("index", "dx")].d
111 dy = octree[("index", "dy")].d
[all …]
/dports/games/trenchbroom/TrenchBroom-ed46601/test/src/Model/
H A DOctreeTest.cpp33 Octree<float,int> octree(bounds, minSize); in TEST() local
37 octree.addObject(aBounds, a); in TEST()
38 ASSERT_TRUE(octree.containsObject(aBounds, a)); in TEST()
44 Octree<float,int> octree(bounds, minSize); in TEST() local
54 Octree<float,int> octree(bounds, minSize); in TEST() local
58 octree.addObject(aBounds, a); in TEST()
60 ASSERT_TRUE(octree.containsObject(aBounds, a)); in TEST()
61 octree.removeObject(a); in TEST()
62 ASSERT_FALSE(octree.containsObject(aBounds, a)); in TEST()
68 Octree<float,int> octree(bounds, minSize); in TEST() local
[all …]
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/octree/include/pcl/octree/impl/
H A Doctree_pointcloud.hpp1005 pcl::octree::OctreeBase<pcl::octree::OctreeContainerPointIndices, \
1006 pcl::octree::OctreeContainerEmpty>>;
1012 pcl::octree::Octree2BufBase<pcl::octree::OctreeContainerPointIndices, \
1013 pcl::octree::OctreeContainerEmpty>>;
1020 pcl::octree::OctreeBase<pcl::octree::OctreeContainerPointIndex, \
1021 pcl::octree::OctreeContainerEmpty>>;
1027 pcl::octree::Octree2BufBase<pcl::octree::OctreeContainerPointIndex, \
1028 pcl::octree::OctreeContainerEmpty>>;
1035 pcl::octree::OctreeBase<pcl::octree::OctreeContainerEmpty, \
1036 pcl::octree::OctreeContainerEmpty>>;
[all …]
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/octree/src/
H A Doctree_inst.cpp42 template class PCL_EXPORTS pcl::octree::OctreeBase<pcl::index_t>;
43 template class PCL_EXPORTS pcl::octree::Octree2BufBase<pcl::index_t>;
46 pcl::octree::OctreeBase<pcl::octree::OctreeContainerPointIndices,
47 pcl::octree::OctreeContainerEmpty>;
50 pcl::octree::Octree2BufBase<pcl::octree::OctreeContainerPointIndices,
51 pcl::octree::OctreeContainerEmpty>;
53 template class PCL_EXPORTS pcl::octree::OctreeBase<pcl::octree::OctreeContainerEmpty,
54 pcl::octree::OctreeContainerEmpty>;
/dports/math/vtk9/VTK-9.1.0/Utilities/octree/octree/
H A Doctree16 #include <octree/octree_node.h>
17 #include <octree/octree_path.h>
18 #include <octree/octree_cursor.h>
19 #include <octree/octree_iterator.h>
20 #include <octree/octree.h>
22 #include <octree/octree_node.txx>
23 #include <octree/octree_path.txx>
24 #include <octree/octree_cursor.txx>
25 #include <octree/octree_iterator.txx>
26 #include <octree/octree.txx>
/dports/math/vtk8/VTK-8.2.0/Utilities/octree/
H A Doctree16 #include <octree/octree_node.h>
17 #include <octree/octree_path.h>
18 #include <octree/octree_cursor.h>
19 #include <octree/octree_iterator.h>
20 #include <octree/octree.h>
22 #include <octree/octree_node.cxx>
23 #include <octree/octree_path.cxx>
24 #include <octree/octree_cursor.cxx>
25 #include <octree/octree_iterator.cxx>
26 #include <octree/octree.cxx>
/dports/math/vtk6/VTK-6.2.0/Utilities/octree/
H A Doctree16 #include <octree/octree_node.h>
17 #include <octree/octree_path.h>
18 #include <octree/octree_cursor.h>
19 #include <octree/octree_iterator.h>
20 #include <octree/octree.h>
22 #include <octree/octree_node.cxx>
23 #include <octree/octree_path.cxx>
24 #include <octree/octree_cursor.cxx>
25 #include <octree/octree_iterator.cxx>
26 #include <octree/octree.cxx>
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/segmentation/src/
H A Dsupervoxel_clustering.cpp54 namespace octree namespace
125 …pcl::octree::OctreePointCloudAdjacencyContainer<pcl::PointXYZ,pcl::SupervoxelClustering<pcl::Point… in computeData()
167 using AdjacencyContainerT = pcl::octree::OctreePointCloudAdjacencyContainer<pcl::PointXYZ, VoxelDat…
168 using AdjacencyContainerRGBT = pcl::octree::OctreePointCloudAdjacencyContainer<pcl::PointXYZRGB, Vo…
169 using AdjacencyContainerRGBAT = pcl::octree::OctreePointCloudAdjacencyContainer<pcl::PointXYZRGBA, …
175 template class pcl::octree::OctreePointCloudAdjacencyContainer<pcl::PointXYZ, VoxelDataT>;
176 template class pcl::octree::OctreePointCloudAdjacencyContainer<pcl::PointXYZRGB, VoxelDataRGBT>;
177 template class pcl::octree::OctreePointCloudAdjacencyContainer<pcl::PointXYZRGBA, VoxelDataRGBAT>;
179 template class pcl::octree::OctreePointCloudAdjacency<pcl::PointXYZ, AdjacencyContainerT>;
180 template class pcl::octree::OctreePointCloudAdjacency<pcl::PointXYZRGB, AdjacencyContainerRGBT>;
[all …]
/dports/devel/godot-tools/godot-3.2.3-stable/servers/physics/
H A Dbroad_phase_octree.cpp42 octree.move(p_id, p_aabb); in move()
47 CollisionObjectSW *it = octree.get(p_id); in set_static()
52 octree.erase(p_id); in remove()
57 CollisionObjectSW *it = octree.get(p_id); in get_object()
63 return !octree.is_pairable(p_id); in is_static()
67 return octree.get_subindex(p_id); in get_subindex()
72 return octree.cull_point(p_point, p_results, p_max_results, p_result_indices); in cull_point()
77 return octree.cull_segment(p_from, p_to, p_results, p_max_results, p_result_indices); in cull_segment()
82 return octree.cull_aabb(p_aabb, p_results, p_max_results, p_result_indices); in cull_aabb()
124 octree.set_pair_callback(_pair_callback, this); in BroadPhaseOctree()
[all …]
/dports/devel/godot/godot-3.2.3-stable/servers/physics/
H A Dbroad_phase_octree.cpp42 octree.move(p_id, p_aabb); in move()
47 CollisionObjectSW *it = octree.get(p_id); in set_static()
52 octree.erase(p_id); in remove()
57 CollisionObjectSW *it = octree.get(p_id); in get_object()
63 return !octree.is_pairable(p_id); in is_static()
67 return octree.get_subindex(p_id); in get_subindex()
72 return octree.cull_point(p_point, p_results, p_max_results, p_result_indices); in cull_point()
77 return octree.cull_segment(p_from, p_to, p_results, p_max_results, p_result_indices); in cull_segment()
82 return octree.cull_aabb(p_aabb, p_results, p_max_results, p_result_indices); in cull_aabb()
124 octree.set_pair_callback(_pair_callback, this); in BroadPhaseOctree()
[all …]
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/tools/
H A Doctree_viewer.cpp65 octree (resolution), in OctreeViewer()
94 octree.setInputCloud (cloud); in OctreeViewer()
97 octree.addPointsFromInputCloud (); in OctreeViewer()
125 pcl::octree::OctreePointCloudVoxelCentroid<pcl::PointXYZ> octree; member in OctreeViewer
219 octree.setInputCloud(cloud); in loadCloud()
221 octree.defineBoundingBox(); in loadCloud()
223 octree.addPointsFromInputCloud(); in loadCloud()
379 …for (pcl::octree::OctreePointCloudVoxelCentroid<pcl::PointXYZ>::FixedDepthIterator tree_it = octre… in extractPointsAtLevel()
380 tree_it != octree.fixed_depth_end (); in extractPointsAtLevel()
393 if (octree.getTreeDepth () == (unsigned int) depth) in extractPointsAtLevel()
[all …]
H A Dobj_rec_ransac_orr_octree.cpp89 : octree_(octree), in CallbackParameters()
149 float radius = 0.1f*octree.getRoot ()->getRadius (); in updateViewer()
202 ORROctree octree; in run() local
204 octree.build (*points_in, voxel_size, &*normals_in); in run()
206 octree.build (*points_in, voxel_size); in run()
212 octree.getFullLeavesPoints (*points_out); in run()
215 octree.getNormalsOfFullLeaves (*normals_out); in run()
221 CallbackParameters params(octree, viz, leaf); in run()
238 updateViewer (octree, viz, leaf); in run()
332 nodes.push_back (octree->getRoot ()); in show_octree()
[all …]
/dports/devel/godot2/godot-2.1.6-stable/servers/physics/
H A Dbroad_phase_octree.cpp35 ID oid = octree.create(p_object, AABB(), p_subindex, false, 1 << p_object->get_type(), 0); in create()
41 octree.move(p_id, p_aabb); in move()
46 CollisionObjectSW *it = octree.get(p_id); in set_static()
51 octree.erase(p_id); in remove()
56 CollisionObjectSW *it = octree.get(p_id); in get_object()
62 return !octree.is_pairable(p_id); in is_static()
66 return octree.get_subindex(p_id); in get_subindex()
71 return octree.cull_segment(p_from, p_to, p_results, p_max_results, p_result_indices); in cull_segment()
76 return octree.cull_AABB(p_aabb, p_results, p_max_results, p_result_indices); in cull_aabb()
118 octree.set_pair_callback(_pair_callback, this); in BroadPhaseOctree()
[all …]
/dports/devel/godot2-tools/godot-2.1.6-stable/servers/physics/
H A Dbroad_phase_octree.cpp35 ID oid = octree.create(p_object, AABB(), p_subindex, false, 1 << p_object->get_type(), 0); in create()
41 octree.move(p_id, p_aabb); in move()
46 CollisionObjectSW *it = octree.get(p_id); in set_static()
51 octree.erase(p_id); in remove()
56 CollisionObjectSW *it = octree.get(p_id); in get_object()
62 return !octree.is_pairable(p_id); in is_static()
66 return octree.get_subindex(p_id); in get_subindex()
71 return octree.cull_segment(p_from, p_to, p_results, p_max_results, p_result_indices); in cull_segment()
76 return octree.cull_AABB(p_aabb, p_results, p_max_results, p_result_indices); in cull_aabb()
118 octree.set_pair_callback(_pair_callback, this); in BroadPhaseOctree()
[all …]
/dports/math/octomap/octomap-1.9.7/dynamicEDT3D/include/dynamicEDT3D/
H A DdynamicEDTOctomap.hxx48 treeDepth = octree->getTreeDepth(); in DynamicEDTOctomapBase()
49 treeResolution = octree->getResolution(); in DynamicEDTOctomapBase()
51 octree->enableChangeDetection(true); in DynamicEDTOctomapBase()
63 …for(octomap::KeyBoolMap::const_iterator it = octree->changedKeysBegin(), end=octree->changedKeysEn… in update()
81 octree->resetChangeDetection(); in update()
89 boundingBoxMinKey = octree->coordToKey(bbxMin); in initializeOcTree()
104 …for(typename TREE::leaf_bbx_iterator it = octree->begin_leafs_bbx(bbxMin,bbxMax), end=octree->end_… in initializeOcTree()
105 if(octree->isNodeOccupied(*it)){ in initializeOcTree()
139 if(!node || octree->isNodeOccupied(node)){ in initializeOcTree()
195 octomap::OcTreeKey key = octree->coordToKey(p); in worldToMap()
[all …]
/dports/games/bzflag-server/bzflag-2.4.22/src/scene/
H A DZSceneDatabase.cxx58 octree = NULL; in ZSceneDatabase()
76 delete octree; in ~ZSceneDatabase()
148 if (octree) in getVisualExtents()
165 if (octree) in setOccluderManager()
183 delete octree; in setupCullList()
184 octree = NULL; in setupCullList()
203 delete octree; in makeCuller()
320 if (octree) in addShadowNodes()
354 if (octree) in renderRadarNodes()
386 if (octree) in addRenderNodes()
[all …]
/dports/games/bzflag/bzflag-2.4.22/src/scene/
H A DZSceneDatabase.cxx58 octree = NULL; in ZSceneDatabase()
76 delete octree; in ~ZSceneDatabase()
148 if (octree) in getVisualExtents()
165 if (octree) in setOccluderManager()
183 delete octree; in setupCullList()
184 octree = NULL; in setupCullList()
203 delete octree; in makeCuller()
320 if (octree) in addShadowNodes()
354 if (octree) in renderRadarNodes()
386 if (octree) in addRenderNodes()
[all …]
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/doc/tutorials/content/
H A Doctree.rst6 An octree is a tree-based data structure for managing sparse 3-D data. Each internal node has exact…
32 Then we create an octree instance which is initialized with its resolution. This octree keeps a vec…
33 …ter describes the length of the smallest voxels at lowest octree level. The depth of the octree is…
35 Then we assign a pointer to the PointCloud and add all points to the octree.
43 the search point and the search result depend therefore on the resolution parameter of the octree.
107 Several octree types are provided by the PCL octree component. They basically differ by their indiv…
109 * OctreePointCloudPointVector (equal to OctreePointCloud): This octree can hold a list of point ind…
112 * OctreePointCloudDensity: This octree counts the amount of points within each leaf node voxel. It …
116 and deallocation operations during the octree building process. The double buffering octree impleme…
118 All octrees support serialization and deserialization of the octree structure and the octree data c…
[all …]
/dports/math/py-yt/yt-4.0.1/yt/utilities/lib/
H A Dcyoctree.pyx149 octree : Octree *
200 octree : Octree *
282 octree : Octree *
286 free(octree.size)
287 free(octree.children)
289 free(octree.pstart)
290 free(octree.pend)
292 free(octree.refined)
293 free(octree.depth)
295 free(octree.pidx)
[all …]
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/examples/outofcore/
H A Dexample_outofcore.cpp61 OctreeDisk* octree; in main() local
62 octree = new OctreeDisk (depth, min, max, file_location, "ECEF"); in main()
67 octree->addPointCloud (cloud, false); in main()
70 octree->addPointCloud (cloud, false); in main()
72 octree->buildLOD (); in main()
75 …Iterator<pcl::PointXYZ, pcl::outofcore::OutofcoreOctreeDiskContainer<pcl::PointXYZ> > it (*octree); in main()
76 OctreeDisk::Iterator myit (*octree); in main()
80 octree->printBoundingBox (**myit); in main()
/dports/math/octomap/octomap-1.9.7/octovis/src/
H A DViewerGui.cpp201 delete r->octree; in addOctree()
809 OcTree* octree = dynamic_cast<OcTree*>(t_it->second.octree); in on_actionDelete_nodes_in_selection_triggered() local
811 if (octree){ in on_actionDelete_nodes_in_selection_triggered()
832 OcTree* octree = dynamic_cast<OcTree*>(t_it->second.octree); in on_actionDelete_nodes_outside_of_selection_triggered() local
834 if (octree){ in on_actionDelete_nodes_outside_of_selection_triggered()
861 OcTree* octree = dynamic_cast<OcTree*>(t_it->second.octree); in updateNodesInBBX() local
863 if (octree){ in updateNodesInBBX()
892 OcTree* octree = dynamic_cast<OcTree*>(t_it->second.octree); in setNodesInBBX() local
894 if (octree){ in setNodesInBBX()
920 OcTree* octree = dynamic_cast<OcTree*>(t_it->second.octree); in setNonNodesInBBX() local
[all …]
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/gpu/octree/src/cuda/
H A Doctree_builder.cu127 mutable OctreeGlobal octree; member
135 int beg = octree.begs[task]; in FindCells()
136 int end = octree.ends[task]; in FindCells()
195 octree.codes[0] = 0; in operator ()()
196 octree.nodes[0] = 0; in operator ()()
197 octree. begs[0] = 0; in operator ()()
198 octree. ends[0] = points_number; in operator ()()
199 octree.parent[0] = -1; in operator ()()
255 octree.nodes[task] = 0; in operator ()()
281 *octree.nodes_num = nodes_num; in operator ()()
[all …]

12345678910>>...22