OpendTect  6.6
Public Member Functions | Private Member Functions | Private Attributes | List of all members
BitMapMgr Class Reference

Manages bitmaps. More...

Public Member Functions

 BitMapMgr ()
 
 ~BitMapMgr ()
 
const A2DBitMapbitMap () const
 
A2DBitMapGeneratorbitMapGen ()
 
const A2DBitMapGeneratorbitMapGen () const
 
void clearAll ()
 
Geom::Point2D< int > dataOffs (const Geom::PosRectangle< double > &, const Geom::Size2D< int > &) const
 Returns mUdf(int)'s when outside or incompatible. More...
 
bool generate (const Geom::PosRectangle< double > &wr, const Geom::Size2D< int > &bufwrsz, const Geom::Size2D< int > &availpixels)
 fails only when isufficient memory More...
 
void init (const FlatDataPack *, const FlatView::Appearance &, bool wva)
 

Private Member Functions

void setup ()
 

Private Attributes

FlatView::Appearanceappearance_
 
A2DBitMapbmp_
 
A2DBitMapInpDatadata_
 
ConstDataPackRef< FlatDataPackdatapack_
 
A2DBitMapGeneratorgen_
 
Threads::Lock lock_
 
A2DBitMapPosSetuppos_
 
Geom::Size2D< int > sz_
 
Geom::PosRectangle< double > wr_
 
bool wva_
 

Detailed Description

Manages bitmaps.

<>

Constructor & Destructor Documentation

◆ BitMapMgr()

BitMapMgr::BitMapMgr ( )

◆ ~BitMapMgr()

BitMapMgr::~BitMapMgr ( )

Member Function Documentation

◆ bitMap()

const A2DBitMap* BitMapMgr::bitMap ( ) const
inline

◆ bitMapGen() [1/2]

A2DBitMapGenerator* BitMapMgr::bitMapGen ( )
inline

◆ bitMapGen() [2/2]

const A2DBitMapGenerator* BitMapMgr::bitMapGen ( ) const
inline

◆ clearAll()

void BitMapMgr::clearAll ( )

◆ dataOffs()

Geom::Point2D<int> BitMapMgr::dataOffs ( const Geom::PosRectangle< double > &  ,
const Geom::Size2D< int > &   
) const

Returns mUdf(int)'s when outside or incompatible.

◆ generate()

bool BitMapMgr::generate ( const Geom::PosRectangle< double > &  wr,
const Geom::Size2D< int > &  bufwrsz,
const Geom::Size2D< int > &  availpixels 
)

fails only when isufficient memory

◆ init()

void BitMapMgr::init ( const FlatDataPack ,
const FlatView::Appearance ,
bool  wva 
)

◆ setup()

void BitMapMgr::setup ( )
private

Member Data Documentation

◆ appearance_

FlatView::Appearance& BitMapMgr::appearance_
private

◆ bmp_

A2DBitMap* BitMapMgr::bmp_
private

◆ data_

A2DBitMapInpData* BitMapMgr::data_
private

◆ datapack_

ConstDataPackRef<FlatDataPack> BitMapMgr::datapack_
private

◆ gen_

A2DBitMapGenerator* BitMapMgr::gen_
private

◆ lock_

Threads::Lock BitMapMgr::lock_
mutableprivate

◆ pos_

A2DBitMapPosSetup* BitMapMgr::pos_
private

◆ sz_

Geom::Size2D<int> BitMapMgr::sz_
private

◆ wr_

Geom::PosRectangle<double> BitMapMgr::wr_
private

◆ wva_

bool BitMapMgr::wva_
private

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