private |
Description
Classes
union | Geometry::VoxelStorage::Area::Data_t |
Public Types
enum | DataType {CONTAINER, UNIFORM_AREA, BLOCK} |
Public Attributes
const Vec3_t | origin |
const uinteger_t | sideLength |
union Geometry::VoxelStorage::Area::Data_t | data |
enum Geometry::VoxelStorage::Area::DataType | dataType |
bool | markedForConsolidation |
Voxel_t | uniformValue |
Public Functions
Area(const Vec3_t & _origin, uinteger_t _sideLength, const Voxel_t & _uniformValue) | |
~Area() | |
void | clear() |
bool | contains(const Vec3_t & pos) const |
uint8_t | getChildIndex(const Vec3_t & pos) const |
Box_t | getOctant(uint8_t i) const |
Vec3_t | getOctantOrigin(uint8_t i) const |
bool | isContainer() const |
bool | isBlock() const |
bool | isUniform() const |
const Vec3_t & | getOrigin() const |
Vec3_t | getMaxPosition() const |
block_t * | getBlock() const |
Area * | getChild(uint8_t i) const |
Box_t | getBox() const |
std::array< Area *, 8 > & | assureContainer() |
block_t & | assureBlock() |
void | convertToUniformArea(const Voxel_t & _uniformValue) |
Area * | insertIntermediateChild(const Vec3_t _origin, uinteger_t _sideLength) |
void | setChild(uint8_t i, Area * child) |
Documentation
enum
Geometry::VoxelStorage::Area::DataType
public |
enum DataType |
Enumerator | Description | |
---|---|---|
Enumerator | Description | |
CONTAINER | ||
UNIFORM_AREA | ||
BLOCK |
Defined in Geometry/VoxelStorage.h:59
variable
Geometry::VoxelStorage::Area::origin
public |
const Vec3_t origin |
Defined in Geometry/VoxelStorage.h:52
variable
Geometry::VoxelStorage::Area::sideLength
public |
const uinteger_t sideLength |
Defined in Geometry/VoxelStorage.h:53
variable
Geometry::VoxelStorage::Area::data
public |
union Geometry::VoxelStorage::Area::Data_t data |
Defined in Geometry/VoxelStorage.h:58
variable
Geometry::VoxelStorage::Area::dataType
public |
enum Geometry::VoxelStorage::Area::DataType dataType |
Defined in Geometry/VoxelStorage.h:59
variable
Geometry::VoxelStorage::Area::markedForConsolidation
public |
bool markedForConsolidation |
Defined in Geometry/VoxelStorage.h:60
variable
Geometry::VoxelStorage::Area::uniformValue
public |
Voxel_t uniformValue |
Defined in Geometry/VoxelStorage.h:62
function
Geometry::VoxelStorage::Area::Area
public | inline |
Area( | const Vec3_t & | _origin, |
uinteger_t | _sideLength, | |
const Voxel_t & | _uniformValue | |
) |
Defined in Geometry/VoxelStorage.h:64
function
Geometry::VoxelStorage::Area::~Area
public | inline |
~Area( | ) |
Defined in Geometry/VoxelStorage.h:70
function
Geometry::VoxelStorage::Area::clear
public | inline |
void clear( | ) |
Defined in Geometry/VoxelStorage.h:73
function
Geometry::VoxelStorage::Area::contains
public | const | inline |
bool contains( | const Vec3_t & | pos ) const |
Defined in Geometry/VoxelStorage.h:81
function
Geometry::VoxelStorage::Area::getChildIndex
public | const | inline |
uint8_t getChildIndex( | const Vec3_t & | pos ) const |
Defined in Geometry/VoxelStorage.h:86
function
Geometry::VoxelStorage::Area::getOctant
public | const | inline |
Box_t getOctant( | uint8_t | i ) const |
Defined in Geometry/VoxelStorage.h:91
function
Geometry::VoxelStorage::Area::getOctantOrigin
public | const | inline |
Vec3_t getOctantOrigin( | uint8_t | i ) const |
Defined in Geometry/VoxelStorage.h:98
function
Geometry::VoxelStorage::Area::isContainer
public | const | inline |
bool isContainer( | ) const |
Defined in Geometry/VoxelStorage.h:103
function
Geometry::VoxelStorage::Area::isBlock
public | const | inline |
bool isBlock( | ) const |
Defined in Geometry/VoxelStorage.h:106
function
Geometry::VoxelStorage::Area::isUniform
public | const | inline |
bool isUniform( | ) const |
Defined in Geometry/VoxelStorage.h:109
function
Geometry::VoxelStorage::Area::getOrigin
public | const | inline |
const Vec3_t & getOrigin( | ) const |
Defined in Geometry/VoxelStorage.h:113
function
Geometry::VoxelStorage::Area::getMaxPosition
public | const | inline |
Vec3_t getMaxPosition( | ) const |
Defined in Geometry/VoxelStorage.h:116
function
Geometry::VoxelStorage::Area::getBlock
public | const | inline |
block_t * getBlock( | ) const |
Defined in Geometry/VoxelStorage.h:119
function
Geometry::VoxelStorage::Area::getChild
public | const | inline |
Area * getChild( | uint8_t | i ) const |
Defined in Geometry/VoxelStorage.h:122
function
Geometry::VoxelStorage::Area::getBox
public | const | inline |
Box_t getBox( | ) const |
Defined in Geometry/VoxelStorage.h:126
function
Geometry::VoxelStorage::Area::assureContainer
public | inline |
std::array< Area *, 8 > & assureContainer( | ) |
Defined in Geometry/VoxelStorage.h:130
function
Geometry::VoxelStorage::Area::assureBlock
public | inline |
block_t & assureBlock( | ) |
Defined in Geometry/VoxelStorage.h:141
function
Geometry::VoxelStorage::Area::convertToUniformArea
public | inline |
void convertToUniformArea( | const Voxel_t & | _uniformValue ) |
Defined in Geometry/VoxelStorage.h:152
function
Geometry::VoxelStorage::Area::insertIntermediateChild
public | inline |
Area * insertIntermediateChild( | const Vec3_t | _origin, |
uinteger_t | _sideLength | |
) |
Defined in Geometry/VoxelStorage.h:157
function
Geometry::VoxelStorage::Area::setChild
public | inline |
void setChild( | uint8_t | i, |
Area * | child | |
) |
Defined in Geometry/VoxelStorage.h:172