@brief return a pixel pointer, returns NULL if (x,y) is outside the image bounds x and y are in pixel coordinates If the components are custom, then this will return NULL as the support code can't know the pixel size to do the work. */
| 194 | can't know the pixel size to do the work. |
| 195 | */ |
| 196 | const void * getPixelAddress(double time, |
| 197 | int x, |
| 198 | int y) const |
| 199 | { |
| 200 | const Image* img = fetch(time, true); |
| 201 | |
| 202 | if (img) { |
| 203 | return img->getPixelAddress(x, y); |
| 204 | } |
| 205 | |
| 206 | return NULL; |
| 207 | } |
| 208 | |
| 209 | private: |
| 210 | typedef std::map<double, const Image*> ImagesMap; |
no outgoing calls