In file include/csutil/sparse3d.h:

## 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))

## Inheritance:

### Public Methods

virtual void clear()
virtual void del(int x, int y, int z)
virtual void* get(int x, int y, int z)
virtual void set(int x, int y, int z, void* obj)
WideSparse3D()
virtual ~WideSparse3D()

### Private Fields

HdX* first_x

### Private Methods

SparseCell* get_cell_z(HdY* z_list, int z)
HdX* get_header_x(int x)
HdY* get_header_y(HdX* y_list, int y)

### Inherited from Sparse3D:

## Documentation

> 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 SparseCell`

`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)`

`virtual void* get(int x, int y, int z)`

`virtual void del(int x, int y, int z)`

This class has no child classes.

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de