OpendTect  7.0
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_ = nullptr
 
A2DBitMapInpDatadata_ = nullptr
 
WeakPtr< FlatDataPackdatapack_
 
A2DBitMapGeneratorgen_ = nullptr
 
Threads::Lock lock_
 
A2DBitMapPosSetuppos_ = nullptr
 
Geom::Size2D< int > sz_
 
Geom::PosRectangle< double > wr_
 
bool wva_ = false
 

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_ = nullptr
private

◆ data_

A2DBitMapInpData* BitMapMgr::data_ = nullptr
private

◆ datapack_

WeakPtr<FlatDataPack> BitMapMgr::datapack_
private

◆ gen_

A2DBitMapGenerator* BitMapMgr::gen_ = nullptr
private

◆ lock_

Threads::Lock BitMapMgr::lock_
mutableprivate

◆ pos_

A2DBitMapPosSetup* BitMapMgr::pos_ = nullptr
private

◆ sz_

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

◆ wr_

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

◆ wva_

bool BitMapMgr::wva_ = false
private

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