class WideSparse3D : public Sparse3D This implementation of Sparse3D is very suited where the accesses will be very widely spaced (for example: one element at (-1000,0,0) and one at (1000,0,0))
This implementation of Sparse3D is very suited where the accesses will be very widely spaced (for example: one element at (-1000,0,0) and one at (1000,0,0)). Getting and setting elements is not as efficient as with DenseSparse3D but it consumes less memory. @@@ NOTE! Current implementation is very naive. The list should be sorted to make searching at least a little more efficient.
class HdY
class HdX
HdX* first_x
HdX* get_header_x(int x)
HdY* get_header_y(HdX* y_list, int y)
SparseCell* get_cell_z(HdY* z_list, int z)
WideSparse3D()
virtual ~WideSparse3D()
virtual void clear()
virtual void set(int x, int y, int z, void* obj)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de