Public Types | Public Member Functions | Private Attributes | List of all members
lvr2::Location Class Reference

#include <Location.hh>

Public Types

typedef unsigned short LocCode
 This datatype determines the maximal depth of the octree. More...
 

Public Member Functions

LocCode level () const
 
LocCode loc_x () const
 
LocCode loc_y () const
 
LocCode loc_z () const
 
 Location ()
 Standard constructor. More...
 
 Location (LocCode _loc_x, LocCode _loc_y, LocCode _loc_z, LocCode _level, CellHandle _parent)
 
Location neighbor (int _idx) const
 
CellHandle parent () const
 
void set_level (LocCode _level)
 
void set_loc_x (LocCode _loc_x)
 
void set_loc_y (LocCode _loc_y)
 
void set_loc_z (LocCode _loc_z)
 
void set_parent (CellHandle _parent)
 

Private Attributes

LocCode level_
 
LocCode loc_x_
 
LocCode loc_y_
 
LocCode loc_z_
 
CellHandle parent_
 

Detailed Description

Definition at line 24 of file Location.hh.

Member Typedef Documentation

◆ LocCode

typedef unsigned short lvr2::Location::LocCode

This datatype determines the maximal depth of the octree.

Definition at line 28 of file Location.hh.

Constructor & Destructor Documentation

◆ Location() [1/2]

lvr2::Location::Location ( )
inline

Standard constructor.

Definition at line 31 of file Location.hh.

◆ Location() [2/2]

lvr2::Location::Location ( LocCode  _loc_x,
LocCode  _loc_y,
LocCode  _loc_z,
LocCode  _level,
CellHandle  _parent 
)
inline

Definition at line 35 of file Location.hh.

Member Function Documentation

◆ level()

LocCode lvr2::Location::level ( ) const
inline

Definition at line 43 of file Location.hh.

◆ loc_x()

LocCode lvr2::Location::loc_x ( ) const
inline

Definition at line 40 of file Location.hh.

◆ loc_y()

LocCode lvr2::Location::loc_y ( ) const
inline

Definition at line 41 of file Location.hh.

◆ loc_z()

LocCode lvr2::Location::loc_z ( ) const
inline

Definition at line 42 of file Location.hh.

◆ neighbor()

Location lvr2::Location::neighbor ( int  _idx) const
inline

Definition at line 51 of file Location.hh.

◆ parent()

CellHandle lvr2::Location::parent ( ) const
inline

Definition at line 39 of file Location.hh.

◆ set_level()

void lvr2::Location::set_level ( LocCode  _level)
inline

Definition at line 49 of file Location.hh.

◆ set_loc_x()

void lvr2::Location::set_loc_x ( LocCode  _loc_x)
inline

Definition at line 46 of file Location.hh.

◆ set_loc_y()

void lvr2::Location::set_loc_y ( LocCode  _loc_y)
inline

Definition at line 47 of file Location.hh.

◆ set_loc_z()

void lvr2::Location::set_loc_z ( LocCode  _loc_z)
inline

Definition at line 48 of file Location.hh.

◆ set_parent()

void lvr2::Location::set_parent ( CellHandle  _parent)
inline

Definition at line 45 of file Location.hh.

Member Data Documentation

◆ level_

LocCode lvr2::Location::level_
private

Definition at line 74 of file Location.hh.

◆ loc_x_

LocCode lvr2::Location::loc_x_
private

Definition at line 71 of file Location.hh.

◆ loc_y_

LocCode lvr2::Location::loc_y_
private

Definition at line 72 of file Location.hh.

◆ loc_z_

LocCode lvr2::Location::loc_z_
private

Definition at line 73 of file Location.hh.

◆ parent_

CellHandle lvr2::Location::parent_
private

Definition at line 75 of file Location.hh.


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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:27