OpendTect  7.0
Classes | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
EM::Fault3DPainter Class Reference

3D fault painter. More...

Inheritance diagram for EM::Fault3DPainter:
[legend]

Classes

struct  Fault3DMarker
 
struct  StkMarkerInfo
 

Public Member Functions

 Fault3DPainter (FlatView::Viewer &, const EM::ObjectID &)
 
 ~Fault3DPainter ()
 
void enableKnots (bool)
 
void enableLine (bool)
 
void enablePaint (bool paintenable)
 
int getActiveStickId () const
 
FlatView::AuxDatagetAuxData (const EM::PosID *) const
 
void getDisplayedSticks (ObjectSet< StkMarkerInfo > &)
 
EM::FaultIDgetFaultID ()
 
const TrcKeyZSamplinggetTrcKeyZSampling () const
 
bool hasDiffActiveStick (const EM::PosID *) const
 
void paint ()
 
void setActiveStick (const EM::PosID &)
 
void setFlatPosData (const FlatPosData *)
 
void setMarkerLineStyle (const OD::LineStyle &)
 
void setPath (const TrcKeyPath &)
 
void setRandomLineID (RandomLineID)
 
void setTrcKeyZSampling (const TrcKeyZSampling &, bool)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
virtual CallBackertrueCaller ()
 

Public Attributes

Notifier< Fault3DPainterabouttorepaint_
 
Notifier< Fault3DPainterrepaintdone_
 

Protected Member Functions

bool addPolyLine ()
 
virtual void fault3DChangedCB (CallBacker *)
 
void genIntersectionAuxData (EM::Fault3D &, Fault3DMarker *, const Geometry::PrimitiveSet *coordps, TypeSet< Coord3 > &intxnposs)
 
FlatView::Point getFVAuxPoint (const Coord3 &) const
 
Coord getNormalInRandLine (int idx) const
 
bool paintIntersection (EM::Fault3D &, Fault3DMarker *)
 
bool paintIntersection (EM::Fault3D &f, const EM::SectionID &, Fault3DMarker *fm)
 
bool paintPlaneIntxn (EM::Fault3D &, Fault3DMarker *, Geometry::ExplPlaneIntersection *, TypeSet< Coord3 > &)
 
bool paintStickOnPlane (const Geometry::FaultStickSurface &, RowCol &, const StepInterval< int > &, const Coord3 &, FlatView::AuxData &)
 
bool paintStickOnRLine (const Geometry::FaultStickSurface &, RowCol &, const StepInterval< int > &, const Coord3 &, FlatView::AuxData &)
 
bool paintSticks (EM::Fault3D &, Fault3DMarker *)
 
bool paintSticks (EM::Fault3D &flt, const EM::SectionID &, Fault3DMarker *fm)
 
void removePolyLine ()
 
void repaintFault3D ()
 

Protected Attributes

int activestickid_
 
TypeSet< int > bendpts_
 
EM::FaultID emid_
 
ObjectSet< Fault3DMarkerf3dmarkers_
 
const FlatPosDataflatposdata_
 
bool knotenabled_
 
bool linenabled_
 
MarkerStyle2D markerstyle_
 
bool paintenable_
 
const TrcKeyPathpath_
 
RandomLineID rdlid_
 
TrcKeyZSampling tkzs_
 
FlatView::Viewerviewer_
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

3D fault painter.

<>

Constructor & Destructor Documentation

◆ Fault3DPainter()

EM::Fault3DPainter::Fault3DPainter ( FlatView::Viewer ,
const EM::ObjectID  
)

◆ ~Fault3DPainter()

EM::Fault3DPainter::~Fault3DPainter ( )

Member Function Documentation

◆ addPolyLine()

bool EM::Fault3DPainter::addPolyLine ( )
protected

◆ enableKnots()

void EM::Fault3DPainter::enableKnots ( bool  )

◆ enableLine()

void EM::Fault3DPainter::enableLine ( bool  )

◆ enablePaint()

void EM::Fault3DPainter::enablePaint ( bool  paintenable)

◆ fault3DChangedCB()

virtual void EM::Fault3DPainter::fault3DChangedCB ( CallBacker )
protectedvirtual

◆ genIntersectionAuxData()

void EM::Fault3DPainter::genIntersectionAuxData ( EM::Fault3D ,
Fault3DMarker ,
const Geometry::PrimitiveSet coordps,
TypeSet< Coord3 > &  intxnposs 
)
protected

◆ getActiveStickId()

int EM::Fault3DPainter::getActiveStickId ( ) const
inline

◆ getAuxData()

FlatView::AuxData* EM::Fault3DPainter::getAuxData ( const EM::PosID ) const

◆ getDisplayedSticks()

