|
PolyVox
0.2.1
Open source voxel management library
|
#include <Block.h>
Inheritance diagram for PolyVox::Block< VoxelType >:
Collaboration diagram for PolyVox::Block< VoxelType >:Classes | |
| struct | RunlengthEntry |
Public Member Functions | |
| Block (uint16_t uSideLength=0) | |
| uint16_t | getSideLength (void) const |
| VoxelType | getVoxelAt (uint16_t uXPos, uint16_t uYPos, uint16_t uZPos) const |
| VoxelType | getVoxelAt (const Vector3DUint16 &v3dPos) const |
| void | setVoxelAt (uint16_t uXPos, uint16_t uYPos, uint16_t uZPos, VoxelType tValue) |
| void | setVoxelAt (const Vector3DUint16 &v3dPos, VoxelType tValue) |
| void | fill (VoxelType tValue) |
| void | initialise (uint16_t uSideLength) |
| uint32_t | calculateSizeInBytes (void) |
| void | compress (void) |
| void | uncompress (void) |
Public Attributes | |
| std::vector< RunlengthEntry < uint16_t > > | m_vecCompressedData |
| VoxelType * | m_tUncompressedData |
| uint16_t | m_uSideLength |
| uint8_t | m_uSideLengthPower |
| bool | m_bIsCompressed |
| bool | m_bIsUncompressedDataModified |
| PolyVox::Block< VoxelType >::Block | ( | uint16_t | uSideLength = 0 | ) |
| uint32_t PolyVox::Block< VoxelType >::calculateSizeInBytes | ( | void | ) |
| void PolyVox::Block< VoxelType >::compress | ( | void | ) |
| void PolyVox::Block< VoxelType >::fill | ( | VoxelType | tValue | ) |
Definition at line 103 of file Block.inl.
Referenced by PolyVox::Block< VoxelType >::initialise().
| uint16_t PolyVox::Block< VoxelType >::getSideLength | ( | void | ) | const |
| VoxelType PolyVox::Block< VoxelType >::getVoxelAt | ( | uint16_t | uXPos, |
| uint16_t | uYPos, | ||
| uint16_t | uZPos | ||
| ) | const |
Definition at line 55 of file Block.inl.
Referenced by PolyVox::LargeVolume< VoxelType >::getVoxelAt().
| VoxelType PolyVox::Block< VoxelType >::getVoxelAt | ( | const Vector3DUint16 & | v3dPos | ) | const |
| void PolyVox::Block< VoxelType >::initialise | ( | uint16_t | uSideLength | ) |
Definition at line 125 of file Block.inl.
Referenced by PolyVox::Block< VoxelType >::Block().
Here is the call graph for this function:| void PolyVox::Block< VoxelType >::setVoxelAt | ( | uint16_t | uXPos, |
| uint16_t | uYPos, | ||
| uint16_t | uZPos, | ||
| VoxelType | tValue | ||
| ) |
Definition at line 78 of file Block.inl.
Referenced by PolyVox::LargeVolume< VoxelType >::setVoxelAt().
| void PolyVox::Block< VoxelType >::setVoxelAt | ( | const Vector3DUint16 & | v3dPos, |
| VoxelType | tValue | ||
| ) |
| void PolyVox::Block< VoxelType >::uncompress | ( | void | ) |
| bool PolyVox::Block< VoxelType >::m_bIsCompressed |
| bool PolyVox::Block< VoxelType >::m_bIsUncompressedDataModified |
| VoxelType* PolyVox::Block< VoxelType >::m_tUncompressedData |
Definition at line 68 of file Block.h.
Referenced by PolyVox::LargeVolume< VoxelType >::Sampler::setPosition().
| uint16_t PolyVox::Block< VoxelType >::m_uSideLength |
| uint8_t PolyVox::Block< VoxelType >::m_uSideLengthPower |
| std::vector< RunlengthEntry<uint16_t> > PolyVox::Block< VoxelType >::m_vecCompressedData |
1.8.1