1 #ifndef vishorizondisplay_h 2 #define vishorizondisplay_h 16 #include "vissurveymod.h" 23 namespace ColTab{
class Sequence;
class MapperSetup; }
27 class HorizonTextureHandler;
30 class TextureChannel2RGBA;
41 friend class HorizonPathIntersector;
50 void setDisplayTransformation(
const mVisTrans*);
53 void enableTextureInterpolation(
bool);
55 {
return enabletextureinterp_; }
73 void useTexture(
bool yn,
bool trigger=
false);
74 bool usesTexture()
const;
75 bool showsTexture()
const;
76 bool canShowTexture()
const;
78 void setOnlyAtSectionsDisplay(
bool yn);
79 bool displayedOnlyAtSections()
const;
81 void displaySurfaceData(
int attrib,
int auxdatanr);
83 virtual bool canHaveMultipleAttribs()
const;
84 virtual int nrTextures(
int attrib)
const;
85 virtual void selectTexture(
int attrib,
int textureidx);
86 virtual int selectedTexture(
int attrib)
const;
92 int nrAttribs()
const;
94 bool canAddAttrib(
int nrattribstoadd=1)
const;
95 bool removeAttrib(
int attrib);
96 bool canRemoveAttrib()
const;
97 bool swapAttribs(
int attrib0,
int attrib1);
98 void setAttribTransparency(
int,
unsigned char);
99 unsigned char getAttribTransparency(
int)
const;
100 void enableAttrib(
int attrib,
bool yn);
101 bool isAttribEnabled(
int attrib)
const;
103 Color singleColor()
const;
105 void allowShading(
bool);
110 void setSelSpecs(
int attrib,
112 void setDepthAsAttrib(
int);
113 void setDisplayDataPackIDs(
int attrib,
122 bool usesColor()
const;
134 bool hasStoredAttrib(
int attrib)
const;
135 bool hasDepth(
int attrib)
const;
137 int nrResolutions()
const;
139 int getResolution()
const;
140 bool displaysSurfaceGrid()
const;
141 void displaysSurfaceGrid(
bool);
148 {
return EMObjectDisplay::getMousePosInfo(e,i);}
153 float calcDist(
const Coord3&)
const;
154 float maxDist()
const;
157 bool canSetColTabSequence()
const;
158 void setColTabSequence(
int attr,
161 void setColTabMapperSetup(
int attr,
165 Coord3 getTranslation()
const;
166 void setTranslation(
const Coord3&);
178 void setAttribShift(
int channel,
185 void displayIntersectionLines(
bool);
186 bool displaysIntersectionLines()
const;
191 void doOtherObjectsMoved(
194 virtual void setPixelDensity(
float);
196 void setSectionDisplayRestore(
bool);
199 void selectParent(
const TrcKey&);
200 void selectChildren(
const TrcKey&);
201 void selectChildren();
202 void showParentLine(
bool);
203 void showSelections(
bool);
204 void showLocked(
bool);
205 bool lockedShown()
const;
206 virtual void clearSelections();
207 void updateAuxData();
208 virtual bool canBeRemoved()
const;
212 void removeEMStuff();
215 void createDisplayDataPacks(
222 int getChannelIndex(
const char* nm)
const;
223 void updateIntersectionLines(
226 void updateSectionSeeds(
229 void otherObjectsMoved(
232 void updateSingleColor();
234 void calculateLockedPoints();
235 void initSelectionDisplay(
bool erase);
236 virtual void updateSelections();
238 void updateLockedPointsColor();
255 void setPixelDensity(
float);
256 void setDisplayTransformation(
const mVisTrans*);
287 bool isValidIntersectionObject(
289 int& objidx,
int objid)
const;
334 static const char* sKeyTexture();
335 static const char* sKeyShift();
336 static const char* sKeyResolution();
337 static const char* sKeyRowRange();
338 static const char* sKeyColRange();
339 static const char* sKeyIntersectLineMaterialID();
340 static const char* sKeySurfaceGrid();
341 static const char* sKeySectionID();
342 static const char* sKeyZValues();
Definition: visobject.h:37
bool usestexture_
Definition: vishorizondisplay.h:312
od_int16 SectionID
Definition: emposid.h:25
#define mExpClass(module)
Definition: commondefs.h:160
od_int32 ObjectID
Definition: emposid.h:24
bool showlock_
Definition: vishorizondisplay.h:332
TypeSet< EM::SectionID > getSectionIDs() const
Definition: vishorizondisplay.h:71
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Definition: vishorizonsection.h:51
ZAxisTransform * zaxistransform_
Definition: vishorizondisplay.h:267
int voiid_
Definition: vishorizondisplay.h:268
Definition: visemobjdisplay.h:69
Set of data points with group selection.
Definition: datapointset.h:48
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Export_Basic uiString toUiString(ViewStyle)
Maps from [0,1] -> Color.
Definition: coltabsequence.h:37
ObjectSet< visBase::HorizonTextureHandler > oldhortexhandlers_
Definition: vishorizondisplay.h:330
Is an identifier for each position in the earthmodel.
Definition: emposid.h:37
bool hasSingleColorFallback() const
Definition: vishorizondisplay.h:102
bool enabletextureinterp_
Definition: vishorizondisplay.h:310
TypeSet< BufferString > secnames_
Definition: vishorizondisplay.h:245
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
ObjectSet< TypeSet< Attrib::SelSpec > > as_
Definition: vishorizondisplay.h:318
Definition: vispointset.h:26
ObjectSet< visBase::HorizonSection > sections_
Definition: vishorizondisplay.h:244
int ID
Each Mgr has its own ID.
Definition: datapack.h:147
ObjectSet< TypeSet< float > > shifts_
Definition: vishorizondisplay.h:322
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:289
visBase::Material * intersectionlinematerial_
Definition: vishorizondisplay.h:298
BoolTypeSet enabled_
Definition: vishorizondisplay.h:320
TypeSet< ColTab::Sequence > coltabsequences_
Definition: vishorizondisplay.h:309
int ID
Definition: datapack.h:38
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
bool allowshading_
Definition: vishorizondisplay.h:240
static ID FlatID()
Flat (N1xN2) data: 4.
Definition: vistexturechannel2rgba.h:36
visBase::PointSet * selections_
Definition: vishorizondisplay.h:300
ManagedObjectSet< IntersectionData > intersectiondata_
Definition: vishorizondisplay.h:294
visBase::VertexShape * parentline_
Definition: vishorizondisplay.h:303
bool displayintersectionlines_
Definition: vishorizondisplay.h:316
Set of pointers to objects.
Definition: commontypes.h:32
int curtextureidx_
Definition: vishorizondisplay.h:314
Definition: commontypes.h:39
bool isVerticalPlane() const
Definition: vishorizondisplay.h:176
TypeSet< StepInterval< int > > olddisplayedcolranges_
Definition: vishorizondisplay.h:328
Definition: vishorizondisplay.h:38
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
StepInterval< int > parrowrg_
Definition: vishorizondisplay.h:305
Class that can execute a task.
Definition: task.h:169
bool canEnableTextureInterpolation() const
Definition: vishorizondisplay.h:56
char resolution_
Definition: vishorizondisplay.h:313
#define mVisTrans
Definition: visdata.h:31
TypeSet< EM::SectionID > sids_
Definition: vishorizondisplay.h:246
TypeSet< int > curshiftidx_
Definition: vishorizondisplay.h:321
bool validtexture_
Definition: vishorizondisplay.h:323
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
Pol2D3D
Definition: commontypes.h:39
bool allowMaterialEdit() const
Definition: vishorizondisplay.h:120
Definition: vismaterial.h:37
Pol2D3D getAllowedDataType() const
Definition: vishorizondisplay.h:89
Coord3 translationpos_
Definition: vishorizondisplay.h:242
mVisTrans * translation_
Definition: vishorizondisplay.h:241
bool allowsPicks() const
Definition: vishorizondisplay.h:145
Setup class for colortable Mapper.
Definition: coltabmapper.h:35
float maxintersectionlinethickness_
Definition: vishorizondisplay.h:297
bool canBDispOn2DViewer() const
Definition: vishorizondisplay.h:175
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
bool hasColor() const
Definition: vishorizondisplay.h:121
visBase::VertexShape * line_
Definition: vishorizondisplay.h:265
bool textureInterpolationEnabled() const
Definition: vishorizondisplay.h:54
void getMousePosInfo(const visBase::EventInfo &e, IOPar &i) const
Definition: vishorizondisplay.h:146
Definition: visannot.h:43
StepInterval< int > parcolrg_
Definition: vishorizondisplay.h:306
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
visBase::PointSet * sectionlockedpts_
Definition: vishorizondisplay.h:302
bool displaysurfacegrid_
Definition: vishorizondisplay.h:324
int objid_
Definition: vishorizondisplay.h:269
TypeSet< ColTab::MapperSetup > coltabmappersetups_
Definition: vishorizondisplay.h:308
Is a lock that allows a thread to have exlusive rights to something.
Definition: thread.h:43
EM object callback data.
Definition: emobject.h:46
Base class for all 'Display' objects.
Definition: vissurvobj.h:58
Definition: visevent.h:44
AttribFormat
Definition: vissurvobj.h:175
Color Table
Definition: coltab.h:22
Specifies an attribute selection (ID or output number of NN).
Definition: attribsel.h:45
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
Definition: vishorizondisplay.h:248
visBase::PointSet * lockedpts_
Definition: vishorizondisplay.h:301
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:28
TypeSet< EM::SectionID > oldsectionids_
Definition: vishorizondisplay.h:326
TypeSet< StepInterval< int > > olddisplayedrowranges_
Definition: vishorizondisplay.h:327
Definition: visshape.h:83
ObjectSet where the objects contained are owned by this set.
Definition: manobjectset.h:23
virtual DataPackMgr::ID getDataPackMgrID() const
Definition: vishorizondisplay.h:117
MarkerSet is a set of basic pickmarker with a constant size on screen. Size and shape are settable...
Definition: vismarkerset.h:36
Threads::Mutex * locker_
Definition: vishorizondisplay.h:331
Definition: visevent.h:87
visBase::MarkerSet * markerset_
Definition: vishorizondisplay.h:266
Compound key consisting of ints.
Definition: multiid.h:25
ObjectSet< TypeSet< DataPack::ID > > dispdatapackids_
Definition: vishorizondisplay.h:319