void EM::Fault3DPainter::getDisplayedSticks ( ObjectSet< StkMarkerInfo > &  )

◆ getFaultID()

EM::FaultID& EM::Fault3DPainter::getFaultID ( )
inline

◆ getFVAuxPoint()

FlatView::Point EM::Fault3DPainter::getFVAuxPoint ( const Coord3 ) const
protected

◆ getNormalInRandLine()

Coord EM::Fault3DPainter::getNormalInRandLine ( int  idx) const
protected

◆ getTrcKeyZSampling()

const TrcKeyZSampling& EM::Fault3DPainter::getTrcKeyZSampling ( ) const
inline

◆ hasDiffActiveStick()

bool EM::Fault3DPainter::hasDiffActiveStick ( const EM::PosID ) const

◆ paint()

void EM::Fault3DPainter::paint ( )

◆ paintIntersection() [1/2]

bool EM::Fault3DPainter::paintIntersection ( EM::Fault3D ,
Fault3DMarker  
)
protected

◆ paintIntersection() [2/2]

bool EM::Fault3DPainter::paintIntersection ( EM::Fault3D f,
const EM::SectionID ,
Fault3DMarker fm 
)
inlineprotected

◆ paintPlaneIntxn()

bool EM::Fault3DPainter::paintPlaneIntxn ( EM::Fault3D ,
Fault3DMarker ,
Geometry::ExplPlaneIntersection ,
TypeSet< Coord3 > &   
)
protected

◆ paintStickOnPlane()

bool EM::Fault3DPainter::paintStickOnPlane ( const Geometry::FaultStickSurface ,
RowCol ,
const StepInterval< int > &  ,
const Coord3 ,
FlatView::AuxData  
)
protected

◆ paintStickOnRLine()

bool EM::Fault3DPainter::paintStickOnRLine ( const Geometry::FaultStickSurface ,
RowCol ,
const StepInterval< int > &  ,
const Coord3 ,
FlatView::AuxData  
)
protected

◆ paintSticks() [1/2]

bool EM::Fault3DPainter::paintSticks ( EM::Fault3D ,
Fault3DMarker  
)
protected

◆ paintSticks() [2/2]

bool EM::Fault3DPainter::paintSticks ( EM::Fault3D flt,
const EM::SectionID ,
Fault3DMarker fm 
)
inlineprotected

◆ removePolyLine()

void EM::Fault3DPainter::removePolyLine ( )
protected

◆ repaintFault3D()

void EM::Fault3DPainter::repaintFault3D ( )
protected

◆ setActiveStick()

void EM::Fault3DPainter::setActiveStick ( const EM::PosID )

◆ setFlatPosData()

void EM::Fault3DPainter::setFlatPosData ( const FlatPosData )

◆ setMarkerLineStyle()

void EM::Fault3DPainter::setMarkerLineStyle ( const OD::LineStyle )

◆ setPath()

void EM::Fault3DPainter::setPath ( const TrcKeyPath )

◆ setRandomLineID()

void EM::Fault3DPainter::setRandomLineID ( RandomLineID  )

◆ setTrcKeyZSampling()

void EM::Fault3DPainter::setTrcKeyZSampling ( const TrcKeyZSampling ,
bool   
)

Member Data Documentation

◆ abouttorepaint_

Notifier<Fault3DPainter> EM::Fault3DPainter::abouttorepaint_

◆ activestickid_

int EM::Fault3DPainter::activestickid_
protected

◆ bendpts_

TypeSet<int> EM::Fault3DPainter::bendpts_
protected

◆ emid_

EM::FaultID EM::Fault3DPainter::emid_
protected

◆ f3dmarkers_

ObjectSet<Fault3DMarker> EM::Fault3DPainter::f3dmarkers_
protected

◆ flatposdata_

const FlatPosData* EM::Fault3DPainter::flatposdata_
protected

◆ knotenabled_

bool EM::Fault3DPainter::knotenabled_
protected

◆ linenabled_

bool EM::Fault3DPainter::linenabled_
protected

◆ markerstyle_

MarkerStyle2D EM::Fault3DPainter::markerstyle_
protected

◆ paintenable_

bool EM::Fault3DPainter::paintenable_
protected

◆ path_

const TrcKeyPath* EM::Fault3DPainter::path_
protected

◆ rdlid_

RandomLineID EM::Fault3DPainter::rdlid_
protected

◆ repaintdone_

Notifier<Fault3DPainter> EM::Fault3DPainter::repaintdone_

◆ tkzs_

TrcKeyZSampling EM::Fault3DPainter::tkzs_
protected

◆ viewer_

FlatView::Viewer& EM::Fault3DPainter::viewer_
protected

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