PolyVox  0.2.1
Open source voxel management library
Public Member Functions | Public Attributes | Static Public Attributes
PolyVox::VolumeChangeTracker< VoxelType > Class Template Reference

Voxel scene manager. More...

#include <VolumeChangeTracker.h>

+ Collaboration diagram for PolyVox::VolumeChangeTracker< VoxelType >:

List of all members.

Public Member Functions

 VolumeChangeTracker (LargeVolume< VoxelType > *volumeDataToSet, uint16_t regionSideLength)
 ~VolumeChangeTracker ()
int32_t getCurrentTime (void) const
int32_t getLastModifiedTimeForRegion (uint16_t uX, uint16_t uY, uint16_t uZ)
LargeVolume< VoxelType > * getWrappedVolume (void) const
void setAllRegionsModified (void)
void setLockedVoxelAt (uint16_t x, uint16_t y, uint16_t z, VoxelType value)
void setVoxelAt (uint16_t x, uint16_t y, uint16_t z, VoxelType value)
void lockRegion (const Region &regToLock)
void unlockRegion (void)
void incrementCurrentTime (void)

Public Attributes

bool m_bIsLocked
Region m_regLastLocked
LargeVolume< VoxelType > * volumeData
uint16_t m_uRegionSideLength
uint8_t m_uRegionSideLengthPower
uint16_t m_uVolumeWidthInRegions
uint16_t m_uVolumeHeightInRegions
uint16_t m_uVolumeDepthInRegions
LargeVolume< int32_t > * volRegionLastModified

Static Public Attributes

static uint32_t m_uCurrentTime = 0

Detailed Description

template<typename VoxelType>
class PolyVox::VolumeChangeTracker< VoxelType >

Voxel scene manager.

Deprecated:

Definition at line 38 of file VolumeChangeTracker.h.


Constructor & Destructor Documentation

template<typename VoxelType >
PolyVox::VolumeChangeTracker< VoxelType >::VolumeChangeTracker ( LargeVolume< VoxelType > *  volumeDataToSet,
uint16_t  regionSideLength 
)

Definition at line 33 of file VolumeChangeTracker.inl.

+ Here is the call graph for this function:

template<typename VoxelType >
PolyVox::VolumeChangeTracker< VoxelType >::~VolumeChangeTracker ( )

Definition at line 48 of file VolumeChangeTracker.inl.


Member Function Documentation

template<typename VoxelType >
int32_t PolyVox::VolumeChangeTracker< VoxelType >::getCurrentTime ( void  ) const

Definition at line 69 of file VolumeChangeTracker.inl.

template<typename VoxelType >
int32_t PolyVox::VolumeChangeTracker< VoxelType >::getLastModifiedTimeForRegion ( uint16_t  uX,
uint16_t  uY,
uint16_t  uZ 
)

Definition at line 75 of file VolumeChangeTracker.inl.

template<typename VoxelType >
LargeVolume< VoxelType > * PolyVox::VolumeChangeTracker< VoxelType >::getWrappedVolume ( void  ) const

Definition at line 81 of file VolumeChangeTracker.inl.

template<typename VoxelType >
void PolyVox::VolumeChangeTracker< VoxelType >::incrementCurrentTime ( void  )

Definition at line 199 of file VolumeChangeTracker.inl.

template<typename VoxelType >
void PolyVox::VolumeChangeTracker< VoxelType >::lockRegion ( const Region regToLock)

Definition at line 149 of file VolumeChangeTracker.inl.

template<typename VoxelType >
void PolyVox::VolumeChangeTracker< VoxelType >::setAllRegionsModified ( void  )

Definition at line 53 of file VolumeChangeTracker.inl.

template<typename VoxelType >
void PolyVox::VolumeChangeTracker< VoxelType >::setLockedVoxelAt ( uint16_t  x,
uint16_t  y,
uint16_t  z,
VoxelType  value 
)

Definition at line 137 of file VolumeChangeTracker.inl.

template<typename VoxelType >
void PolyVox::VolumeChangeTracker< VoxelType >::setVoxelAt ( uint16_t  x,
uint16_t  y,
uint16_t  z,
VoxelType  value 
)

Definition at line 87 of file VolumeChangeTracker.inl.

template<typename VoxelType >
void PolyVox::VolumeChangeTracker< VoxelType >::unlockRegion ( void  )

Definition at line 161 of file VolumeChangeTracker.inl.


Member Data Documentation

template<typename VoxelType >
bool PolyVox::VolumeChangeTracker< VoxelType >::m_bIsLocked

Definition at line 62 of file VolumeChangeTracker.h.

template<typename VoxelType >
Region PolyVox::VolumeChangeTracker< VoxelType >::m_regLastLocked

Definition at line 63 of file VolumeChangeTracker.h.

template<typename VoxelType >
uint32_t PolyVox::VolumeChangeTracker< VoxelType >::m_uCurrentTime = 0
static

Definition at line 77 of file VolumeChangeTracker.h.

template<typename VoxelType >
uint16_t PolyVox::VolumeChangeTracker< VoxelType >::m_uRegionSideLength
template<typename VoxelType >
uint8_t PolyVox::VolumeChangeTracker< VoxelType >::m_uRegionSideLengthPower
template<typename VoxelType >
uint16_t PolyVox::VolumeChangeTracker< VoxelType >::m_uVolumeDepthInRegions
template<typename VoxelType >
uint16_t PolyVox::VolumeChangeTracker< VoxelType >::m_uVolumeHeightInRegions
template<typename VoxelType >
uint16_t PolyVox::VolumeChangeTracker< VoxelType >::m_uVolumeWidthInRegions
template<typename VoxelType >
LargeVolume<int32_t>* PolyVox::VolumeChangeTracker< VoxelType >::volRegionLastModified
template<typename VoxelType >
LargeVolume<VoxelType>* PolyVox::VolumeChangeTracker< VoxelType >::volumeData

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