OpendTect  6.3
bitmap2rgb.h
Go to the documentation of this file.
1 #pragma once
2 /*+
3 ________________________________________________________________________
4 
5  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
6  Author: Bert
7  Date: Feb 2007
8 ________________________________________________________________________
9 
10 -*/
11 
12 #include "generalmod.h"
13 #include "array2dbitmap.h"
14 
15 namespace FlatView { class Appearance; }
16 namespace Geom { template <class T> class Point2D; }
17 namespace OD { class RGBImage; }
18 
24 {
25 public:
26 
27  BitMap2RGB(const FlatView::Appearance&,OD::RGBImage&);
28  ~BitMap2RGB();
29 
30  void draw(const A2DBitMap* wva,const A2DBitMap* vd,
31  const Geom::Point2D<int>& offset,
32  bool clearexisting=true);
33 
34  OD::RGBImage& rgbArray();
35  void setRGBArray(const OD::RGBImage&);
36 
37 protected:
38 
41 
42  void drawVD(const A2DBitMap&,const Geom::Point2D<int>&);
43  void drawWVA(const A2DBitMap&,const Geom::Point2D<int>&);
44 
45 };
#define mExpClass(module)
Definition: commondefs.h:157
Draws bitmaps on RGBArray according to FlatView specs. Assumes bitmaps are 100% aligned with array...
Definition: bitmap2rgb.h:23
OD::RGBImage & array_
Definition: bitmap2rgb.h:40
OpendTect.
Definition: commontypes.h:25
Class for Red, Green, Blue image.
Definition: odimage.h:26
Flatviewer appearance.
Definition: flatview.h:276
Definition: commontypes.h:55
Definition: bitmap2rgb.h:15
const FlatView::Appearance & app_
Definition: bitmap2rgb.h:39

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