MCPcopy Create free account
hub / github.com/cdcseacave/openMVS / DMapCache

Method DMapCache

libs/MVS/DMapCache.cpp:40–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38// S T R U C T S ///////////////////////////////////////////////////
39
40DMapCache::DMapCache(DepthDataArr& _arrDepthData, unsigned _loadFlags, size_t _max_memory_bytes)
41 :
42 loadFlags(_loadFlags), arrDepthData(_arrDepthData),
43 maxMemory(_max_memory_bytes), disabledMaxMemory(0), usedMemory(0),
44 skipMemoryCheckIdxImage(NO_ID), numImageRead(0)
45{
46}
47
48void DMapCache::SetMaxMemory(size_t max_memory_bytes) {
49 maxMemory = max_memory_bytes;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected