1 #ifndef vismultiattribsurvobj_h 2 #define vismultiattribsurvobj_h 16 #include "vissurveymod.h" 22 class TextureChannels;
23 class TextureChannel2RGBA;
26 namespace ColTab {
class MapperSetup;
class Sequence; }
46 virtual int nrResolutions()
const = 0;
47 virtual void setResolution(
int,
TaskRunner*) = 0;
48 int getResolution()
const;
54 bool canHaveMultipleAttribs()
const;
55 bool canAddAttrib(
int nrattribstoadd=1)
const;
56 bool canRemoveAttrib()
const;
57 int nrAttribs()
const;
59 bool removeAttrib(
int attrib);
60 bool swapAttribs(
int attrib0,
int attrib1);
61 void setAttribTransparency(
int,
unsigned char);
62 unsigned char getAttribTransparency(
int)
const;
63 virtual void allowShading(
bool);
69 void setSelSpecs(
int attrib,
74 void enableTextureInterpolation(
bool);
75 bool textureInterpolationEnabled()
const;
78 void setAngleFlag(
int attrib,
bool yn);
79 void enableAttrib(
int attrib,
bool yn);
80 bool isAttribEnabled(
int attrib)
const;
82 int getColTabID(
int)
const;
87 void setColTabMapperSetup(
int,
90 bool canSetColTabSequence()
const;
95 int nrTextures(
int attrib)
const;
96 void selectTexture(
int attrib,
int texture );
97 int selectedTexture(
int attrib)
const;
103 {
return channels_; }
104 bool canDisplayInteractively(
113 void getValueString(
const Coord3&,
116 virtual bool getCacheValue(
int attrib,
int version,
117 const Coord3&,
float&)
const = 0;
120 void updateMainSwitch();
121 virtual void addCache() = 0;
122 virtual void removeCache(
int) = 0;
123 virtual void swapCache(
int,
int) = 0;
124 virtual void emptyCache(
int) = 0;
125 virtual bool hasCache(
int)
const = 0;
137 static const char* sKeySequence();
138 static const char* sKeyMapper();
139 static const char* sKeyResolution();
140 static const char* sKeyTextTrans();
#define mExpClass(module)
Definition: commondefs.h:160
void turnOn(int flag)
Overrides the envirnonment variable.
const char * str() const
Definition: odstring.h:48
Definition: vistexturechannels.h:50
int resolution_
Definition: vismultiattribsurvobj.h:130
Maps from [0,1] -> Color.
Definition: coltabsequence.h:37
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
Definition: vistexturechannel2rgba.h:36
Set of pointers to objects.
Definition: commontypes.h:32
virtual bool canBDispOn2DViewer() const
Definition: vismultiattribsurvobj.h:101
VisualObjectImpl
Definition: visobject.h:128
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
bool isOn(int flag=0xffff)
Class that can execute a task.
Definition: task.h:169
bool canHaveMultipleTextures() const
Definition: vismultiattribsurvobj.h:94
bool onoffstatus_
Definition: vismultiattribsurvobj.h:135
bool enabletextureinterp_
Definition: vismultiattribsurvobj.h:134
Setup class for colortable Mapper.
Definition: coltabmapper.h:35
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
A cartesian coordinate in 3D space.
Definition: coord.h:72
Definition: vismultiattribsurvobj.h:36
visBase::TextureChannels * channels_
Definition: vismultiattribsurvobj.h:128
Index_Type GeomID
Definition: commontypes.h:52
Definition: visannot.h:43
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
bool canEnableTextureInterpolation() const
Definition: vismultiattribsurvobj.h:102
BufferString errmsg_
Definition: horizontracker.h:119
Base class for all 'Display' objects.
Definition: vissurvobj.h:58
Color Table
Definition: coltab.h:22
Specifies an attribute selection (ID or output number of NN).
Definition: attribsel.h:45
const char * errMsg() const
Definition: vismultiattribsurvobj.h:107
visBase::TextureChannels * getChannels() const
Definition: vismultiattribsurvobj.h:52
ObjectSet< TypeSet< Attrib::SelSpec > > as_
Definition: vismultiattribsurvobj.h:133