1 #ifndef visemobjdisplay_h 2 #define visemobjdisplay_h 16 #include "vissurveymod.h" 26 namespace EM {
class EMManager;
class EMObject; }
27 namespace Geometry {
class Element; }
30 class DataObjectGroup;
32 class TextureChannel2RGBA;
46 emcallbackdata_ += data;
51 if ( idx<emcallbackdata_.
size() )
52 return emcallbackdata_[idx];
62 int size()
const {
return emcallbackdata_.
size(); }
66 class EdgeLineSetDisplay;
73 const mVisTrans* getDisplayTransformation()
const;
74 void setDisplayTransformation(
const mVisTrans*);
79 {
return zaxistransform_; }
84 virtual void updateFromMPE();
86 void showPosAttrib(
int attr,
bool yn);
89 bool showsPosAttrib(
int attr )
const;
98 virtual void setOnlyAtSectionsDisplay(
bool yn);
99 virtual bool displayedOnlyAtSections()
const;
101 virtual void turnOnSelectionMode(
bool);
106 bool hasColor()
const;
107 void setColor(
Color);
108 Color getColor()
const;
115 {
return SurveyObject::getMousePosInfo(ei,iop);}
121 void enableEditing(
bool yn);
122 bool isEditingEnabled()
const;
129 const Coord3& clickeddisplaypos)
const;
133 virtual void clearSelections();
147 virtual void doOtherObjectsMoved(
150 virtual void setPixelDensity(
float dpi);
157 virtual void removeEMStuff();
165 virtual void updatePosAttrib(
int attrib);
168 virtual void updateSelections();
210 static const char* sKeyEarthModelID();
211 static const char* sKeyResolution();
212 static const char* sKeyEdit();
213 static const char* sKeyOnlyAtSections();
214 static const char* sKeyLineStyle();
215 static const char* sKeySections();
216 static const char* sKeyPosAttrShown();
221 void updateLockedSeedsColor();
227 {
return displayedOnlyAtSections(); }
bool burstalertison_
Definition: visemobjdisplay.h:203
od_int16 SectionID
Definition: emposid.h:25
#define mExpClass(module)
Definition: commondefs.h:160
od_int32 ObjectID
Definition: emposid.h:24
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Locks the lock, shutting out access from other threads if needed.
Definition: threadlock.h:85
const char * str() const
Definition: odstring.h:48
EM::EMObject * emobject_
Definition: visemobjdisplay.h:184
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class...
Definition: threadlock.h:53
Definition: visemobjdisplay.h:69
TypeSet< EM::SubID > selectionids_
Definition: visemobjdisplay.h:207
Is an identifier for each position in the earthmodel.
Definition: emposid.h:37
MPEEditor * editor_
Definition: visemobjdisplay.h:188
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
TypeSet< int > parposattrshown_
Definition: visemobjdisplay.h:181
visBase::EventCatcher * eventcatcher_
Definition: visemobjdisplay.h:176
virtual void updateAuxData()
Definition: visemobjdisplay.h:134
Definition: visdrawstyle.h:33
Color nontexturecol_
Definition: visemobjdisplay.h:196
virtual bool getOnlyAtSectionsDisplay() const
Definition: visemobjdisplay.h:226
const EM::EMObjectCallbackData * getCallBackData(int idx) const
Definition: visemobjdisplay.h:49
NotifierAccess * getMovementNotifier()
Definition: visemobjdisplay.h:142
visBase::DrawStyle * drawstyle_
Definition: visemobjdisplay.h:198
Set of BufferString objects.
Definition: bufstringset.h:28
const char * errMsg() const
Definition: visemobjdisplay.h:93
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
Definition: vismpeeditor.h:44
ZAxisTransform * zaxistransform_
Definition: visemobjdisplay.h:175
Definition: vistexturechannel2rgba.h:36
Definition: callback.h:254
size_type size() const
Definition: objectset.h:50
ObjectSet< visBase::MarkerSet > posattribmarkers_
Definition: visemobjdisplay.h:178
bool allowsPicks() const
Definition: visemobjdisplay.h:110
bool enableedit_
Definition: visemobjdisplay.h:200
VisualObjectImpl
Definition: visobject.h:128
Definition: vispolygonselection.h:40
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Class that can execute a task.
Definition: task.h:169
#define mVisTrans
Definition: visdata.h:31
Manages the loaded/half loaded EM objects in OpendTect.
Definition: emmanager.h:46
const mVisTrans * transformation_
Definition: visemobjdisplay.h:174
EM::EMManager & em_
Definition: visemobjdisplay.h:183
virtual bool canRemoveSelection() const
Definition: visemobjdisplay.h:131
ObjectSet< Selector< Coord3 > > selectors_
Definition: visemobjdisplay.h:205
ObjectSet< const EM::EMObjectCallbackData > emcallbackdata_
Definition: visemobjdisplay.h:40
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
Notifier< EMObjectDisplay > locknotifier
Definition: visemobjdisplay.h:172
A cartesian coordinate in 3D space.
Definition: coord.h:72
Definition: visannot.h:43
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
BufferString errmsg_
Definition: horizontracker.h:119
Base class for all EarthModel objects.
Definition: emobject.h:158
BufferStringSet parsections_
Definition: visemobjdisplay.h:186
void getMousePosInfo(const visBase::EventInfo &ei, IOPar &iop) const
Definition: visemobjdisplay.h:113
EM object callback data.
Definition: emobject.h:46
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
Base class for all 'Display' objects.
Definition: vissurvobj.h:58
TypeSet< int > posattribs_
Definition: visemobjdisplay.h:180
const ZAxisTransform * getZAxisTransform() const
Definition: visemobjdisplay.h:78
Definition: visevent.h:44
bool allowMaterialEdit() const
Definition: visemobjdisplay.h:102
visBase::TextureChannel2RGBA * channel2rgba_
Definition: visemobjdisplay.h:189
bool ctrldown_
Definition: visemobjdisplay.h:204
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
Notifier< EMObjectDisplay > hasmoved
Definition: visemobjdisplay.h:171
EMChangeData emchangedata_
Definition: visemobjdisplay.h:208
Threads::Lock lock_
Definition: visemobjdisplay.h:41
MultiID parmid_
Definition: visemobjdisplay.h:185
virtual bool setZAxisTransform(ZAxisTransform *, TaskRunner *)
Definition: visemobjdisplay.h:76
Definition: visemobjdisplay.h:38
void clearData()
Definition: visemobjdisplay.h:56
Notifier< EMObjectDisplay > changedisplay
Definition: visemobjdisplay.h:143
bool restoresessupdate_
Definition: visemobjdisplay.h:201
bool nontexturecolisset_
Definition: visemobjdisplay.h:197
int size() const
Definition: visemobjdisplay.h:62
TypeSet< EM::SectionID > addsectionids_
Definition: visemobjdisplay.h:194
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
Definition: visevent.h:87
Compound key consisting of ints.
Definition: multiid.h:25
void addCallBackData(const EM::EMObjectCallbackData *data)
Definition: visemobjdisplay.h:43
bool displayonlyatsections_
Definition: visemobjdisplay.h:199
void deepErase(ObjectSet< T > &os)
empty the ObjectSet deleting all objects pointed to.
Definition: objectset.h:118
NotifierAccess * getLockNotifier()
Definition: visemobjdisplay.h:146