![]() |
OpendTect
6.3
|
Class for Red, Green, Blue image. More...
Public Member Functions | |
| virtual | ~RGBImage () |
| virtual char | nrComponents () const =0 |
| virtual bool | hasAlpha () const |
| virtual bool | setSize (int, int)=0 |
| virtual int | getSize (bool xdir) const =0 |
| virtual Color | get (int, int) const =0 |
| virtual bool | set (int, int, const Color &)=0 |
| virtual void | clear (const Color &)=0 |
| virtual int | bufferSize () const |
| virtual void | fill (unsigned char *) const |
| virtual bool | put (const unsigned char *, bool xdir_slowest=true, bool with_opacity=false) |
| virtual bool | blendWith (const RGBImage &sourceimage, bool blendtransparency=false, unsigned char blendtransparencyval=0, bool blendequaltransparency=false, bool with_opacity=false) |
| virtual bool | putFromBitmap (const unsigned char *bitmap, const unsigned char *mask=0) |
| virtual const unsigned char * | getData () const |
| virtual unsigned char * | getData () |
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.
| blendtransparency | if true, the color will be blended by source image's color if the transparency equal to the param 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 |
|
virtual |
Reimplemented in visBase::RGBImage.
|
pure virtual |
Implemented in visBase::RGBImage.
|
inlinevirtual |
|
inlinevirtual |
|
pure virtual |
Implemented in visBase::RGBImage.
|
virtual |
Reimplemented in visBase::RGBImage.
|
pure virtual |
| 1 | grayscale |
| 2 | grayscale+alpha |
| 3 | rgb |
| 4 | rgb+alpha |
Implemented in visBase::RGBImage.
|
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 visBase::RGBImage.
|
pure virtual |
Implemented in visBase::RGBImage.
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017