OpendTect
7.0
|
Class for Red, Green, Blue image. More...
Public Member Functions | |
virtual | ~RGBImage () |
virtual bool | blendWith (const RGBImage &sourceimage, bool blendtransparency=false, unsigned char blendtransparencyval=0, bool blendequaltransparency=false, bool with_opacity=false) |
virtual int | bufferSize () const |
virtual void | clear (const Color &)=0 |
virtual void | fill (unsigned char *) const |
virtual Color | get (int, int) const =0 |
virtual unsigned char * | getData () |
virtual const unsigned char * | getData () const |
virtual int | getSize (bool xdir) const =0 |
virtual bool | hasAlpha () const |
virtual char | nrComponents () const =0 |
virtual bool | put (const unsigned char *, bool xdir_slowest=true, bool with_opacity=false) |
virtual bool | putFromBitmap (const unsigned char *bitmap, const unsigned char *mask=0) |
virtual bool | set (int, int, const Color &)=0 |
virtual bool | setSize (int, int)=0 |
Class for Red, Green, Blue image.
<>
|
inlinevirtual |
|
virtual |
Fills image with data from array.param xdir_slowest False if ydir is the slowest dimension, param with_opacity If true, eventual 4th component will be treated as a opacity instead of a transparency. Blends image with another image of same size. The provided images' transparency will be used to blend the two images proportionally.
sourceimage | |
blendtransparency | if true, the color will be blended by source image's color if the transparency equal to the param blendtransparencyval. |
blendtransparencyval | |
blendequaltransparency | if false,the color will be not blended when sourceimage has same transparency as this image has. |
with_opacity | if true,eventual 4th component will be treated as a opacity instead of a transparency. |
|
virtual |
|
pure virtual |
Implemented in uiRGBArray.
|
virtual |
|
pure virtual |
Implemented in uiRGBArray.
|
inlinevirtual |
Reimplemented in uiRGBArray.
|
inlinevirtual |
Reimplemented in uiRGBArray.
|
pure virtual |
Implemented in uiRGBArray.
|
virtual |
|
pure virtual |
1 | grayscale |
2 | grayscale+alpha |
3 | rgb |
4 | rgb+alpha |
Implemented in uiRGBArray.
|
virtual |
Fills array with content. Each pixel's components are the fastest dimension, slowest is xdir. Caller must ensure sufficient mem is allocated.
|
virtual |
|
pure virtual |
Implemented in uiRGBArray.
|
pure virtual |
Implemented in uiRGBArray.
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024