OpendTect  6.6
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MPE::FaultStickSetEditor Class Reference

ObjectEditor to edit EM::FaultStickSet. More...

Inheritance diagram for MPE::FaultStickSetEditor:
[legend]

Public Member Functions

 FaultStickSetEditor (EM::FaultStickSet &)
 
void getEditIDs (TypeSet< EM::PosID > &) const
 
void getInteractionInfo (EM::PosID &insertpid, const MultiID *pickedmid, const char *pickednm, Pos::GeomID pickedgeomid, const Coord3 &pos, const Coord3 *posnorm=0) const
 
const EM::PosID getNearestStick (const Coord3 &pos, Pos::GeomID pickedgeomid, const Coord3 *normal) const
 
bool removeSelection (const Selector< Coord3 > &)
 
void setEditIDs (const TypeSet< EM::PosID > *editpids)
 
void setLastClicked (const EM::PosID &)
 
void setScaleVector (const Coord3 &v)
 x'=x, y'=v1*x*+v2*y, z'=v3*z More...
 
void setSceneIdx (int idx)
 
void setSowingPivot (const Coord3)
 
void setZScale (float)
 
- Public Member Functions inherited from MPE::ObjectEditor
 ObjectEditor (EM::EMObject &)
 
virtual bool addEditID (const EM::PosID &)
 
void addUser ()
 
bool canSnapAfterEdit (const EM::PosID &) const
 
const EM::EMObjectemObject () const
 
virtual void finishEdit ()
 
virtual int getAlongMovingStyle () const
 
virtual const BufferStringSetgetAlongMovingStyleNames () const
 
virtual Coord3 getDirection (const EM::PosID &) const
 
virtual Coord3 getDirectionPlaneNormal (const EM::PosID &) const
 
virtual Coord3 getNormal (const EM::PosID &) const
 
virtual Coord3 getPosition (const EM::PosID &) const
 
bool getSnapAfterEdit () const
 
virtual bool maySetDirection (const EM::PosID &) const
 
virtual bool maySetNormal (const EM::PosID &) const
 
virtual bool mayTranslate1D (const EM::PosID &) const
 
virtual bool mayTranslate2D (const EM::PosID &) const
 
virtual bool mayTranslate3D (const EM::PosID &) const
 
int nrUsers () const
 
virtual bool removeEditID (const EM::PosID &)
 
void removeUser ()
 
virtual void setAlongMovingStyle (int index)
 
virtual bool setPosition (const Coord3 &)
 
void setSnapAfterEdit (bool yn)
 
virtual void startEdit (const EM::PosID &)
 
virtual Coord3 translation1DDirection (const EM::PosID &) const
 
virtual Coord3 translation2DNormal (const EM::PosID &) const
 
- Public Member Functions inherited from RefCount::Referenced
void addObserver (WeakPtrBase *obs)
 Not for normal use. May become private. More...
 
int nrRefs () const
 Only for expert use. More...
 
void ref () const
 
bool refIfReffed () const
 Don't use in production, for debugging. More...
 
void removeObserver (WeakPtrBase *obs)
 Not for normal use. May become private. More...
 
bool tryRef () const
 Not for normal use. May become private. More...
 
void unRef () const
 
void unRefNoDelete () const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 

Static Public Member Functions

static ObjectEditorcreate (EM::EMObject &)
 
static void initClass ()
 
- Static Public Member Functions inherited from MPE::ObjectEditor
static void enableNodeCloning (bool yn=true)
 
- Static Public Member Functions inherited from RefCount::Referenced
static bool isSane (const Referenced *)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Protected Member Functions

void cloneMovingNode (CallBacker *)
 
Geometry::ElementEditorcreateEditor (const EM::SectionID &)
 
float distToStick (int sticknr, const EM::SectionID &sid, const MultiID *pickedmid, const char *pickednm, Pos::GeomID pickedgeomid, const Coord3 &pos, const Coord3 *posnorm) const
 
int getLastClickedStick () const
 
bool getNearestStick (int &sticknr, EM::SectionID &sid, const MultiID *pickedmid, const char *pickednm, Pos::GeomID pickedgeomid, const Coord3 &pos, const Coord3 *posnorm) const
 
void getPidsOnStick (EM::PosID &insertpid, int sticknr, const EM::SectionID &, const Coord3 &pos) const
 
- Protected Member Functions inherited from MPE::ObjectEditor
 ~ObjectEditor ()
 
void editPosChangeTrigger (CallBacker *)
 
void emSectionChange (CallBacker *)
 
virtual void getAlongMovingNodes (const EM::PosID &, TypeSet< EM::PosID > &, TypeSet< float > *) const
 
Geometry::ElementEditorgetEditor (const EM::SectionID &)
 
const Geometry::ElementEditorgetEditor (const EM::SectionID &) const
 
virtual bool setPosition (const EM::PosID &, const Coord3 &)
 
- Protected Member Functions inherited from RefCount::Referenced
 Referenced ()
 
 Referenced (const Referenced &)
 
virtual ~Referenced ()
 
