1 #ifndef visrandomtrackdisplay_h 2 #define visrandomtrackdisplay_h 17 #include "vissurveymod.h" 27 class RandomTrackDragger;
29 class TexturePanelStrip;
62 void setRandomLineID(
int id);
63 int getRandomLineID()
const;
66 int nameNr()
const {
return namenr_; }
76 void showManipulator(
bool yn);
77 bool isManipulatorShown()
const;
78 bool isManipulated()
const;
80 void resetManipulation();
81 void acceptManipulation();
109 bool canAddNode(
int nodenr)
const;
114 void addNode(
int nodenr);
120 void addNode(
const BinID&);
121 void insertNode(
int,
const BinID&);
122 void setNodePos(
int,
const BinID&);
123 BinID getNodePos(
int)
const;
124 BinID getManipNodePos(
int)
const;
127 void removeNode(
int);
128 void removeAllNodes();
130 void lockGeometry(
bool);
131 bool isGeometryLocked()
const;
151 int getClosestPanelIdx(
const Coord&)
const;
153 virtual float calcDist(
const Coord3&)
const;
162 {
return panelstrip_; }
163 const char* getRandomLineName()
const;
170 void setPolyLineMode(
bool yn);
171 bool createFromPolyLine();
172 void setColor(
Color);
177 void setDisplayTransformation(
const mVisTrans*);
178 const mVisTrans* getDisplayTransformation()
const;
180 virtual void annotateNextUpdateStage(
bool yn);
181 virtual void setPixelDensity(
float);
183 {
return &trckeypath_; }
192 bool getCacheValue(
int attrib,
int version,
193 const Coord3&,
float&)
const;
196 void removeCache(
int);
197 void swapCache(
int,
int);
198 void emptyCache(
int);
199 bool hasCache(
int)
const;
203 BinID proposeNewPos(
int node)
const;
205 void createTransformedDataPack(
int attrib,
207 void setNodePos(
int,
const BinID&,
bool check);
210 bool checkPosition(
const BinID&)
const;
219 void setPickPos(
const Coord3& pos);
220 void removePickPos(
const Coord3&);
222 void updateRanges(
bool,
bool);
224 void updatePanelStripPath();
226 float appliedZRangeStep()
const;
272 static const char* sKeyTrack();
273 static const char* sKeyNrKnots();
274 static const char* sKeyKnotPrefix();
275 static const char* sKeyDepthInterval();
276 static const char* sKeyLockGeometry();
278 void updateTexOriginAndScale(
287 int getClosestPanelIdx(
const Coord&,
288 double* fracptr)
const;
290 bool isPicking()
const;
291 void removePickPos(
int polyidx);
293 void addNodeInternal(
const BinID&);
294 void insertNodeInternal(
int,
const BinID&);
295 void removeNodeInternal(
int);
296 void movingNodeInternal(
int selnodeidx);
297 void finishNodeMoveInternal();
302 bool isMappingTraceOfBid(
BinID bid,
int trcidx,
303 bool forward=
true)
const;
static const char * sKeyPanelRotateKey()
Definition: visrandomtrackdisplay.h:187
#define mExpClass(module)
Definition: commondefs.h:160
virtual DataPackMgr::ID getDataPackMgrID() const
Definition: visrandomtrackdisplay.h:106
bool ispicking_
Definition: visrandomtrackdisplay.h:255
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
float mapfactor_
Definition: visrandomtrackdisplay.h:261
static const char * sKeyPanelPlaneKey()
Definition: visrandomtrackdisplay.h:186
const char * str() const
Definition: odstring.h:48
Definition of a mouse cursor, can be either a predefined shape (from the enum, or a file...
Definition: mousecursor.h:26
TypeSet< BinID > * getNodes()
Definition: visrandomtrackdisplay.h:126
Used for displaying a random or arbitrary line.
Definition: visrandomtrackdisplay.h:52
bool lockgeometry_
Definition: visrandomtrackdisplay.h:265
visBase::TexturePanelStrip * getTexturePanelStrip() const
Definition: visrandomtrackdisplay.h:161
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Export_Basic uiString toUiString(ViewStyle)
Notifier< RandomTrackDisplay > moving_
Definition: visrandomtrackdisplay.h:166
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: randomlinegeom.h:31
virtual bool allowsPicks() const
Definition: visrandomtrackdisplay.h:154
int ID
Each Mgr has its own ID.
Definition: datapack.h:147
static const char * sKeyPanelDepthKey()
Definition: visrandomtrackdisplay.h:185
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:289
TypeSet< BinID > nodes_
Definition: visrandomtrackdisplay.h:247
int nrResolutions() const
Definition: visrandomtrackdisplay.h:72
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
int nrgeomchangecbs_
Definition: visrandomtrackdisplay.h:230
A cartesian coordinate in 2D space.
Definition: coord.h:25
int ID
Definition: datapack.h:38
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
int originalresolution_
Definition: visrandomtrackdisplay.h:270
bool polylinemode_
Definition: visrandomtrackdisplay.h:268
bool isInlCrl() const
Definition: visrandomtrackdisplay.h:70
TypeSet< DataPack::ID > datapackids_
Definition: visrandomtrackdisplay.h:244
const TrcKeyPath * getTrcKeyPath()
Definition: visrandomtrackdisplay.h:182
const char * errMsg() const
Definition: visrandomtrackdisplay.h:169
float oldzrgstart_
Definition: visrandomtrackdisplay.h:260
Definition: callback.h:254
TrcKeyPath trckeypath_
Definition: visrandomtrackdisplay.h:253
visBase::EventCatcher * eventcatcher_
Definition: visrandomtrackdisplay.h:240
bool interactivetexturedisplay_
Definition: visrandomtrackdisplay.h:269
UpdateStageInfo updatestageinfo_
Definition: visrandomtrackdisplay.h:263
ZAxisTransform * datatransform_
Definition: visrandomtrackdisplay.h:249
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
visBase::RandomTrackDragger * dragger_
Definition: visrandomtrackdisplay.h:235
Class that can execute a task.
Definition: task.h:169
int oldstyledoubleclicked_
Definition: visrandomtrackdisplay.h:256
NotifierAccess * getManipulationNotifier()
Definition: visrandomtrackdisplay.h:149
int pickstartnodeidx_
Definition: visrandomtrackdisplay.h:254
#define mVisTrans
Definition: visdata.h:31
Definition: vispolyline.h:36
Definition: visrandomtrackdisplay.h:258
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
bool allowMaterialEdit() const
Definition: visrandomtrackdisplay.h:88
int selnodeidx_
Definition: visrandomtrackdisplay.h:243
visBase::TexturePanelStrip * panelstrip_
Definition: visrandomtrackdisplay.h:233
bool ismanip_
Definition: visrandomtrackdisplay.h:266
int getSelNodeIdx() const
knotidx>=0, panelidx<0
Definition: visrandomtrackdisplay.h:145
Definition: visrandomtrackdragger.h:37
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
MouseCursor mousecursor_
Definition: visrandomtrackdisplay.h:241
bool hasPosModeManipulator() const
Definition: visrandomtrackdisplay.h:75
A cartesian coordinate in 3D space.
Definition: coord.h:72
visBase::MarkerSet * markerset_
Definition: visrandomtrackdisplay.h:238
Definition: vismultiattribsurvobj.h:36
Geometry::RandomLine * rl_
Definition: visrandomtrackdisplay.h:232
Definition: visannot.h:43
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
BufferString errmsg_
Definition: horizontracker.h:119
virtual NotifierAccess * getMovementNotifier()
Definition: visrandomtrackdisplay.h:148
Interval< float > depthrg_
Definition: visrandomtrackdisplay.h:250
const MouseCursor * getMouseCursor() const
Definition: visrandomtrackdisplay.h:137
Base class for all 'Display' objects.
Definition: vissurvobj.h:58
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
int namenr_
Definition: visrandomtrackdisplay.h:267
TypeSet< DataPack::ID > transfdatapackids_
Definition: visrandomtrackdisplay.h:245
int voiidx_
Definition: visrandomtrackdisplay.h:251
TypeSet< BinID > trcspath_
Definition: visrandomtrackdisplay.h:246
bool canDuplicate() const
Definition: visrandomtrackdisplay.h:84
Notifier< RandomTrackDisplay > nodemoving_
Definition: visrandomtrackdisplay.h:167
visBase::PolyLine * polyline_
Definition: visrandomtrackdisplay.h:237
bool canResetManipulation() const
Definition: visrandomtrackdisplay.h:79
MarkerSet is a set of basic pickmarker with a constant size on screen. Size and shape are settable...
Definition: vismarkerset.h:36
Definition: arraytesselator.h:21
bool canBDispOn2DViewer() const
Definition: visrandomtrackdisplay.h:159
int nameNr() const
Definition: visrandomtrackdisplay.h:66
TypeSet< BinID > * getPath()
BinID-based coding: inner nodes single.
Definition: visrandomtrackdisplay.h:92
Definition: visevent.h:87
Compound key consisting of ints.
Definition: multiid.h:25