ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
DgmOctree.cpp File Reference
#include <DgmOctree.h>
#include <CVMiscTools.h>
#include <GenericProgressCallback.h>
#include <ParallelSort.h>
#include <RayAndBox.h>
#include <ReferenceCloud.h>
#include <ScalarField.h>
#include <cstdio>
#include <set>
Include dependency graph for DgmOctree.cpp:

Go to the source code of this file.

Classes

struct  BitShiftValues
 Pre-computed bit shift values (one for each level) More...
 
struct  MonoDimensionalCellCodes
 
struct  IndexAndCodeExt
 

Macros

#define ENABLE_DOWN_TOP_TRAVERSAL
 
#define ENABLE_DOWN_TOP_TRAVERSAL_MT
 

Functions

static DgmOctree::CellCode GenerateCellCodeForDim (int pos)
 

Variables

static const double LOG_NAT_2 = log(2.0)
 Const value: ln(2) More...
 
static BitShiftValues PRE_COMPUTED_BIT_SHIFT_VALUES
 
static MonoDimensionalCellCodes PRE_COMPUTED_POS_CODES
 

Macro Definition Documentation

◆ ENABLE_DOWN_TOP_TRAVERSAL

#define ENABLE_DOWN_TOP_TRAVERSAL

Definition at line 3817 of file DgmOctree.cpp.

◆ ENABLE_DOWN_TOP_TRAVERSAL_MT

#define ENABLE_DOWN_TOP_TRAVERSAL_MT

Definition at line 3818 of file DgmOctree.cpp.

Function Documentation

◆ GenerateCellCodeForDim()

Variable Documentation

◆ LOG_NAT_2

const double LOG_NAT_2 = log(2.0)
static

Const value: ln(2)

Definition at line 44 of file DgmOctree.cpp.

Referenced by cloudViewer::DgmOctree::genericBuild(), and cloudViewer::DgmOctree::getCellIndex().

◆ PRE_COMPUTED_BIT_SHIFT_VALUES

BitShiftValues PRE_COMPUTED_BIT_SHIFT_VALUES
static

Definition at line 61 of file DgmOctree.cpp.

Referenced by cloudViewer::DgmOctree::GET_BIT_SHIFT().

◆ PRE_COMPUTED_POS_CODES

MonoDimensionalCellCodes PRE_COMPUTED_POS_CODES
static