ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
SortedTreeNodes Class Reference

#include <MultiGridOctreeData.h>

Collaboration diagram for SortedTreeNodes:

Classes

struct  _Indices
 
struct  SliceTableData
 
struct  XSliceTableData
 

Public Types

typedef _Indices< Square::CORNERSSquareCornerIndices
 
typedef _Indices< Square::EDGESSquareEdgeIndices
 
typedef _Indices< Square::FACESSquareFaceIndices
 

Public Member Functions

int begin (int depth) const
 
int end (int depth) const
 
int begin (int depth, int slice) const
 
int end (int depth, int slice) const
 
int size (void) const
 
int size (int depth) const
 
int size (int depth, int slice) const
 
int levels (void) const
 
 SortedTreeNodes (void)
 
 ~SortedTreeNodes (void)
 
void set (TreeOctNode &root, std::vector< int > *map)
 
void set (TreeOctNode &root)
 
void setSliceTableData (SliceTableData &sData, int depth, int offset, int threads) const
 
void setXSliceTableData (XSliceTableData &sData, int depth, int offset, int threads) const
 

Public Attributes

TreeOctNode ** treeNodes
 

Protected Attributes

int ** _sliceStart
 
int _levels
 

Detailed Description

Definition at line 135 of file MultiGridOctreeData.h.

Member Typedef Documentation

◆ SquareCornerIndices

◆ SquareEdgeIndices

◆ SquareFaceIndices

Constructor & Destructor Documentation

◆ SortedTreeNodes()

SortedTreeNodes::SortedTreeNodes ( void  )

◆ ~SortedTreeNodes()

SortedTreeNodes::~SortedTreeNodes ( void  )

Member Function Documentation

◆ begin() [1/2]

int SortedTreeNodes::begin ( int  depth) const
inline

Definition at line 143 of file MultiGridOctreeData.h.

References _sliceStart.

◆ begin() [2/2]

int SortedTreeNodes::begin ( int  depth,
int  slice 
) const
inline

Definition at line 145 of file MultiGridOctreeData.h.

References _sliceStart.

◆ end() [1/2]

int SortedTreeNodes::end ( int  depth) const
inline

Definition at line 144 of file MultiGridOctreeData.h.

References _sliceStart.

◆ end() [2/2]

int SortedTreeNodes::end ( int  depth,
int  slice 
) const
inline

Definition at line 146 of file MultiGridOctreeData.h.

References _levels, and _sliceStart.

◆ levels()

int SortedTreeNodes::levels ( void  ) const
inline

Definition at line 150 of file MultiGridOctreeData.h.

References _levels.

◆ set() [1/2]

void SortedTreeNodes::set ( TreeOctNode root)

◆ set() [2/2]

void SortedTreeNodes::set ( TreeOctNode root,
std::vector< int > *  map 
)

◆ setSliceTableData()

void SortedTreeNodes::setSliceTableData ( SliceTableData sData,
int  depth,
int  offset,
int  threads 
) const

◆ setXSliceTableData()

void SortedTreeNodes::setXSliceTableData ( XSliceTableData sData,
int  depth,
int  offset,
int  threads 
) const

◆ size() [1/3]

int SortedTreeNodes::size ( int  depth) const
inline

Definition at line 148 of file MultiGridOctreeData.h.

References _levels, and _sliceStart.

◆ size() [2/3]

int SortedTreeNodes::size ( int  depth,
int  slice 
) const
inline

Definition at line 149 of file MultiGridOctreeData.h.

References _sliceStart.

◆ size() [3/3]

int SortedTreeNodes::size ( void  ) const
inline

Definition at line 147 of file MultiGridOctreeData.h.

References _levels, and _sliceStart.

Member Data Documentation

◆ _levels

int SortedTreeNodes::_levels
protected

Definition at line 140 of file MultiGridOctreeData.h.

Referenced by end(), levels(), and size().

◆ _sliceStart

int* * SortedTreeNodes::_sliceStart
protected

Definition at line 139 of file MultiGridOctreeData.h.

Referenced by begin(), end(), and size().

◆ treeNodes

TreeOctNode* * SortedTreeNodes::treeNodes

Definition at line 142 of file MultiGridOctreeData.h.


The documentation for this class was generated from the following file: