1 #ifndef visseis2ddisplay_h 2 #define visseis2ddisplay_h 17 #include "vissurveymod.h" 30 class TexturePanelStrip;
50 const char* getLineName()
const;
78 Color getColor()
const;
83 void enableAttrib(
int attrib,
bool yn);
86 void showPanel(
bool yn);
87 bool isPanelShown()
const;
88 void showPolyLine(
bool yn);
89 bool isPolyLineShown()
const;
90 void showLineName(
bool yn);
91 bool isLineNameShown()
const;
96 void setDisplayTransformation(
const mVisTrans*);
97 const mVisTrans* getDisplayTransformation()
const;
99 void setPixelDensity(
float);
102 float calcDist(
const Coord3&)
const;
104 int nrResolutions()
const;
108 {
return getTrcKeyZSampling(
false, attrib ); }
110 int attrib=-1)
const;
119 void snapToTracePos(
Coord3&)
const;
120 int getNearestTraceNr(
const Coord3&)
const;
123 bool usemaxrange)
const;
124 float getNearestSegment(
const Coord3& pos,
125 bool usemaxrange,
int& trcnr1st,
126 int& trcnr2nd,
float& frac )
const;
129 int* nearestpanelidx=0);
130 void getLineSegmentProjection(
134 Coord getCoord(
int trcnr)
const;
136 {
return SurveyObject::getNormal( c ); }
137 Coord getNormal(
int trcnr)
const;
142 void clearTexture(
int);
144 virtual void setAnnotColor(
Color);
145 virtual Color getAnnotColor()
const;
148 {
return &geomchanged_; }
150 {
return &geomidchanged_; }
155 virtual void annotateNextUpdateStage(
bool yn);
160 {
return panelstrip_; }
165 virtual void addCache();
166 void removeCache(
int);
167 void swapCache(
int,
int);
168 void emptyCache(
int);
169 bool hasCache(
int)
const;
170 bool getCacheValue(
int attrib,
int version,
171 const Coord3&,
float&)
const;
175 void updatePanelStripPath();
179 void updatePanelStripZRange();
181 void updateLineNamePos();
182 void updateTexOriginAndScale(
int attrib,
185 void createTransformedDataPack(
int attrib,
187 bool getNearestTrace(
const Coord3&,
int& idx,
188 float& sqdist)
const;
190 void updateRanges(
bool trc,
bool z);
234 static const char* sKeyLineSetID();
235 static const char* sKeyTrcNrRange();
236 static const char* sKeyZRange();
237 static const char* sKeyShowLineName();
238 static const char* sKeyShowPanel();
239 static const char* sKeyShowPolyLine();
242 static const char* sKeyTextureID();
MultiID getMultiID() const
Definition: visseis2ddisplay.h:246
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
TypeSet< Coord > alltrcpos_
Definition: visseis2ddisplay.h:207
Notifier< Seis2DDisplay > geomidchanged_
Definition: visseis2ddisplay.h:220
Pol2D3D getAllowedDataType() const
Definition: visseis2ddisplay.h:111
bool canDuplicate() const
Definition: visseis2ddisplay.h:93
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Export_Basic uiString toUiString(ViewStyle)
Interface class for Notifier. See comments there.
Definition: callback.h:161
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
Definition: visdrawstyle.h:33
int ID
Each Mgr has its own ID.
Definition: datapack.h:147
StepInterval< float > zrg_
Definition: visseis2ddisplay.h:211
float pixeldensity_
Definition: visseis2ddisplay.h:225
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:289
const mVisTrans * transformation_
Definition: visseis2ddisplay.h:217
StepInterval< int > maxtrcnrrg_
Definition: visseis2ddisplay.h:215
Position info for a 2D line.
Definition: posinfo2d.h:65
static ID SeisID()
Cube/Block (N1xN2xN3) data: 3.
A TexturePanelStrip is geometrically invariant in the z-direction. Its serially connected panels are ...
Definition: vistexturepanelstrip.h:34
TypeSet< DataPack::ID > datapackids_
Definition: visseis2ddisplay.h:198
A cartesian coordinate in 2D space.
Definition: coord.h:25
int voiidx_
Definition: visseis2ddisplay.h:224
int ID
Definition: datapack.h:38
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
float oldtrcrgstart_
Definition: visseis2ddisplay.h:229
bool hasSingleColorFallback() const
Definition: visseis2ddisplay.h:84
Interval< int > rg_
Definition: visseis2ddisplay.h:209
visBase::PolyLine * polyline_
Definition: visseis2ddisplay.h:194
visBase::Text2 * linename_
Definition: visseis2ddisplay.h:218
int size_
Definition: visseis2ddisplay.h:210
virtual DataPackMgr::ID getDataPackMgrID() const
Definition: visseis2ddisplay.h:72
Definition: callback.h:254
Used for displaying a 2D line.
Definition: visseis2ddisplay.h:40
Pos::GeomID getGeomID() const
Definition: visseis2ddisplay.h:51
UpdateStageInfo updatestageinfo_
Definition: visseis2ddisplay.h:232
int prevtrcidx_
Definition: visseis2ddisplay.h:192
virtual Coord3 getNormal(const Coord3 &c) const
Definition: visseis2ddisplay.h:135
Definition: visseis2ddisplay.h:204
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Class that can execute a task.
Definition: task.h:169
ZAxisTransform * datatransform_
Definition: visseis2ddisplay.h:223
float oldzrgstart_
Definition: visseis2ddisplay.h:230
TypeSet< DataPack::ID > transfdatapackids_
Definition: visseis2ddisplay.h:199
#define mVisTrans
Definition: visdata.h:31
Definition: vispolyline.h:36
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
TypeSet< int > alltrcnrs_
Definition: visseis2ddisplay.h:206
Pol2D3D
Definition: commontypes.h:39
const PosInfo::Line2DData & getGeometry() const
Definition: visseis2ddisplay.h:54
Pos::GeomID geomid_
Definition: visseis2ddisplay.h:222
NotifierAccess * getManipulationNotifier()
Definition: visseis2ddisplay.h:149
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
Notifier< Seis2DDisplay > geomchanged_
Definition: visseis2ddisplay.h:219
A cartesian coordinate in 3D space.
Definition: coord.h:72
Definition: vismultiattribsurvobj.h:36
Index_Type GeomID
Definition: commontypes.h:52
bool hasColor() const
Definition: visseis2ddisplay.h:77
Definition: visannot.h:43
visBase::TexturePanelStrip * getTexturePanelStrip() const
Definition: visseis2ddisplay.h:159
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
bool allowMaterialEdit() const
Definition: visseis2ddisplay.h:76
TraceDisplayInfo trcdisplayinfo_
Definition: visseis2ddisplay.h:214
Definition: commontypes.h:39
Base class for all 'Display' objects.
Definition: vissurvobj.h:58
visBase::TexturePanelStrip * panelstrip_
Definition: visseis2ddisplay.h:196
Definition: visevent.h:44
AttribFormat
Definition: vissurvobj.h:175
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
TypeSet< int > alljoints_
Definition: visseis2ddisplay.h:208
NotifierAccess * getMovementNotifier()
Definition: visseis2ddisplay.h:147
Definition: visseis2ddisplay.h:227
visBase::DrawStyle * polylineds_
Definition: visseis2ddisplay.h:195
float getPixelDensity() const
Definition: visseis2ddisplay.h:100
TrcKeyZSampling getTrcKeyZSampling(int attrib=-1) const
Definition: visseis2ddisplay.h:107
Compound key consisting of ints.
Definition: multiid.h:25
PosInfo::Line2DData & geometry_
Definition: visseis2ddisplay.h:202
bool allowsPicks() const
Definition: visseis2ddisplay.h:75
MultiID datasetid_
Definition: visseis2ddisplay.h:200