OpendTect-6_4  6.4
Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
EM::HorizonPainter2D Class Reference

2D horizon painter More...

Inheritance diagram for EM::HorizonPainter2D:
[legend]

Public Member Functions

 HorizonPainter2D (FlatView::Viewer &, const EM::ObjectID &)
 
 ~HorizonPainter2D ()
 
void setTrcKeyZSampling (const TrcKeyZSampling &, bool upd=false)
 
void setGeomID (Pos::GeomID)
 
void enableLine (bool)
 
void enableSeed (bool)
 
bool seedEnable () const
 
TypeSet< int > & getTrcNos ()
 
TypeSet< float > & getDistances ()
 
void paint ()
 
void displayIntersection (bool yn)
 
 struct (EarthModel) Marker2D
 
void getDisplayedHor (ObjectSet< Marker2D > &)
 
void displaySelections (const TypeSet< EM::PosID > &)
 
void removeSelections ()
 
void updatePreferColors ()
 
void setLine2DInterSectionSet (const Line2DInterSectionSet *)
 
const Line2DInterSectionSetgetLine2DInterSectionSet ()
 
- 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...
 

Public Attributes

Notifier< HorizonPainter2Dabouttorepaint_
 
Notifier< HorizonPainter2Drepaintdone_
 

Protected Types

typedef ObjectSet< Marker2D > SectionMarker2DLine
 

Protected Member Functions

bool addPolyLine ()
 
void removePolyLine ()
 
void removeIntersectionMarkers ()
 
void horChangeCB (CallBacker *)
 
void changePolyLineColor ()
 
void updateIntersectionMarkers (int sid)
 
Marker2D * create2DMarker (const EM::SectionID &, float, float)
 
bool calcLine2DIntersections ()
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

EM::ObjectID id_
 
TrcKeyZSampling tkzs_
 
OD::LineStyle markerlinestyle_
 
MarkerStyle2D markerstyle_
 
FlatView::Viewerviewer_
 
Pos::GeomID geomid_
 
TypeSet< int > trcnos_
 
TypeSet< float > distances_
 
ObjectSet< SectionMarker2DLinemarkerline_
 
Marker2D * markerseeds_
 
bool linenabled_
 
bool seedenabled_
 
bool intersection_
 
Line2DInterSectionSet intsectset_
 
ObjectSet< Marker2D > intsectmarks_
 
Marker2D * selectionpoints_
 

Private Member Functions

Marker2D * create2DMarker (const EM::SectionID &)
 
void updateSelectionColor ()
 

Detailed Description

2D horizon painter

Member Typedef Documentation

Constructor & Destructor Documentation

EM::HorizonPainter2D::HorizonPainter2D ( FlatView::Viewer ,
const EM::ObjectID  
)
EM::HorizonPainter2D::~HorizonPainter2D ( )

Member Function Documentation

bool EM::HorizonPainter2D::addPolyLine ( )
protected
bool EM::HorizonPainter2D::calcLine2DIntersections ( )
protected
void EM::HorizonPainter2D::changePolyLineColor ( )
protected
Marker2D* EM::HorizonPainter2D::create2DMarker ( const EM::SectionID ,
float  ,
float   
)
protected
Marker2D* EM::HorizonPainter2D::create2DMarker ( const EM::SectionID )
private
void EM::HorizonPainter2D::displayIntersection ( bool  yn)
void EM::HorizonPainter2D::displaySelections ( const TypeSet< EM::PosID > &  )
void EM::HorizonPainter2D::enableLine ( bool  )
void EM::HorizonPainter2D::enableSeed ( bool  )
void EM::HorizonPainter2D::getDisplayedHor ( ObjectSet< Marker2D > &  )
TypeSet<float>& EM::HorizonPainter2D::getDistances ( )
inline
const Line2DInterSectionSet* EM::HorizonPainter2D::getLine2DInterSectionSet ( )
inline
TypeSet<int>& EM::HorizonPainter2D::getTrcNos ( )
inline
void EM::HorizonPainter2D::horChangeCB ( CallBacker )
protected
void EM::HorizonPainter2D::paint ( )
void EM::HorizonPainter2D::removeIntersectionMarkers ( )
protected
void EM::HorizonPainter2D::removePolyLine ( )
protected
void EM::HorizonPainter2D::removeSelections ( )
bool EM::HorizonPainter2D::seedEnable ( ) const
inline
void EM::HorizonPainter2D::setGeomID ( Pos::GeomID  )
void EM::HorizonPainter2D::setLine2DInterSectionSet ( const Line2DInterSectionSet )
void EM::HorizonPainter2D::setTrcKeyZSampling ( const TrcKeyZSampling ,
bool  upd = false 
)
EM::HorizonPainter2D::struct ( EarthModel  )
inline
void EM::HorizonPainter2D::updateIntersectionMarkers ( int  sid)
protected
void EM::HorizonPainter2D::updatePreferColors ( )
void EM::HorizonPainter2D::updateSelectionColor ( )
private

Member Data Documentation

Notifier<HorizonPainter2D> EM::HorizonPainter2D::abouttorepaint_
TypeSet<float> EM::HorizonPainter2D::distances_
protected
Pos::GeomID EM::HorizonPainter2D::geomid_
protected
EM::ObjectID EM::HorizonPainter2D::id_
protected
bool EM::HorizonPainter2D::intersection_
protected
ObjectSet<Marker2D> EM::HorizonPainter2D::intsectmarks_
protected
Line2DInterSectionSet EM::HorizonPainter2D::intsectset_
protected
bool EM::HorizonPainter2D::linenabled_
protected
ObjectSet<SectionMarker2DLine> EM::HorizonPainter2D::markerline_
protected
OD::LineStyle EM::HorizonPainter2D::markerlinestyle_
protected
Marker2D* EM::HorizonPainter2D::markerseeds_
protected
MarkerStyle2D EM::HorizonPainter2D::markerstyle_
protected
Notifier<HorizonPainter2D> EM::HorizonPainter2D::repaintdone_
bool EM::HorizonPainter2D::seedenabled_
protected
Marker2D* EM::HorizonPainter2D::selectionpoints_
protected
TrcKeyZSampling EM::HorizonPainter2D::tkzs_
protected
TypeSet<int> EM::HorizonPainter2D::trcnos_
protected
FlatView::Viewer& EM::HorizonPainter2D::viewer_
protected

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