OpendTect-6_4  6.4
bitmap2rgb.h
Go to the documentation of this file.
1 #ifndef bitmap2rgb_h
2 #define bitmap2rgb_h
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Bert
8  Date: Feb 2007
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "generalmod.h"
15 #include "array2dbitmap.h"
16 
17 class HistEqualizer;
18 namespace FlatView { class Appearance; }
19 namespace Geom { template <class T> class Point2D; }
20 namespace OD { class RGBImage; }
21 
28 {
29 public:
30 
31  BitMap2RGB(const FlatView::Appearance&,OD::RGBImage&);
32  ~BitMap2RGB();
33 
34  void draw(const A2DBitMap* wva,const A2DBitMap* vd,
35  const Geom::Point2D<int>& offset,
36  bool clearexisting=true);
37 
38  OD::RGBImage& rgbArray();
39  void setRGBArray(const OD::RGBImage&);
40  void setClipperData(const TypeSet<float>& clipdata);
41 
42 protected:
43 
48 
49  void drawVD(const A2DBitMap&,const Geom::Point2D<int>&);
50  void drawWVA(const A2DBitMap&,const Geom::Point2D<int>&);
51 };
52 
53 #endif
#define mExpClass(module)
Definition: commondefs.h:160
HistEqualizer * histequalizer_
Definition: bitmap2rgb.h:46
TypeSet< float > & clipperdata_
Definition: bitmap2rgb.h:47
Class to do histogram equalization of datasets.
Definition: histequalizer.h:24
Draws bitmaps on RGBArray according to FlatView specs. Assumes bitmaps are 100% aligned with array...
Definition: bitmap2rgb.h:27
OD::RGBImage & array_
Definition: bitmap2rgb.h:45
OpendTect.
Definition: commontypes.h:29
Class for Red, Green, Blue image.
Definition: odimage.h:28
Flatviewer appearance.
Definition: flatview.h:270
Definition: geometry.h:19
Definition: bitmap2rgb.h:18
const FlatView::Appearance & app_
Definition: bitmap2rgb.h:44

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