OpendTect-6_4  6.4
Public Member Functions | Private Member Functions | Private Attributes | List of all members
BitMapMgr Class Reference

Manages bitmaps. More...

Public Member Functions

 BitMapMgr ()
 
 ~BitMapMgr ()
 
void init (const FlatDataPack *, const FlatView::Appearance &, bool wva)
 
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...
 
const A2DBitMapbitMap () const
 
const A2DBitMapGeneratorbitMapGen () const
 
A2DBitMapGeneratorbitMapGen ()
 

Private Member Functions

void setup ()
 

Private Attributes

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

Detailed Description

Manages bitmaps.

Constructor & Destructor Documentation

BitMapMgr::BitMapMgr ( )
BitMapMgr::~BitMapMgr ( )

Member Function Documentation

const A2DBitMap* BitMapMgr::bitMap ( ) const
inline
const A2DBitMapGenerator* BitMapMgr::bitMapGen ( ) const
inline
A2DBitMapGenerator* BitMapMgr::bitMapGen ( )
inline
void BitMapMgr::clearAll ( )
Geom::Point2D<int> BitMapMgr::dataOffs ( const Geom::PosRectangle< double > &  ,
const Geom::Size2D< int > &   
) const

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

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

fails only when isufficient memory

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

Member Data Documentation

FlatView::Appearance& BitMapMgr::appearance_
private
A2DBitMap* BitMapMgr::bmp_
private
A2DBitMapInpData* BitMapMgr::data_
private
ConstDataPackRef<FlatDataPack> BitMapMgr::datapack_
private
A2DBitMapGenerator* BitMapMgr::gen_
private
Threads::Lock BitMapMgr::lock_
mutableprivate
A2DBitMapPosSetup* BitMapMgr::pos_
private
Geom::Size2D<int> BitMapMgr::sz_
private
Geom::PosRectangle<double> BitMapMgr::wr_
private
bool BitMapMgr::wva_
private

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