OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MPE::FaultEditor Class Reference

ObjectEditor to edit EM::Fault3D. More...

Inheritance diagram for MPE::FaultEditor:
[legend]

Public Member Functions

 FaultEditor (EM::Fault3D &)
 
void setSceneIdx (int idx)
 
void setLastClicked (const EM::PosID &)
 
void setSowingPivot (const Coord3)
 
void setZScale (float)
 
void setScaleVector (const Coord3 &v)
 x'=x, y'=v1*x*+v2*y, z'=v3*z More...
 
void getInteractionInfo (bool &makenewstick, EM::PosID &insertpid, const Coord3 &pos, const Coord3 *posnormal=0) const
 
bool removeSelection (const Selector< Coord3 > &)
 
const EM::PosID getNearstStick (EM::SectionID &sid, const Coord3 &pos, const Coord3 *posnormal) const
 
- Public Member Functions inherited from MPE::ObjectEditor
 ObjectEditor (EM::EMObject &)
 
const EM::EMObjectemObject () const
 
virtual void startEdit (const EM::PosID &)
 
virtual bool setPosition (const Coord3 &)
 
virtual void finishEdit ()
 
bool canSnapAfterEdit (const EM::PosID &) const
 
bool getSnapAfterEdit () const
 
void setSnapAfterEdit (bool yn)
 
void addUser ()
 
void removeUser ()
 
int nrUsers () const
 
virtual const BufferStringSetgetAlongMovingStyleNames () const
 
virtual int getAlongMovingStyle () const
 
virtual void setAlongMovingStyle (int index)
 
virtual void getEditIDs (TypeSet< EM::PosID > &) const
 
virtual bool addEditID (const EM::PosID &)
 
virtual bool removeEditID (const EM::PosID &)
 
virtual Coord3 getPosition (const EM::PosID &) const
 
virtual bool mayTranslate1D (const EM::PosID &) const
 
virtual Coord3 translation1DDirection (const EM::PosID &) const
 
virtual bool mayTranslate2D (const EM::PosID &) const
 
virtual Coord3 translation2DNormal (const EM::PosID &) const
 
virtual bool mayTranslate3D (const EM::PosID &) const
 
virtual bool maySetNormal (const EM::PosID &) const
 
virtual Coord3 getNormal (const EM::PosID &) const
 
virtual bool maySetDirection (const EM::PosID &) const
 
virtual Coord3 getDirectionPlaneNormal (const EM::PosID &) const
 
virtual Coord3 getDirection (const EM::PosID &) const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

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)
 

Protected Member Functions

float distToStick (const Geometry::FaultStickSurface &, int curstick, const Coord3 &pos, const Coord3 *posnormal) const
 
float panelIntersectDist (const Geometry::FaultStickSurface &, int sticknr, const Coord3 &mousepos, const Coord3 &posnormal) const
 
int getSecondKnotNr (const Geometry::FaultStickSurface &, int sticknr, const Coord3 &mousepos) const
 
float getNearestStick (int &stick, EM::SectionID &sid, const Coord3 &pos, const Coord3 *posnormal) const
 
bool getInsertStick (int &stick, EM::SectionID &sid, const Coord3 &pos, const Coord3 *posnormal) const
 
void getPidsOnStick (EM::PosID &insertpid, int stick, const EM::SectionID &, const Coord3 &pos) const
 
Geometry::ElementEditorcreateEditor (const EM::SectionID &)
 
int getLastClickedStick () const
 
void cloneMovingNode ()
 
- Protected Member Functions inherited from MPE::ObjectEditor
virtual bool setPosition (const EM::PosID &, const Coord3 &)
 
Geometry::ElementEditorgetEditor (const EM::SectionID &)
 
const Geometry::ElementEditorgetEditor (const EM::SectionID &) const
 
void editPosChangeTrigger (CallBacker *)
 
void emSectionChange (CallBacker *)
 
virtual void getAlongMovingNodes (const EM::PosID &, TypeSet< EM::PosID > &, TypeSet< float > *) const
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

Coord3 scalevector_
 
int sceneidx_
 
Coord3 sowingpivot_
 
TypeSet< Coord3sowinghistory_
 
- Protected Attributes inherited from MPE::ObjectEditor
EM::EMObjectemobject
 
EM::PosID movingnode
 
Coord3 startpos
 
TypeSet< EM::PosIDchangedpids
 
TypeSet< EM::PosIDalongmovingnodes
 
TypeSet< Coord3alongmovingnodesstart
 
TypeSet< float > alongmovingnodesfactors
 
int nrusers
 

Additional Inherited Members

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

Detailed Description

ObjectEditor to edit EM::Fault3D.

Constructor & Destructor Documentation

MPE::FaultEditor::FaultEditor ( EM::Fault3D )

Member Function Documentation

void MPE::FaultEditor::cloneMovingNode ( )
protectedvirtual

Reimplemented from MPE::ObjectEditor.

static ObjectEditor* MPE::FaultEditor::create ( EM::EMObject )
static
Geometry::ElementEditor* MPE::FaultEditor::createEditor ( const EM::SectionID )
protectedvirtual

Implements MPE::ObjectEditor.

float MPE::FaultEditor::distToStick ( const Geometry::FaultStickSurface ,
int  curstick,
const Coord3 pos,
const Coord3 posnormal 
) const
protected
bool MPE::FaultEditor::getInsertStick ( int &  stick,
EM::SectionID sid,
const Coord3 pos,
const Coord3 posnormal 
) const
protected
void MPE::FaultEditor::getInteractionInfo ( bool &  makenewstick,
EM::PosID insertpid,
const Coord3 pos,
const Coord3 posnormal = 0 
) const
int MPE::FaultEditor::getLastClickedStick ( ) const
protected
float MPE::FaultEditor::getNearestStick ( int &  stick,
EM::SectionID sid,
const Coord3 pos,
const Coord3 posnormal 
) const
protected
const EM::PosID MPE::FaultEditor::getNearstStick ( EM::SectionID sid,
const Coord3 pos,
const Coord3 posnormal 
) const
void MPE::FaultEditor::getPidsOnStick ( EM::PosID insertpid,
int  stick,
const EM::SectionID ,
const Coord3 pos 
) const
protected
int MPE::FaultEditor::getSecondKnotNr ( const Geometry::FaultStickSurface ,
int  sticknr,
const Coord3 mousepos 
) const
protected
static void MPE::FaultEditor::initClass ( )
static
float MPE::FaultEditor::panelIntersectDist ( const Geometry::FaultStickSurface ,
int  sticknr,
const Coord3 mousepos,
const Coord3 posnormal 
) const
protected
bool MPE::FaultEditor::removeSelection ( const Selector< Coord3 > &  )
void MPE::FaultEditor::setLastClicked ( const EM::PosID )
void MPE::FaultEditor::setScaleVector ( const Coord3 v)

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

void MPE::FaultEditor::setSceneIdx ( int  idx)
inline
void MPE::FaultEditor::setSowingPivot ( const Coord3  )
void MPE::FaultEditor::setZScale ( float  )

Member Data Documentation

Coord3 MPE::FaultEditor::scalevector_
protected
int MPE::FaultEditor::sceneidx_
protected
TypeSet<Coord3> MPE::FaultEditor::sowinghistory_
protected
Coord3 MPE::FaultEditor::sowingpivot_
protected

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