OpendTect-6_4  6.4
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 setSceneIdx (int idx)
 
void setEditIDs (const TypeSet< EM::PosID > *editpids)
 
void getEditIDs (TypeSet< EM::PosID > &) const
 
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 (EM::PosID &insertpid, const MultiID *pickedmid, const char *pickednm, Pos::GeomID pickedgeomid, const Coord3 &pos, const Coord3 *posnorm=0) const
 
bool removeSelection (const Selector< Coord3 > &)
 
const EM::PosID getNearestStick (const Coord3 &pos, Pos::GeomID pickedgeomid, const Coord3 *normal) 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 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 (int sticknr, const EM::SectionID &sid, const MultiID *pickedmid, const char *pickednm, Pos::GeomID pickedgeomid, const Coord3 &pos, const Coord3 *posnorm) 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
 
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_
 
Coord xtrans_
 
Coord ytrans_
 
int sceneidx_
 
const TypeSet< EM::PosID > * editpids_
 
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::FaultStickSet.

Constructor & Destructor Documentation

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

Member Function Documentation

void MPE::FaultStickSetEditor::cloneMovingNode ( )
protectedvirtual

Reimplemented from MPE::ObjectEditor.

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

Implements MPE::ObjectEditor.

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
void MPE::FaultStickSetEditor::getEditIDs ( TypeSet< EM::PosID > &  ) const
virtual

Gives all nodes that can be moved.

Reimplemented from MPE::ObjectEditor.

void MPE::FaultStickSetEditor::getInteractionInfo ( EM::PosID insertpid,
const MultiID pickedmid,
const char *  pickednm,
Pos::GeomID  pickedgeomid,
const Coord3 pos,
const Coord3 posnorm = 0 
) const
int MPE::FaultStickSetEditor::getLastClickedStick ( ) const
protected
const EM::PosID MPE::FaultStickSetEditor::getNearestStick ( const Coord3 pos,
Pos::GeomID  pickedgeomid,
const Coord3 normal 
) const
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
void MPE::FaultStickSetEditor::getPidsOnStick ( EM::PosID insertpid,
int  sticknr,
const EM::SectionID ,
const Coord3 pos 
) const
protected
static void MPE::FaultStickSetEditor::initClass ( )
static
bool MPE::FaultStickSetEditor::removeSelection ( const Selector< Coord3 > &  )
void MPE::FaultStickSetEditor::setEditIDs ( const TypeSet< EM::PosID > *  editpids)
void MPE::FaultStickSetEditor::setLastClicked ( const EM::PosID )
void MPE::FaultStickSetEditor::setScaleVector ( const Coord3 v)

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

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

Member Data Documentation

const TypeSet<EM::PosID>* MPE::FaultStickSetEditor::editpids_
protected
Coord3 MPE::FaultStickSetEditor::scalevector_
protected
int MPE::FaultStickSetEditor::sceneidx_
protected
TypeSet<Coord3> MPE::FaultStickSetEditor::sowinghistory_
protected
Coord3 MPE::FaultStickSetEditor::sowingpivot_
protected
Coord MPE::FaultStickSetEditor::xtrans_
protected
Coord MPE::FaultStickSetEditor::ytrans_
protected

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