#include <SimpleVolume.h>
Public Member Functions | |
Block (uint16_t uSideLength=0) | |
~Block () | |
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) |
Public Attributes | |
VoxelType * | m_tUncompressedData |
uint16_t | m_uSideLength |
uint8_t | m_uSideLengthPower |
Definition at line 48 of file SimpleVolume.h.
PolyVox::SimpleVolume< VoxelType >::Block::Block | ( | uint16_t | uSideLength = 0 |
) |
PolyVox::SimpleVolume< VoxelType >::Block::~Block | ( | ) |
Definition at line 39 of file SimpleVolumeBlock.inl.
uint32_t PolyVox::SimpleVolume< VoxelType >::Block::calculateSizeInBytes | ( | void | ) |
Definition at line 125 of file SimpleVolumeBlock.inl.
void PolyVox::SimpleVolume< VoxelType >::Block::fill | ( | VoxelType | tValue | ) |
Definition at line 97 of file SimpleVolumeBlock.inl.
Referenced by PolyVox::SimpleVolume< VoxelType >::Block::initialise().
uint16_t PolyVox::SimpleVolume< VoxelType >::Block::getSideLength | ( | void | ) | const |
Definition at line 45 of file SimpleVolumeBlock.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Block::getVoxelAt | ( | uint16_t | uXPos, | |
uint16_t | uYPos, | |||
uint16_t | uZPos | |||
) | const |
Definition at line 51 of file SimpleVolumeBlock.inl.
Referenced by PolyVox::SimpleVolume< VoxelType >::Block::getVoxelAt().
VoxelType PolyVox::SimpleVolume< VoxelType >::Block::getVoxelAt | ( | const Vector3DUint16 & | v3dPos | ) | const |
void PolyVox::SimpleVolume< VoxelType >::Block::initialise | ( | uint16_t | uSideLength | ) |
Definition at line 104 of file SimpleVolumeBlock.inl.
Referenced by PolyVox::SimpleVolume< VoxelType >::Block::Block(), and PolyVox::SimpleVolume< VoxelType >::resize().
void PolyVox::SimpleVolume< VoxelType >::Block::setVoxelAt | ( | const Vector3DUint16 & | v3dPos, | |
VoxelType | tValue | |||
) |
void PolyVox::SimpleVolume< VoxelType >::Block::setVoxelAt | ( | uint16_t | uXPos, | |
uint16_t | uYPos, | |||
uint16_t | uZPos, | |||
VoxelType | tValue | |||
) |
Definition at line 74 of file SimpleVolumeBlock.inl.
Referenced by PolyVox::SimpleVolume< VoxelType >::Block::setVoxelAt().
VoxelType* PolyVox::SimpleVolume< VoxelType >::Block::m_tUncompressedData |
Definition at line 66 of file SimpleVolume.h.
Referenced by PolyVox::SimpleVolume< VoxelType >::Block::fill(), PolyVox::SimpleVolume< VoxelType >::Block::getVoxelAt(), PolyVox::SimpleVolume< VoxelType >::Block::initialise(), PolyVox::SimpleVolume< VoxelType >::Sampler::setPosition(), PolyVox::SimpleVolume< VoxelType >::Block::setVoxelAt(), and PolyVox::SimpleVolume< VoxelType >::Block::~Block().
uint16_t PolyVox::SimpleVolume< VoxelType >::Block::m_uSideLength |
Definition at line 67 of file SimpleVolume.h.
Referenced by PolyVox::SimpleVolume< VoxelType >::Block::calculateSizeInBytes(), PolyVox::SimpleVolume< VoxelType >::Block::fill(), PolyVox::SimpleVolume< VoxelType >::Block::getSideLength(), PolyVox::SimpleVolume< VoxelType >::Block::getVoxelAt(), PolyVox::SimpleVolume< VoxelType >::Block::initialise(), and PolyVox::SimpleVolume< VoxelType >::Block::setVoxelAt().
uint8_t PolyVox::SimpleVolume< VoxelType >::Block::m_uSideLengthPower |
Definition at line 68 of file SimpleVolume.h.
Referenced by PolyVox::SimpleVolume< VoxelType >::Block::initialise().