OpendTect-6_4  6.4
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EM::FaultStickSetGeometry Class Reference

FaultStickSet geometry. More...

Inheritance diagram for EM::FaultStickSetGeometry:
[legend]

Classes

struct  StickInfo
 

Public Member Functions

 FaultStickSetGeometry (Surface &)
 
 ~FaultStickSetGeometry ()
 
int nrSticks (const SectionID &) const
 
int nrKnots (const SectionID &, int sticknr) const
 
bool insertStick (const SectionID &, int sticknr, int firstcol, const Coord3 &pos, const Coord3 &editnormal, bool addtohistory)
 
bool insertStick (const SectionID &, int sticknr, int firstcol, const Coord3 &pos, const Coord3 &editnormal, const MultiID *pickedmid, const char *pickednm, bool addtohistory)
 
bool insertStick (const SectionID &, int sticknr, int firstcol, const Coord3 &pos, const Coord3 &editnormal, Pos::GeomID pickedgeomid, bool addtohistory)
 
bool removeStick (const SectionID &, int sticknr, bool addtohistory)
 
bool insertKnot (const SectionID &, const SubID &, const Coord3 &pos, bool addtohistory)
 
bool removeKnot (const SectionID &, const SubID &, bool addtohistory)
 
bool pickedOnPlane (const SectionID &, int sticknr) const
 
bool pickedOn2DLine (const SectionID &, int sticknr) const
 
bool pickedOnHorizon (const SectionID &, int sticknr) const
 
const MultiIDpickedMultiID (const SectionID &, int sticknr) const
 
const char * pickedName (const SectionID &, int sticknr) const
 
Pos::GeomID pickedGeomID (const SectionID &, int sticknr) const
 
Geometry::FaultStickSetsectionGeometry (const SectionID &)
 
const Geometry::FaultStickSetsectionGeometry (const SectionID &) const
 
EMObjectIteratorcreateIterator (const SectionID &, const TrcKeyZSampling *=0) const
 
void fillPar (IOPar &) const
 
bool usePar (const IOPar &)
 
- Public Member Functions inherited from EM::FaultGeometry
virtual const Coord3getEditPlaneNormal (const SectionID &, int sticknr) const
 
virtual void copySelectedSticksTo (FaultStickSetGeometry &destfssg, const SectionID &destsid, bool addtohistory) const
 
virtual int nrSelectedSticks () const
 
virtual void selectAllSticks (bool select=true)
 
virtual void removeSelectedSticks (bool addtohistory)
 
virtual void selectStickDoubles (bool select=true, const FaultGeometry *ref=0)
 
virtual void removeSelectedDoubles (bool addtohistory, const FaultGeometry *ref=0)
 
virtual int nrStickDoubles (const SectionID &, int sticknr, const FaultGeometry *ref=0) const
 
- Public Member Functions inherited from EM::SurfaceGeometry
 SurfaceGeometry (Surface &)
 
virtual ~SurfaceGeometry ()
 
virtual void removeAll ()
 
virtual bool enableChecks (bool yn)
 
virtual bool isChecksEnabled () const
 
virtual bool isNodeOK (const PosID &) const
 
int nrSections () const
 
SectionID sectionID (int idx) const
 
SectionID sectionID (const char *) const
 
bool hasSection (const SectionID &) const
 
int sectionIndex (const SectionID &) const
 
const char * sectionName (const SectionID &) const
 
bool setSectionName (const SectionID &, const char *, bool addtohistory)
 
SectionID addSection (const char *nm, bool addtohistory)
 
SectionID addSection (const char *nm, const SectionID &, bool addtohistory)
 
virtual bool removeSection (const SectionID &, bool addtohistory)
 
virtual SectionID cloneSection (const SectionID &)
 
virtual int getConnectedPos (const PosID &posid, TypeSet< PosID > *res) const
 
virtual void getLinkedPos (const PosID &posid, TypeSet< PosID > &) const
 
virtual bool isAtEdge (const PosID &) const
 
bool isChanged (int) const
 
void resetChangedFlag ()
 
virtual bool isLoaded () const
 
virtual bool isFullResolution () const
 
virtual Executorloader (const SurfaceIODataSelection *s=0)
 
virtual Executorsaver (const SurfaceIODataSelection *s=0, const MultiID *key=0)
 
virtual int findPos (const SectionID &, const Interval< float > &x, const Interval< float > &y, const Interval< float > &z, TypeSet< PosID > *res) const
 
virtual int findPos (const Interval< float > &x, const Interval< float > &y, const Interval< float > &z, TypeSet< PosID > *) const
 
