 |
OpendTect
6.6
|
Go to the documentation of this file.
15 #include "visbasemod.h"
21 namespace osgGeo {
class LayeredTexture; }
22 namespace ColTab {
class Mapper;
class MapperSetup; };
26 class MappedTextureDataSet;
27 class TextureChannel2RGBA;
51 class TextureCallbackHandler;
60 int nrChannels() const;
62 int insertChannel(
int);
63 void removeChannel(
int);
64 void swapChannels(
int,
int);
66 void setColTabMapperSetup(
int channel,
67 const
ColTab::MapperSetup&);
69 const
ColTab::MapperSetup& getColTabMapperSetup(
int channel,
71 const
ColTab::Mapper& getColTabMapper(
int channel,
int version) const;
72 void reMapData(
int channel,
bool dontreclip,
74 const
TypeSet<
float>* getHistogram(
int channel) const;
76 void setSize(
int channel,
int sz0,
int sz1,
int sz2);
77 int getSize(
int channel,
unsigned char dim) const;
79 void setOrigin(
int channel,const
Coord& origin);
80 const
Coord& getOrigin(
int channel) const;
81 void setScale(
int channel,const
Coord& scale);
82 const
Coord& getScale(
int channel) const;
84 void setNrComponents(
int channel,
int nrcomp);
85 int getNrComponents(
int channel) const;
87 void setNrVersions(
int channel,
int nrvers);
88 int nrVersions(
int channel) const;
89 int currentVersion(
int channel) const;
90 void setCurrentVersion(
int channel,
int version);
92 bool isCurrentDataPremapped(
int channel) const;
94 bool setUnMappedVSData(
int channel,
int version,
97 bool setUnMappedData(
int channel,
int version,
100 bool setMappedData(
int channel,
int version,
102 void unfreezeOldData(
int channel);
108 const SbImagei32* getChannels() const;
109 void touchMappedData();
111 osgGeo::LayeredTexture* getOsgTexture() {
return osgtexture_; }
124 {
return nrDataBands() + nrUdfBands(); }
128 friend class ChannelInfo;
129 void update(
int channel,
bool freezeifnodata=
true);
Interface to a series of values.
Definition: odmemory.h:16
bool interpolatetexture_
Definition: vistexturechannels.h:138
void update(ChannelInfo *)
Definition: vistexturechannel2rgba.h:36
static TextureChannels * create()
Definition: vistexturechannels.h:54
osgGeo::LayeredTexture * osgtexture_
Definition: vistexturechannels.h:137
Color Table
Definition: coltab.h:22
Definition: visannot.h:43
OpendTect.
Definition: commontypes.h:28
#define mExpClass(module)
Definition: commondefs.h:177
unsigned char nrTextureBands() const
Definition: vistexturechannels.h:123
DataObject is the base class off all objects that are used in Visualization and ought to be shared in...
Definition: visdata.h:63
int getNonShaderResolution() const
StepInterval< float > getEnvelopeRange(unsigned char dim) const
A cartesian coordinate in 2D space.
Definition: coord.h:25
Definition: vistexturechannels.h:50
TextureChannel2RGBA * tc2rgba_
Definition: vistexturechannels.h:136
const TypeSet< int > * getOsgIDs(int channel) const
void setNonShaderResolution(int)
Class that can execute a task.
Definition: task.h:170
void turnOn(int flag)
Overrides the envirnonment variable.
bool isOn(int flag=0xffff)
ObjectSet< ChannelInfo > channelinfo_
Definition: vistexturechannels.h:134
unsigned char nrUdfBands() const
Definition: vistexturechannels.h:122
unsigned char nrDataBands() const
A collection of geoscientific extensions to OpenSceneGraph.
Definition: visannot.h:38
#define mCreateDataObj(clss)
Definition: visdata.h:214
TextureCallbackHandler * texturecallbackhandler_
Definition: vistexturechannels.h:133
PtrPolicy
Definition: odmemory.h:21
void update(int channel, bool freezeifnodata=true)
const osgGeo::LayeredTexture * getOsgTexture() const
Definition: vistexturechannels.h:112
void enableTextureInterpolation(bool)
Sets of (small) copyable elements.
Definition: commontypes.h:29
bool textureInterpolationEnabled() const
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021