#include <ofxsImageEffect.h>
Public Member Functions | |
| Image (OfxPropertySetHandle props) | |
| ctor | |
| virtual | ~Image () |
| dtor | |
| const PropertySet & | getPropertySet () const |
| PropertySet & | getPropertySet () |
| BitDepthEnum | getPixelDepth (void) const |
| get the pixel depth | |
| PixelComponentEnum | getPixelComponents (void) const |
| get the components in the image | |
| std::string | getPixelComponentsProperty (void) const |
| get the string representing the pixel components | |
| PreMultiplicationEnum | getPreMultiplication (void) const |
| premultiplication on the image | |
| OfxPointD | getRenderScale (void) const |
| get the scale factor that has been applied to this image | |
| double | getPixelAspectRatio (void) const |
| get the scale factor that has been applied to this image | |
| void * | getPixelData (void) const |
| get the pixel data for this image | |
| OfxRectI | getRegionOfDefinition (void) const |
| get the region of definition (in pixel coordinates) of this image | |
| OfxRectI | getBounds (void) const |
| get the bounds on the image data (in pixel coordinates) of this image | |
| int | getRowBytes (void) const |
| get the row bytes, may be negative | |
| FieldEnum | getField (void) const |
| get the fielding of this image | |
| std::string | getUniqueIdentifier (void) const |
| the unique ID of this image | |
| void * | getPixelAddress (int x, int y) |
| return a pixel pointer | |
Protected Attributes | |
| PropertySet | _imageProps |
| the handle that holds this image | |
| void * | _pixelData |
| the base address of the image | |
| PixelComponentEnum | _pixelComponents |
| get the components in the image | |
| int | _rowBytes |
| the number of bytes per scanline | |
| int | _pixelBytes |
| the number of bytes per pixel | |
| BitDepthEnum | _pixelDepth |
| get the pixel depth | |
| PreMultiplicationEnum | _preMultiplication |
| premultiplication on the image | |
| OfxRectI | _regionOfDefinition |
| the RoD in pixel coordinates, this may be more or less than the bounds! | |
| OfxRectI | _bounds |
| the bounds on the pixel data | |
| double | _pixelAspectRatio |
| the pixel aspect ratio | |
| FieldEnum | _field |
| which field this represents | |
| std::string | _uniqueID |
| the unique ID of this image | |
| OfxPointD | _renderScale |
| any scaling factor applied to the image | |
Friends | |
| class | Clip |
| friend so we get access to ctor | |
|
|
ctor
|
|
|
dtor
|
|
|
get the bounds on the image data (in pixel coordinates) of this image
|
|
|
get the fielding of this image
|
|
||||||||||||
|
return a pixel pointer 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. |
|
|
get the scale factor that has been applied to this image
|
|
|
get the components in the image
|
|
|
get the string representing the pixel components
|
|
|
get the pixel data for this image
|
|
|
get the pixel depth
|
|
|
premultiplication on the image
|
|
|
|
|
|
|
|
|
get the region of definition (in pixel coordinates) of this image
|
|
|
get the scale factor that has been applied to this image
|
|
|
get the row bytes, may be negative
|
|
|
the unique ID of this image
|
|
|
friend so we get access to ctor
|
|
|
the bounds on the pixel data
|
|
|
which field this represents
|
|
|
the handle that holds this image
|
|
|
the pixel aspect ratio
|
|
|
the number of bytes per pixel
|
|
|
get the components in the image
|
|
|
the base address of the image
|
|
|
get the pixel depth
|
|
|
premultiplication on the image
|
|
|
the RoD in pixel coordinates, this may be more or less than the bounds!
|
|
|
any scaling factor applied to the image
|
|
|
the number of bytes per scanline
|
|
|
the unique ID of this image
|
1.3.9.1