OpendTect-6_4  6.4
visrgbatexturechannel2rgba.h
Go to the documentation of this file.
1 #ifndef visrgbatexturechannel2rgba_h
2 #define visrgbatexturechannel2rgba_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: K. Tingdahl
9  Date: Oct 2008
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "visbasemod.h"
17 #include "vistexturechannel2rgba.h"
18 
19 namespace osgGeo { class RGBALayerProcess; }
20 
21 
22 namespace visBase
23 {
24 
30 {
31 public:
34 
35  const ColTab::Sequence* getSequence(int ch) const;
36  void getChannelName(int,uiString&) const;
37 
38  void swapChannels(int ch0,int ch1);
39 
40  void setEnabled(int ch,bool yn);
41  bool isEnabled(int ch) const;
42 
43  void setTransparency(unsigned char);
44  unsigned char getTransparency() const;
45 
46  void applyUndefPerChannel(bool);
47  bool isUndefPerChannel() const;
48 
49  int maxNrChannels() const { return 4; }
50  int minNrChannels() const { return 4; }
51 
52 protected:
53 
55 
56  void notifyChannelInsert(int ch);
57 
59  unsigned char proctransparency_;
60 
62 
63  osgGeo::RGBALayerProcess* proc_;
64 };
65 
66 
67 }; //namespace
68 
69 
70 #endif
#define mExpClass(module)
Definition: commondefs.h:160
static ArrPtrMan< ColTab::Sequence > sequences_
Definition: visrgbatexturechannel2rgba.h:61
A collection of geoscientific extensions to OpenSceneGraph.
Definition: visannot.h:38
int minNrChannels() const
Definition: visrgbatexturechannel2rgba.h:50
Definition: uistring.h:89
osgGeo::RGBALayerProcess * proc_
Definition: visrgbatexturechannel2rgba.h:63
Definition: vistexturechannel2rgba.h:36
unsigned char proctransparency_
Definition: visrgbatexturechannel2rgba.h:59
Definition: visannot.h:43
BoolTypeSet enabled_
Definition: visrgbatexturechannel2rgba.h:58
static RGBATextureChannel2RGBA * create()
Definition: visrgbatexturechannel2rgba.h:32
Color Table
Definition: coltab.h:22
#define mCreateDataObj(clss)
Definition: visdata.h:209
Definition: visrgbatexturechannel2rgba.h:29

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