OpendTect  6.6
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  RCS: $Id$
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "generalmod.h"
14 #include "array2dbitmap.h"
15 
16 class HistEqualizer;
17 namespace FlatView { class Appearance; }
18 namespace Geom { template <class T> class Point2D; }
19 namespace OD { class RGBImage; }
20 
27 {
28 public:
29 
32 
33  void draw(const A2DBitMap* wva,const A2DBitMap* vd,
34  const Geom::Point2D<int>& offset,
35  bool clearexisting=true);
36 
38  void setRGBArray(const OD::RGBImage&);
39  void setClipperData(const TypeSet<float>& clipdata);
40 
41 protected:
42 
47 
48  void drawVD(const A2DBitMap&,const Geom::Point2D<int>&);
49  void drawWVA(const A2DBitMap&,const Geom::Point2D<int>&);
50 };
51 
BitMap2RGB::~BitMap2RGB
~BitMap2RGB()
BitMap2RGB::app_
const FlatView::Appearance & app_
Definition: bitmap2rgb.h:43
BitMap2RGB
Draws bitmaps on RGBArray according to FlatView specs. Assumes bitmaps are 100% aligned with array,...
Definition: bitmap2rgb.h:27
OD
OpendTect.
Definition: commontypes.h:28
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
HistEqualizer
Class to do histogram equalization of datasets.
Definition: histequalizer.h:24
BitMap2RGB::draw
void draw(const A2DBitMap *wva, const A2DBitMap *vd, const Geom::Point2D< int > &offset, bool clearexisting=true)
OD::RGBImage
Class for Red, Green, Blue image.
Definition: odimage.h:28
FlatView
Definition: bitmap2rgb.h:17
BitMap2RGB::clipperdata_
TypeSet< float > & clipperdata_
Definition: bitmap2rgb.h:46
FlatView::Appearance
Flatviewer appearance.
Definition: flatview.h:295
BitMap2RGB::setRGBArray
void setRGBArray(const OD::RGBImage &)
BitMap2RGB::drawVD
void drawVD(const A2DBitMap &, const Geom::Point2D< int > &)
BitMap2RGB::setClipperData
void setClipperData(const TypeSet< float > &clipdata)
Geom
Definition: geometry.h:19
Geom::Point2D< int >
BitMap2RGB::drawWVA
void drawWVA(const A2DBitMap &, const Geom::Point2D< int > &)
BitMap2RGB::BitMap2RGB
BitMap2RGB(const FlatView::Appearance &, OD::RGBImage &)
BitMap2RGB::array_
OD::RGBImage & array_
Definition: bitmap2rgb.h:44
BitMap2RGB::rgbArray
OD::RGBImage & rgbArray()
BitMap2RGB::histequalizer_
HistEqualizer * histequalizer_
Definition: bitmap2rgb.h:45
Array2D< char >
TypeSet< float >
array2dbitmap.h

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