virtual int findPos (const TrcKeyZSampling &, TypeSet< 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...
 

Protected Member Functions

Geometry::FaultStickSetcreateSectionGeometry () const
 
int indexOf (const SectionID &sid, int stricnr) const
 
- Protected Member Functions inherited from EM::FaultGeometry
void selectSticks (bool select=true, const FaultGeometry *doublesref=0)
 
bool removeSelStick (int selidx, bool addtohistory, const FaultGeometry *doublesref=0)
 
 FaultGeometry (Surface &surf)
 
- Protected Member Functions inherited from EM::SurfaceGeometry
SectionID addSectionInternal (Geometry::Element *, const char *nm, const SectionID &, bool addtohistory)
 
void geomChangeCB (CallBacker *)
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

ObjectSet< StickInfostickinfo_
 
- Protected Attributes inherited from EM::SurfaceGeometry
Surfacesurface_
 
ObjectSet< Geometry::Elementsections_
 
TypeSet< SectionIDsids_
 
BufferStringSet sectionnames_
 
bool changed_
 

Detailed Description

FaultStickSet geometry.

Constructor & Destructor Documentation

EM::FaultStickSetGeometry::FaultStickSetGeometry ( Surface )
EM::FaultStickSetGeometry::~FaultStickSetGeometry ( )

Member Function Documentation

EMObjectIterator* EM::FaultStickSetGeometry::createIterator ( const SectionID ,
const TrcKeyZSampling = 0 
) const
virtual

Reimplemented from EM::SurfaceGeometry.

Geometry::FaultStickSet* EM::FaultStickSetGeometry::createSectionGeometry ( ) const
protectedvirtual

Implements EM::SurfaceGeometry.

void EM::FaultStickSetGeometry::fillPar ( IOPar ) const
virtual

Reimplemented from EM::SurfaceGeometry.

int EM::FaultStickSetGeometry::indexOf ( const SectionID sid,
int  stricnr 
) const
protected
bool EM::FaultStickSetGeometry::insertKnot ( const SectionID ,
const SubID ,
const Coord3 pos,
bool  addtohistory 
)
virtual

Reimplemented from EM::FaultGeometry.

bool EM::FaultStickSetGeometry::insertStick ( const SectionID ,
int  sticknr,
int  firstcol,
const Coord3 pos,
const Coord3 editnormal,
bool  addtohistory 
)
virtual

Reimplemented from EM::FaultGeometry.

bool EM::FaultStickSetGeometry::insertStick ( const SectionID ,
int  sticknr,
int  firstcol,
const Coord3 pos,
const Coord3 editnormal,
const MultiID pickedmid,
const char *  pickednm,
bool  addtohistory 
)
bool EM::FaultStickSetGeometry::insertStick ( const SectionID ,
int  sticknr,
int  firstcol,
const Coord3 pos,
const Coord3 editnormal,
Pos::GeomID  pickedgeomid,
bool  addtohistory 
)
int EM::FaultStickSetGeometry::nrKnots ( const SectionID ,
int  sticknr 
) const
int EM::FaultStickSetGeometry::nrSticks ( const SectionID ) const
Pos::GeomID EM::FaultStickSetGeometry::pickedGeomID ( const SectionID ,
int  sticknr 
) const
const MultiID* EM::FaultStickSetGeometry::pickedMultiID ( const SectionID ,
int  sticknr 
) const
virtual

Reimplemented from EM::FaultGeometry.

const char* EM::FaultStickSetGeometry::pickedName ( const SectionID ,
int  sticknr 
) const
virtual

Reimplemented from EM::FaultGeometry.

bool EM::FaultStickSetGeometry::pickedOn2DLine ( const SectionID ,
int  sticknr 
) const
bool EM::FaultStickSetGeometry::pickedOnHorizon ( const SectionID ,
int  sticknr 
) const
bool EM::FaultStickSetGeometry::pickedOnPlane ( const SectionID ,
int  sticknr 
) const
bool EM::FaultStickSetGeometry::removeKnot ( const SectionID ,
const SubID ,
bool  addtohistory 
)
virtual

Reimplemented from EM::FaultGeometry.

bool EM::FaultStickSetGeometry::removeStick ( const SectionID ,
int  sticknr,
bool  addtohistory 
)
virtual

Reimplemented from EM::FaultGeometry.

Geometry::FaultStickSet* EM::FaultStickSetGeometry::sectionGeometry ( const SectionID )
virtual

Reimplemented from EM::SurfaceGeometry.

const Geometry::FaultStickSet* EM::FaultStickSetGeometry::sectionGeometry ( const SectionID ) const
virtual

Reimplemented from EM::SurfaceGeometry.

bool EM::FaultStickSetGeometry::usePar ( const IOPar )
virtual

Reimplemented from EM::SurfaceGeometry.

Member Data Documentation

ObjectSet<StickInfo> EM::FaultStickSetGeometry::stickinfo_
protected

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