#include <SimpleVolume.h>
Public Member Functions | |
Sampler (SimpleVolume< VoxelType > *volume) | |
~Sampler () | |
Sampler & | operator= (const Sampler &rhs) throw () |
int32_t | getPosX (void) const |
int32_t | getPosY (void) const |
int32_t | getPosZ (void) const |
VoxelType | getSubSampledVoxel (uint8_t uLevel) const |
VoxelType | getVoxel (void) const |
void | setPosition (const Vector3DInt32 &v3dNewPos) |
void | setPosition (int32_t xPos, int32_t yPos, int32_t zPos) |
bool | setVoxel (VoxelType tValue) |
void | movePositiveX (void) |
void | movePositiveY (void) |
void | movePositiveZ (void) |
void | moveNegativeX (void) |
void | moveNegativeY (void) |
void | moveNegativeZ (void) |
VoxelType | peekVoxel1nx1ny1nz (void) const |
VoxelType | peekVoxel1nx1ny0pz (void) const |
VoxelType | peekVoxel1nx1ny1pz (void) const |
VoxelType | peekVoxel1nx0py1nz (void) const |
VoxelType | peekVoxel1nx0py0pz (void) const |
VoxelType | peekVoxel1nx0py1pz (void) const |
VoxelType | peekVoxel1nx1py1nz (void) const |
VoxelType | peekVoxel1nx1py0pz (void) const |
VoxelType | peekVoxel1nx1py1pz (void) const |
VoxelType | peekVoxel0px1ny1nz (void) const |
VoxelType | peekVoxel0px1ny0pz (void) const |
VoxelType | peekVoxel0px1ny1pz (void) const |
VoxelType | peekVoxel0px0py1nz (void) const |
VoxelType | peekVoxel0px0py0pz (void) const |
VoxelType | peekVoxel0px0py1pz (void) const |
VoxelType | peekVoxel0px1py1nz (void) const |
VoxelType | peekVoxel0px1py0pz (void) const |
VoxelType | peekVoxel0px1py1pz (void) const |
VoxelType | peekVoxel1px1ny1nz (void) const |
VoxelType | peekVoxel1px1ny0pz (void) const |
VoxelType | peekVoxel1px1ny1pz (void) const |
VoxelType | peekVoxel1px0py1nz (void) const |
VoxelType | peekVoxel1px0py0pz (void) const |
VoxelType | peekVoxel1px0py1pz (void) const |
VoxelType | peekVoxel1px1py1nz (void) const |
VoxelType | peekVoxel1px1py0pz (void) const |
VoxelType | peekVoxel1px1py1pz (void) const |
Definition at line 81 of file SimpleVolume.h.
PolyVox::SimpleVolume< VoxelType >::Sampler::Sampler | ( | SimpleVolume< VoxelType > * | volume | ) |
Definition at line 32 of file SimpleVolumeSampler.inl.
PolyVox::SimpleVolume< VoxelType >::Sampler::~Sampler | ( | ) |
Definition at line 38 of file SimpleVolumeSampler.inl.
int32_t PolyVox::SimpleVolume< VoxelType >::Sampler::getPosX | ( | void | ) | const |
Definition at line 58 of file SimpleVolumeSampler.inl.
int32_t PolyVox::SimpleVolume< VoxelType >::Sampler::getPosY | ( | void | ) | const |
Definition at line 64 of file SimpleVolumeSampler.inl.
int32_t PolyVox::SimpleVolume< VoxelType >::Sampler::getPosZ | ( | void | ) | const |
Definition at line 70 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::getSubSampledVoxel | ( | uint8_t | uLevel | ) | const |
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::getVoxel | ( | void | ) | const [inline] |
Definition at line 114 of file SimpleVolumeSampler.inl.
Referenced by PolyVox::SimpleVolume< VoxelType >::Sampler::getSubSampledVoxel().
void PolyVox::SimpleVolume< VoxelType >::Sampler::moveNegativeX | ( | void | ) |
void PolyVox::SimpleVolume< VoxelType >::Sampler::moveNegativeY | ( | void | ) |
void PolyVox::SimpleVolume< VoxelType >::Sampler::moveNegativeZ | ( | void | ) |
void PolyVox::SimpleVolume< VoxelType >::Sampler::movePositiveX | ( | void | ) |
void PolyVox::SimpleVolume< VoxelType >::Sampler::movePositiveY | ( | void | ) |
void PolyVox::SimpleVolume< VoxelType >::Sampler::movePositiveZ | ( | void | ) |
Sampler& PolyVox::SimpleVolume< VoxelType >::Sampler::operator= | ( | const Sampler & | rhs | ) | throw () |
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel0px0py0pz | ( | void | ) | const [inline] |
Definition at line 402 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel0px0py1nz | ( | void | ) | const [inline] |
Definition at line 392 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel0px0py1pz | ( | void | ) | const [inline] |
Definition at line 408 of file SimpleVolumeSampler.inl.
Referenced by PolyVox::SimpleVolume< VoxelType >::Sampler::getSubSampledVoxel().
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel0px1ny0pz | ( | void | ) | const [inline] |
Definition at line 372 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel0px1ny1nz | ( | void | ) | const [inline] |
Definition at line 362 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel0px1ny1pz | ( | void | ) | const [inline] |
Definition at line 382 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel0px1py0pz | ( | void | ) | const [inline] |
Definition at line 428 of file SimpleVolumeSampler.inl.
Referenced by PolyVox::SimpleVolume< VoxelType >::Sampler::getSubSampledVoxel().
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel0px1py1nz | ( | void | ) | const [inline] |
Definition at line 418 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel0px1py1pz | ( | void | ) | const [inline] |
Definition at line 438 of file SimpleVolumeSampler.inl.
Referenced by PolyVox::SimpleVolume< VoxelType >::Sampler::getSubSampledVoxel().
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel1nx0py0pz | ( | void | ) | const [inline] |
Definition at line 310 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel1nx0py1nz | ( | void | ) | const [inline] |
Definition at line 300 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel1nx0py1pz | ( | void | ) | const [inline] |
Definition at line 320 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel1nx1ny0pz | ( | void | ) | const [inline] |
Definition at line 280 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel1nx1ny1nz | ( | void | ) | const [inline] |
Definition at line 270 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel1nx1ny1pz | ( | void | ) | const [inline] |
Definition at line 290 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel1nx1py0pz | ( | void | ) | const [inline] |
Definition at line 340 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel1nx1py1nz | ( | void | ) | const [inline] |
Definition at line 330 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel1nx1py1pz | ( | void | ) | const [inline] |
Definition at line 350 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel1px0py0pz | ( | void | ) | const [inline] |
Definition at line 490 of file SimpleVolumeSampler.inl.
Referenced by PolyVox::SimpleVolume< VoxelType >::Sampler::getSubSampledVoxel().
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel1px0py1nz | ( | void | ) | const [inline] |
Definition at line 480 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel1px0py1pz | ( | void | ) | const [inline] |
Definition at line 500 of file SimpleVolumeSampler.inl.
Referenced by PolyVox::SimpleVolume< VoxelType >::Sampler::getSubSampledVoxel().
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel1px1ny0pz | ( | void | ) | const [inline] |
Definition at line 460 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel1px1ny1nz | ( | void | ) | const [inline] |
Definition at line 450 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel1px1ny1pz | ( | void | ) | const [inline] |
Definition at line 470 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel1px1py0pz | ( | void | ) | const [inline] |
Definition at line 520 of file SimpleVolumeSampler.inl.
Referenced by PolyVox::SimpleVolume< VoxelType >::Sampler::getSubSampledVoxel().
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel1px1py1nz | ( | void | ) | const [inline] |
Definition at line 510 of file SimpleVolumeSampler.inl.
VoxelType PolyVox::SimpleVolume< VoxelType >::Sampler::peekVoxel1px1py1pz | ( | void | ) | const [inline] |
Definition at line 530 of file SimpleVolumeSampler.inl.
Referenced by PolyVox::SimpleVolume< VoxelType >::Sampler::getSubSampledVoxel().
void PolyVox::SimpleVolume< VoxelType >::Sampler::setPosition | ( | const Vector3DInt32 & | v3dNewPos | ) |
Definition at line 120 of file SimpleVolumeSampler.inl.
Referenced by PolyVox::SimpleVolume< VoxelType >::Sampler::moveNegativeX(), PolyVox::SimpleVolume< VoxelType >::Sampler::moveNegativeY(), PolyVox::SimpleVolume< VoxelType >::Sampler::moveNegativeZ(), PolyVox::SimpleVolume< VoxelType >::Sampler::movePositiveX(), PolyVox::SimpleVolume< VoxelType >::Sampler::movePositiveY(), and PolyVox::SimpleVolume< VoxelType >::Sampler::movePositiveZ().
void PolyVox::SimpleVolume< VoxelType >::Sampler::setPosition | ( | int32_t | xPos, | |
int32_t | yPos, | |||
int32_t | zPos | |||
) |
Definition at line 126 of file SimpleVolumeSampler.inl.
bool PolyVox::SimpleVolume< VoxelType >::Sampler::setVoxel | ( | VoxelType | tValue | ) | [inline] |
Definition at line 157 of file SimpleVolumeSampler.inl.