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

ObjectEditor to edit EM::PolygonBody. More...

Inheritance diagram for MPE::PolygonBodyEditor:
[legend]

Public Member Functions

 PolygonBodyEditor (EM::PolygonBody &)
 
void setLastClicked (const EM::PosID &)
 
void setSowingPivot (const Coord3)
 
void getInteractionInfo (EM::PosID &nearestpid0, EM::PosID &nearestpid1, EM::PosID &insertpid, const Coord3 &, float zfactor) const
 
bool removeSelection (const Selector< Coord3 > &)
 
- Public Member Functions inherited from MPE::ObjectEditor
 ObjectEditor (EM::EMObject &)
 
const EM::EMObjectemObject () const
 
virtual void startEdit (const EM::PosID &)
 
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

bool setPosition (const EM::PosID &, const Coord3 &)
 
bool setPosition (const Coord3 &c)
 
Geometry::ElementEditorcreateEditor (const EM::SectionID &)
 
float getNearestPolygon (int &polygon, EM::SectionID &sid, const Coord3 &, float zfactor) const
 
void getPidsOnPolygon (EM::PosID &nearestpid0, EM::PosID &nearestpid1, EM::PosID &insertpid, int polygon, const EM::SectionID &, const Coord3 &, float zfactor) const
 
- Protected Member Functions inherited from MPE::ObjectEditor
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
 
virtual void cloneMovingNode ()
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

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::PolygonBody.

Constructor & Destructor Documentation

MPE::PolygonBodyEditor::PolygonBodyEditor ( EM::PolygonBody )

Member Function Documentation

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

Implements MPE::ObjectEditor.

void MPE::PolygonBodyEditor::getInteractionInfo ( EM::PosID nearestpid0,
EM::PosID nearestpid1,
EM::PosID insertpid,
const Coord3 ,
float  zfactor 
) const
float MPE::PolygonBodyEditor::getNearestPolygon ( int &  polygon,
EM::SectionID sid,
const Coord3 ,
float  zfactor 
) const
protected
void MPE::PolygonBodyEditor::getPidsOnPolygon ( EM::PosID nearestpid0,
EM::PosID nearestpid1,
EM::PosID insertpid,
int  polygon,
const EM::SectionID ,
const Coord3 ,
float  zfactor 
) const
protected
static void MPE::PolygonBodyEditor::initClass ( )
static
bool MPE::PolygonBodyEditor::removeSelection ( const Selector< Coord3 > &  )
void MPE::PolygonBodyEditor::setLastClicked ( const EM::PosID )
bool MPE::PolygonBodyEditor::setPosition ( const EM::PosID ,
const Coord3  
)
protectedvirtual

Reimplemented from MPE::ObjectEditor.

bool MPE::PolygonBodyEditor::setPosition ( const Coord3 c)
inlineprotectedvirtual

Reimplemented from MPE::ObjectEditor.

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

Member Data Documentation

TypeSet<Coord3> MPE::PolygonBodyEditor::sowinghistory_
mutableprotected
Coord3 MPE::PolygonBodyEditor::sowingpivot_
protected

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