6 #ifndef PHOTONLIBRARY_H
7 #define PHOTONLIBRARY_H
22 float GetCount(
size_t Voxel,
size_t OpChannel);
23 void SetCount(
size_t Voxel,
size_t OpChannel,
float Count);
25 const std::vector<float>*
GetCounts(
size_t Voxel)
const;
26 inline const std::vector<std::vector<float> >&
GetData()
const
static std::vector< float > * EmptyList()
void LoadLibraryFromFile(std::string LibraryFile, size_t NVoxels, bool storeReflected=false, bool storeReflT0=false, size_t storeTiming=0, int maxrange=200)
void CreateEmptyLibrary(size_t NVoxels, size_t NChannels, bool storeReflected=false, bool storeReflT0=false, size_t storeTiming=0)
std::vector< std::vector< float > > fLookupTable
const std::vector< std::vector< float > > & GetData() const
void StoreLibraryToFile(std::string LibraryFile, bool storeReflected=false, bool storeReflT0=false, size_t storeTiming=0) const
void SetCount(size_t Voxel, size_t OpChannel, float Count)
util::LazyVector< float > fLookupTable
static std::vector< float > EmptyChannelsList
virtual float const * GetCounts(size_t Voxel) const override
Returns a pointer to NOpChannels() visibility values, one per channel.
virtual float GetCount(size_t Voxel, size_t OpChannel) const override
virtual int NVoxels() const override