Referencedoperator= (const Referenced &)
 

Protected Attributes

const TypeSet< EM::PosID > * editpids_
 
Coord3 scalevector_
 
int sceneidx_
 
TypeSet< Coord3sowinghistory_
 
Coord3 sowingpivot_
 
Coord xtrans_
 
Coord ytrans_
 
- Protected Attributes inherited from MPE::ObjectEditor
TypeSet< EM::PosIDalongmovingnodes
 
TypeSet< float > alongmovingnodesfactors
 
TypeSet< Coord3alongmovingnodesstart
 
TypeSet< EM::PosIDchangedpids
 
RefMan< EM::EMObjectemobject_
 
EM::PosID movingnode
 
int nrusers
 
Coord3 startpos
 

Additional Inherited Members

- Public Attributes inherited from MPE::ObjectEditor
Notifier< ObjectEditoreditpositionchange
 

Detailed Description

ObjectEditor to edit EM::FaultStickSet.

<>

Constructor & Destructor Documentation

◆ FaultStickSetEditor()

MPE::FaultStickSetEditor::FaultStickSetEditor ( EM::FaultStickSet )

Member Function Documentation

◆ cloneMovingNode()

void MPE::FaultStickSetEditor::cloneMovingNode ( CallBacker )
protectedvirtual

Reimplemented from MPE::ObjectEditor.

◆ create()

static ObjectEditor* MPE::FaultStickSetEditor::create ( EM::EMObject )
static

◆ createEditor()

Geometry::ElementEditor* MPE::FaultStickSetEditor::createEditor ( const EM::SectionID )
protectedvirtual

Implements MPE::ObjectEditor.

◆ distToStick()

float MPE::FaultStickSetEditor::distToStick ( int  sticknr,
const EM::SectionID sid,
const MultiID pickedmid,
const char *  pickednm,
Pos::GeomID  pickedgeomid,
const Coord3 pos,
const Coord3 posnorm 
) const
protected

◆ getEditIDs()

void MPE::FaultStickSetEditor::getEditIDs ( TypeSet< EM::PosID > &  ) const
virtual

Gives all nodes that can be moved.

Reimplemented from MPE::ObjectEditor.

◆ getInteractionInfo()

void MPE::FaultStickSetEditor::getInteractionInfo ( EM::PosID insertpid,
const MultiID pickedmid,
const char *  pickednm,
Pos::GeomID  pickedgeomid,
const Coord3 pos,
const Coord3 posnorm = 0 
) const

◆ getLastClickedStick()

int MPE::FaultStickSetEditor::getLastClickedStick ( ) const
protected

◆ getNearestStick() [1/2]

const EM::PosID MPE::FaultStickSetEditor::getNearestStick ( const Coord3 pos,
Pos::GeomID  pickedgeomid,
const Coord3 normal 
) const

◆ getNearestStick() [2/2]

bool MPE::FaultStickSetEditor::getNearestStick ( int &  sticknr,
EM::SectionID sid,
const MultiID pickedmid,
const char *  pickednm,
Pos::GeomID  pickedgeomid,
const Coord3 pos,
const Coord3 posnorm 
) const
protected

◆ getPidsOnStick()

void MPE::FaultStickSetEditor::getPidsOnStick ( EM::PosID insertpid,
int  sticknr,
const EM::SectionID ,
const Coord3 pos 
) const
protected

◆ initClass()

static void MPE::FaultStickSetEditor::initClass ( )
static

◆ removeSelection()

bool MPE::FaultStickSetEditor::removeSelection ( const Selector< Coord3 > &  )

◆ setEditIDs()

void MPE::FaultStickSetEditor::setEditIDs ( const TypeSet< EM::PosID > *  editpids)

◆ setLastClicked()

void MPE::FaultStickSetEditor::setLastClicked ( const EM::PosID )

◆ setScaleVector()

void MPE::FaultStickSetEditor::setScaleVector ( const Coord3 v)

x'=x, y'=v1*x*+v2*y, z'=v3*z

◆ setSceneIdx()

void MPE::FaultStickSetEditor::setSceneIdx ( int  idx)
inline

◆ setSowingPivot()

void MPE::FaultStickSetEditor::setSowingPivot ( const  Coord3)

◆ setZScale()

void MPE::FaultStickSetEditor::setZScale ( float  )

Member Data Documentation

◆ editpids_

const TypeSet<EM::PosID>* MPE::FaultStickSetEditor::editpids_
protected

◆ scalevector_

Coord3 MPE::FaultStickSetEditor::scalevector_
protected

◆ sceneidx_

int MPE::FaultStickSetEditor::sceneidx_
protected

◆ sowinghistory_

TypeSet<Coord3> MPE::FaultStickSetEditor::sowinghistory_
protected

◆ sowingpivot_

Coord3 MPE::FaultStickSetEditor::sowingpivot_
protected

◆ xtrans_

Coord MPE::FaultStickSetEditor::xtrans_
protected

◆ ytrans_

Coord MPE::FaultStickSetEditor::ytrans_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022