14 #include "mpeenginemod.h" 22 namespace EM {
class EMObject; }
23 namespace Geometry {
class ElementEditor; }
52 virtual void startEdit(
const EM::PosID& );
53 virtual bool setPosition(
const Coord3&);
54 virtual void finishEdit();
56 bool canSnapAfterEdit(
const EM::PosID&)
const;
57 bool getSnapAfterEdit()
const;
58 void setSnapAfterEdit(
bool yn);
79 virtual bool addEditID(
const EM::PosID& );
82 virtual bool removeEditID(
const EM::PosID& );
87 virtual bool mayTranslate1D(
const EM::PosID&)
const;
90 virtual bool mayTranslate2D(
const EM::PosID&)
const;
93 virtual bool mayTranslate3D(
const EM::PosID&)
const;
95 virtual bool maySetNormal(
const EM::PosID&)
const;
98 virtual bool maySetDirection(
const EM::PosID&)
const;
107 static void enableNodeCloning(
bool yn=
true);
112 virtual bool setPosition(
const EM::PosID&,
118 void editPosChangeTrigger(CallBacker*);
119 void emSectionChange(CallBacker*);
121 virtual void getAlongMovingNodes(
const EM::PosID&,
EM::PosID movingnode_
Definition: emeditor.h:131
od_int16 SectionID
Definition: emposid.h:23
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
int nrusers_
Definition: emeditor.h:138
void removeUser()
Definition: emeditor.h:61
Is an identifier for each position in the earthmodel.
Definition: emposid.h:35
TypeSet< float > alongmovingnodesfactors_
Definition: emeditor.h:136
MPE stands for Model, Predict, Edit. Contains tracking and editing functions.
Definition: autotracker.h:30
void addUser()
Definition: emeditor.h:60
mDefineFactory1Param(EarthModel, EMObject, EMManager &, EMOF)
TypeSet< EM::PosID > alongmovingnodes_
Definition: emeditor.h:134
Set of BufferString objects.
Definition: bufstringset.h:25
Definition: geeditor.h:23
Class to help setup a callback handling.
Definition: notify.h:121
3D point or vector
Definition: commontypes.h:57
virtual const BufferStringSet * getAlongMovingStyleNames() const
Definition: emeditor.h:65
virtual int getAlongMovingStyle() const
Definition: emeditor.h:70
RefMan< EM::EMObject > emobject_
Definition: emeditor.h:130
bool snapafterthisedit_
Definition: emeditor.h:144
Abstraction of EM Object editing. It gives lists of which nodes that may be moved, and in what manner.
Definition: emeditor.h:44
virtual void cloneMovingNode(CallBacker *)
Definition: emeditor.h:128
TypeSet< Coord3 > alongmovingnodesstart_
Definition: emeditor.h:135
const EM::EMObject & emObject() const
Definition: emeditor.h:50
ObjectSet< Geometry::ElementEditor > geeditors_
Definition: emeditor.h:141
int nrUsers() const
Definition: emeditor.h:62
TypeSet< EM::PosID > changedpids_
Definition: emeditor.h:133
Base class for all EarthModel objects.
Definition: emobject.h:117
TypeSet< EM::SectionID > sections_
Definition: emeditor.h:142
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:23
Notifier< ObjectEditor > editpositionchange
Definition: emeditor.h:102
bool snapafteredit_
Definition: emeditor.h:146
Coord3 startpos_
Definition: emeditor.h:132
Definition: arraytesselator.h:19
virtual void setAlongMovingStyle(int index)
Definition: emeditor.h:73