|
OpenImageIO
|
Structure to hold "deep" data – multiple samples per pixel. More...
#include <imageio.h>
Public Member Functions | |
| void | init (int npix, int nchan, const TypeDesc *chbegin, const TypeDesc *chend) |
| Initialize size and allocate nsamples, pointers. | |
| void | alloc () |
| void | clear () |
| Clear the vectors and reset size to 0. | |
| void | free () |
| Deallocate all space in the vectors. | |
Public Attributes | |
| int | npixels |
| int | nchannels |
| std::vector< TypeDesc > | channeltypes |
| std::vector< unsigned int > | nsamples |
| std::vector< void * > | pointers |
| std::vector< char > | data |
Structure to hold "deep" data – multiple samples per pixel.
| void DeepData::alloc | ( | ) |
After nsamples[] has been filled in, allocate enough scratch space for data and set up all the pointers.
| void DeepData::clear | ( | ) |
Clear the vectors and reset size to 0.
| void DeepData::free | ( | ) |
Deallocate all space in the vectors.
| void DeepData::init | ( | int | npix, |
| int | nchan, | ||
| const TypeDesc * | chbegin, | ||
| const TypeDesc * | chend | ||
| ) |
Initialize size and allocate nsamples, pointers.
1.8.2