#include "geometry\geo_rangesensor\Range_Sensor.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <set>
#include <algorithm>
#include <iterator>
#include <functional>
Include dependency graph for octree.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | PointClass |
struct | vector_d |
struct | vector_i |
struct | free_space |
struct | child_pointer |
struct | OctreeNode |
struct | cubic |
struct | cubic_d |
Defines | |
#define | octree_h__INCLUDED_ |
#define | TRUE 1 |
#define | FALSE 0 |
#define | WHITE 0 |
#define | BLACK 3 |
#define | GRAY 1 |
#define | LIMIT 128 |
#define | LIMITP 127 |
#define | TEMP_EPSILON 0.00000001 |
#define | DBL_LIMIT (128+TEMP_EPSILON) |
#define | DBL_LIMITP (127+TEMP_EPSILON) |
#define | INSIDE 0 |
#define | OUTSIDE 1 |
#define | MAXLINELENGTH 444 |
#define | MAXBUFFSIZE (64*64) |
#define | NUMELEMENTS (256*256) |
#define | PointsList std::set<PointClass>; |
Functions | |
void | mapping (struct free_space *a, vector_d *point, int proj_point[3]) |
OctreeNode * | construct_octree (struct free_space *a, struct cubic *scope, int level, int maxlevel) |
OctreeNode * | assign_white_node () |
OctreeNode * | assign_black_node () |
OctreeNode * | assign_gray_node (struct free_space *a, struct cubic *c, int level, int maxlevel) |
void | scale_distance_assign (int[3], int, int, struct free_space *, Range_Sensor *jc) |
void | calculate_scaled_distance (struct free_space *a, Range_Sensor *jc) |
|
Definition at line 21 of file octree.h. Referenced by assign_black_node(), black_node(), check_node_containment(), clean(), intersection_node(), negative(), Octree_Data_Fuser::Octree_Data_Fuser(), and save_node(). |
|
Definition at line 29 of file octree.h. Referenced by mapping(). |
|
Definition at line 30 of file octree.h. Referenced by mapping(). |
|
|
Definition at line 22 of file octree.h. Referenced by assign_gray_node(), check_node_containment(), clean(), copy(), create_block_node(), create_node(), extract_block_node(), read_node(), and save_node(). |
|
Definition at line 33 of file octree.h. Referenced by construct_octree(). |
|
Definition at line 26 of file octree.h. Referenced by construct_octree(), create_block_wrapper(), and mapping(). |
|
Definition at line 27 of file octree.h. Referenced by mapping(). |
|
|
|
Definition at line 36 of file octree.h. Referenced by create_line_node(). |
|
|
|
|
|
Definition at line 34 of file octree.h. Referenced by construct_octree(). |
|
|
|
Definition at line 28 of file octree.h. Referenced by mapping(). |
|
|
Definition at line 20 of file octree.h. Referenced by assign_white_node(), check_node_containment(), extract_block_node(), negative(), octree_volume(), save_node(), union_node(), and white_node(). |
|
Definition at line 62 of file octree.cpp. References BLACK, OctreeNode::color, and OctreeNode::son. Referenced by construct_octree(), and create_block_node(). |
|
Definition at line 82 of file octree.cpp. References OctreeNode::color, construct_octree(), OctreeNode::father, GRAY, child_pointer::pointer, OctreeNode::son, cubic::x0, cubic::x1, cubic::y0, cubic::y1, cubic::z0, and cubic::z1. Referenced by construct_octree(). Here is the call graph for this function: ![]() |
|
Definition at line 43 of file octree.cpp. References OctreeNode::color, OctreeNode::son, and WHITE. Referenced by construct_octree(), and create_block_node(). |
|
Definition at line 651 of file octree.cpp. References free_space::apex, mapping(), Range_Sensor::ray_coord_map, scale_distance_assign(), free_space::scaled_distance, vector_d::x, vector_d::y, and vector_d::z. Referenced by construct_octree_wrapper(). Here is the call graph for this function: ![]() |
|
Definition at line 415 of file octree.cpp. References free_space::apex, assign_black_node(), assign_gray_node(), assign_white_node(), free_space::bound_end, GET_REP, INSIDE, LIMIT, mapping(), OUTSIDE, free_space::scaled_distance, vector_d::x, cubic::x0, cubic::x1, vector_d::y, cubic::y0, cubic::y1, vector_d::z, cubic::z0, and cubic::z1. Referenced by assign_gray_node(), and construct_octree_wrapper(). Here is the call graph for this function: ![]() |
|
Definition at line 170 of file octree.cpp. References free_space::apex, DBL_LIMIT, DBL_LIMITP, last_face, LIMIT, LIMITP, TEMP_EPSILON, vector_d::x, vector_d::y, and vector_d::z. Referenced by calculate_scaled_distance(), and construct_octree(). |
|
Definition at line 616 of file octree.cpp. References free_space::apex, Range_Sensor::ray_coord_map, free_space::scaled_distance, vector_d::x, vector_d::y, and vector_d::z. Referenced by calculate_scaled_distance(). |