1 #ifndef visplanedatadisplay_h 2 #define visplanedatadisplay_h 15 #include "vissurveymod.h" 24 template <
class T>
class Array2D;
25 namespace visBase{
class GridLines; }
58 void setOrientation(SliceType);
62 void showManipulator(
bool);
63 bool isManipulatorShown()
const;
64 bool isManipulated()
const;
66 void resetManipulation();
67 void acceptManipulation();
71 {
return &movefinished_; }
73 {
return &datachanged_; }
77 int nrResolutions()
const;
91 void setRandomPosData(
int attrib,
109 {
return MultiTextureSurveyObject
110 ::getMousePosInfo(ei,iop);}
117 virtual float calcDist(
const Coord3&)
const;
118 virtual float maxDist()
const;
125 void setTranslationDragKeys(
bool depth,
int );
132 int getTranslationDragKeys(
bool depth)
const;
137 bool isVerticalPlane()
const;
142 virtual void annotateNextUpdateStage(
bool yn);
150 void setDisplayTransformation(
const mVisTrans*);
152 {
return texturerect_; }
153 float getZScale()
const;
155 {
return displaytrans_; }
158 const Undo& undo()
const;
163 void setRandomPosDataNoCache(
int attrib,
167 void createTransformedDataPack(
int attrib,
169 void updateMainSwitch();
170 void setScene(
Scene*);
172 void updateRanges(
bool resetpos=
false);
173 void updateRanges(
bool resetinlcrl=
false,
185 bool getCacheValue(
int attrib,
int version,
186 const Coord3&,
float&)
const;
188 void removeCache(
int);
189 void swapCache(
int,
int);
190 void emptyCache(
int);
191 bool hasCache(
int)
const;
194 void updateTexShiftAndGrowth();
240 void updateTexOriginAndScale(
int attrib,
#define mExpClass(module)
Definition: commondefs.h:160
Notifier< PlaneDataDisplay > movefinished_
Definition: visplanedatadisplay.h:212
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
const mVisTrans * getDisplayTransformation() const
Definition: visplanedatadisplay.h:154
NotifierAccess * getMovementNotifier()
Definition: visplanedatadisplay.h:70
Definition of a mouse cursor, can be either a predefined shape (from the enum, or a file...
Definition: mousecursor.h:26
SliceType oldorientation_
Definition: visplanedatadisplay.h:229
Set of data points with group selection.
Definition: datapointset.h:48
virtual bool allowsPicks() const
Definition: visplanedatadisplay.h:120
ZAxisTransform * datatransform_
Definition: visplanedatadisplay.h:215
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
int voiidx_
Definition: visplanedatadisplay.h:216
Export_Basic uiString toUiString(ViewStyle)
static const char * sKeyDepthKey()
Definition: visplanedatadisplay.h:144
Notifier< PlaneDataDisplay > datachanged_
Definition: visplanedatadisplay.h:213
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
int ID
Each Mgr has its own ID.
Definition: datapack.h:147
SliceType getOrientation() const
Definition: visplanedatadisplay.h:59
visBase::GridLines * gridlines()
Definition: visplanedatadisplay.h:103
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:289
Definition: visplanedatadisplay.h:225
visBase::EventCatcher * eventcatcher_
Definition: visplanedatadisplay.h:196
TypeSet< DataPack::ID > datapackids_
Definition: visplanedatadisplay.h:203
bool canResetManipulation() const
Definition: visplanedatadisplay.h:65
static ID SeisID()
Cube/Block (N1xN2xN3) data: 3.
A cartesian coordinate in 2D space.
Definition: coord.h:25
static const char * sKeyResolution()
Definition: visplanedatadisplay.h:237
int ID
Definition: datapack.h:38
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
const MouseCursor * getMouseCursor() const
Definition: visplanedatadisplay.h:105
int originalresolution_
Definition: visplanedatadisplay.h:221
bool interactivetexturedisplay_
Definition: visplanedatadisplay.h:223
BinID curicstep_
Definition: visplanedatadisplay.h:210
ObjectSet< BinIDValueSet > rposcache_
Definition: visplanedatadisplay.h:207
#define mDeclareEnumUtils(enm)
Some utilities surrounding the often needed enum <-> string table.
Definition: enums.h:258
NotifierAccess * getDataChangedNotifier()
Definition: visplanedatadisplay.h:72
MouseCursor mousecursor_
Definition: visplanedatadisplay.h:197
Class to handle undo/redo information.
Definition: undo.h:42
A TextureRectangle is a Rectangle with a datatexture. The data is set via setData.
Definition: vistexturerect.h:35
Definition: callback.h:254
Set of pointers to objects.
Definition: commontypes.h:32
bool forcemanipupdate_
Definition: visplanedatadisplay.h:222
Notifier< PlaneDataDisplay > moving_
Definition: visplanedatadisplay.h:211
bool allowMaterialEdit() const
Definition: visplanedatadisplay.h:75
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Array2D ( Subclass of ArrayND ) is a two dimensional array.
Definition: arraynd.h:131
Class that can execute a task.
Definition: task.h:169
virtual bool canDuplicate() const
Definition: visplanedatadisplay.h:139
void getMousePosInfo(const visBase::EventInfo &ei, IOPar &iop) const
Definition: visplanedatadisplay.h:107
#define mVisTrans
Definition: visdata.h:31
Definition: visgridlines.h:32
RefMan< visBase::DepthTabPlaneDragger > dragger_
Definition: visplanedatadisplay.h:198
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
Database for 3D objects.
Definition: vissurvscene.h:76
TypeSet< DataPack::ID > transfdatapackids_
Definition: visplanedatadisplay.h:204
TrcKeyZSampling startmovepos_
Definition: visplanedatadisplay.h:233
const visBase::TextureRectangle * getTextureRectangle() const
Definition: visplanedatadisplay.h:151
static const char * sKeyOrientation()
Definition: visplanedatadisplay.h:236
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
OD::SliceType SliceType
Definition: visplanedatadisplay.h:46
A cartesian coordinate in 3D space.
Definition: coord.h:72
Definition: vismultiattribsurvobj.h:36
bool isInlCrl() const
Definition: visplanedatadisplay.h:56
Definition: visannot.h:43
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
SliceType
OpendTect flat slice types.
Definition: oduicommon.h:32
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
RefMan< visBase::TextureRectangle > texturerect_
Definition: visplanedatadisplay.h:219
virtual DataPackMgr::ID getDataPackMgrID() const
Definition: visplanedatadisplay.h:100
Coord oldimagesize_
Definition: visplanedatadisplay.h:230
Base class for all 'Display' objects.
Definition: vissurvobj.h:58
A Pos::IdxPairValueSet with BinIDs.
Definition: binidvalset.h:23
Definition: visevent.h:44
static const char * sKeyGridLinesID()
Definition: visplanedatadisplay.h:238
visBase::GridLines * gridlines_
Definition: visplanedatadisplay.h:200
Undo & undo_
Definition: visplanedatadisplay.h:234
AttribFormat
Definition: vissurvobj.h:175
Used for displaying an inline, crossline or timeslice.
Definition: visplanedatadisplay.h:41
bool hasPosModeManipulator() const
Definition: visplanedatadisplay.h:61
TrcKeyZSampling oldcs_
Definition: visplanedatadisplay.h:228
RefMan< const mVisTrans > displaytrans_
Definition: visplanedatadisplay.h:218
UpdateStageInfo updatestageinfo_
Definition: visplanedatadisplay.h:232
bool refreeze_
Definition: visplanedatadisplay.h:227
TrcKeyZSampling csfromsession_
Definition: visplanedatadisplay.h:209
SliceType orientation_
Definition: visplanedatadisplay.h:201
Definition: visevent.h:87
ObjectSet< TypeSet< DataPack::ID > > displaycache_
Definition: visplanedatadisplay.h:206
static const char * sKeyPlaneKey()
Definition: visplanedatadisplay.h:145