OpendTect  6.6
Public Member Functions | Protected Attributes | List of all members
visBase::RGBImage Class Reference
Inheritance diagram for visBase::RGBImage:
[legend]

Public Member Functions

 RGBImage ()
 
 RGBImage (SbImage *)
 
void fill (unsigned char *) const
 
Color get (int, int) const
 
int getSize (bool xdir) const
 
bool hasAlpha () const
 
char nrComponents () const
 
bool set (int, int, const Color &)
 
bool setSize (int, int)
 
- Public Member Functions inherited from OD::RGBImage
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 unsigned char * getData ()
 
virtual const unsigned char * getData () const
 
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)
 

Protected Attributes

SbImage * image_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ RGBImage() [1/2]

visBase::RGBImage::RGBImage ( )

◆ RGBImage() [2/2]

visBase::RGBImage::RGBImage ( SbImage *  )

Member Function Documentation

◆ fill()

void visBase::RGBImage::fill ( unsigned char *  ) const
virtual

Reimplemented from OD::RGBImage.

◆ get()

Color visBase::RGBImage::get ( int  ,
int   
) const
virtual

Implements OD::RGBImage.

◆ getSize()

int visBase::RGBImage::getSize ( bool  xdir) const
virtual

Implements OD::RGBImage.

◆ hasAlpha()

bool visBase::RGBImage::hasAlpha ( ) const
virtual

Reimplemented from OD::RGBImage.

◆ nrComponents()

char visBase::RGBImage::nrComponents ( ) const
virtual
Return values
1grayscale
2grayscale+alpha
3rgb
4rgb+alpha

Implements OD::RGBImage.

◆ set()

bool visBase::RGBImage::set ( int  ,
int  ,
const Color  
)
virtual

Implements OD::RGBImage.

◆ setSize()

bool visBase::RGBImage::setSize ( int  ,
int   
)
virtual

Implements OD::RGBImage.

Member Data Documentation

◆ image_

SbImage* visBase::RGBImage::image_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022