16 #include "mpeenginemod.h" 25 namespace EM {
class EMObject; }
26 namespace Geometry {
class ElementEditor; }
54 virtual void startEdit(
const EM::PosID& );
55 virtual bool setPosition(
const Coord3&);
56 virtual void finishEdit();
58 bool canSnapAfterEdit(
const EM::PosID&)
const;
59 bool getSnapAfterEdit()
const;
60 void setSnapAfterEdit(
bool yn);
81 virtual bool addEditID(
const EM::PosID& );
84 virtual bool removeEditID(
const EM::PosID& );
89 virtual bool mayTranslate1D(
const EM::PosID&)
const;
92 virtual bool mayTranslate2D(
const EM::PosID&)
const;
95 virtual bool mayTranslate3D(
const EM::PosID&)
const;
97 virtual bool maySetNormal(
const EM::PosID&)
const;
100 virtual bool maySetDirection(
const EM::PosID&)
const;
109 static void enableNodeCloning(
bool yn=
true);
113 virtual bool setPosition(
const EM::PosID&,
119 void editPosChangeTrigger(CallBacker*);
120 void emSectionChange(CallBacker*);
122 virtual void getAlongMovingNodes(
const EM::PosID&,
#define mRefCountImpl(ClassName)
Macro to setup a class with destructor for reference counting.
Definition: refcount.h:163
od_int16 SectionID
Definition: emposid.h:25
#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< EM::PosID > changedpids
Definition: emeditor.h:134
ObjectSet< Geometry::ElementEditor > geeditors
Definition: emeditor.h:142
void removeUser()
Definition: emeditor.h:63
bool snapafterthisedit
Definition: emeditor.h:145
int nrusers
Definition: emeditor.h:139
Is an identifier for each position in the earthmodel.
Definition: emposid.h:37
TypeSet< Coord3 > alongmovingnodesstart
Definition: emeditor.h:136
TypeSet< EM::PosID > alongmovingnodes
Definition: emeditor.h:135
MPE stands for Model, Predict, Edit. Contains tracking and editing functions.
Definition: autotracker.h:32
EM::PosID movingnode
Definition: emeditor.h:132
void addUser()
Definition: emeditor.h:62
mDefineFactory1Param(EarthModel, EMObject, EMManager &, EMOF)
virtual void cloneMovingNode()
Definition: emeditor.h:129
Set of BufferString objects.
Definition: bufstringset.h:28
Definition: geeditor.h:25
Definition: callback.h:254
virtual const BufferStringSet * getAlongMovingStyleNames() const
Definition: emeditor.h:67
virtual int getAlongMovingStyle() const
Definition: emeditor.h:72
Abstraction of EM Object editing. It gives lists of which nodes that may be moved, and in what manner.
Definition: emeditor.h:47
const EM::EMObject & emObject() const
Definition: emeditor.h:52
A cartesian coordinate in 3D space.
Definition: coord.h:72
int nrUsers() const
Definition: emeditor.h:64
bool snapafteredit
Definition: emeditor.h:147
TypeSet< EM::SectionID > sections
Definition: emeditor.h:143
Base class for all EarthModel objects.
Definition: emobject.h:158
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
Notifier< ObjectEditor > editpositionchange
Definition: emeditor.h:104
EM::EMObject & emobject
Definition: emeditor.h:131
Coord3 startpos
Definition: emeditor.h:133
Definition: arraytesselator.h:21
virtual void setAlongMovingStyle(int index)
Definition: emeditor.h:75
TypeSet< float > alongmovingnodesfactors
Definition: emeditor.h:137