OpendTect
7.0
|
Manages bitmaps. More...
Public Member Functions | |
BitMapMgr () | |
~BitMapMgr () | |
const A2DBitMap * | bitMap () const |
A2DBitMapGenerator * | bitMapGen () |
const A2DBitMapGenerator * | bitMapGen () 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::Appearance & | appearance_ |
A2DBitMap * | bmp_ = nullptr |
A2DBitMapInpData * | data_ = nullptr |
WeakPtr< FlatDataPack > | datapack_ |
A2DBitMapGenerator * | gen_ = nullptr |
Threads::Lock | lock_ |
A2DBitMapPosSetup * | pos_ = nullptr |
Geom::Size2D< int > | sz_ |
Geom::PosRectangle< double > | wr_ |
bool | wva_ = false |
Manages bitmaps.
<>
BitMapMgr::BitMapMgr | ( | ) |
BitMapMgr::~BitMapMgr | ( | ) |
|
inline |
|
inline |
|
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 | ||
) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
mutableprivate |
|
private |
|
private |
|
private |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024