OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
uiStratRefTree Class Reference

Displays a Strat::RefTree. More...

Inheritance diagram for uiStratRefTree:
[legend]

Public Member Functions

 uiStratRefTree (uiParent *)
 
 ~uiStratRefTree ()
 
bool anyChg () const
 
bool canMoveUnit (bool)
 
void expand (bool) const
 
uiTreeViewItemgetLVItFromFullCode (const char *) const
 
void handleMenu (uiTreeViewItem *)
 
bool haveTimes () const
 
void makeTreeEditable (bool) const
 
void moveUnit (bool)
 
const char * name () const
 
void setEntranceDefaultTimes ()
 
void setName (const char *)
 
void setNoChg ()
 
void setTree ()
 
void setTree (Strat::RefTree &, bool force=false)
 
const Strat::RefTreetree () const
 
uiTreeViewtreeView ()
 
const uiTreeViewtreeView () const
 
void updateLithoCol ()
 
void updateUnitsPixmaps ()
 
- 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 ()
 

Protected Member Functions

void addLithologies (Strat::LeavedUnitRef &, const TypeSet< Strat::LithologyID > &)
 
void addNode (uiTreeViewItem *, const Strat::NodeUnitRef &, bool)
 
void assignLevelBoundary (uiTreeViewItem *)
 
uiPixmapcreateUnitPixmap (const OD::Color &) const
 
void ensureUnitTimeOK (Strat::NodeUnitRef &)
 
void getAvailableTime (const Strat::NodeUnitRef &, Interval< float > &) const
 
int getChildIdxFromTime (const Strat::NodeUnitRef &, float) const
 
BufferString getFullCodeFromLVIt (const uiTreeViewItem *) const
 
void insertSubUnit (uiTreeViewItem *)
 
void insertUnitInLVIT (uiTreeViewItem *, int, const Strat::UnitRef &) const
 
bool isLeaved (uiTreeViewItem *) const
 
void mousePressedCB (CallBacker *)
 
void rClickCB (CallBacker *)
 
void removeUnit (uiTreeViewItem *)
 
Strat::NodeUnitRefreplaceUnit (Strat::NodeUnitRef &, bool byleaved)
 
void setNodesDefaultTimes (const Strat::NodeUnitRef &)
 
void setUnitLvl (const char *)
 
void subdivideUnit (uiTreeViewItem *)
 
void updateUnitProperties (uiTreeViewItem *)
 

Protected Attributes

bool anychange_ = false
 
uiTreeViewlv_
 
Strat::RefTreetree_
 

Friends

class uiStratDispToTree
 

Additional Inherited Members

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

Detailed Description

Displays a Strat::RefTree.

<>

Constructor & Destructor Documentation

◆ uiStratRefTree()

uiStratRefTree::uiStratRefTree ( uiParent )

◆ ~uiStratRefTree()

uiStratRefTree::~uiStratRefTree ( )

Member Function Documentation

◆ addLithologies()

void uiStratRefTree::addLithologies ( Strat::LeavedUnitRef ,
const TypeSet< Strat::LithologyID > &   
)
protected

◆ addNode()

void uiStratRefTree::addNode ( uiTreeViewItem ,
const Strat::NodeUnitRef ,
bool   
)
protected

◆ anyChg()

bool uiStratRefTree::anyChg ( ) const
inline

◆ assignLevelBoundary()

void uiStratRefTree::assignLevelBoundary ( uiTreeViewItem )
protected

◆ canMoveUnit()

bool uiStratRefTree::canMoveUnit ( bool  )

◆ createUnitPixmap()

uiPixmap* uiStratRefTree::createUnitPixmap ( const OD::Color ) const
protected

◆ ensureUnitTimeOK()

void uiStratRefTree::ensureUnitTimeOK ( Strat::NodeUnitRef )
protected

◆ expand()

void uiStratRefTree::expand ( bool  ) const

◆ getAvailableTime()

void uiStratRefTree::getAvailableTime ( const Strat::NodeUnitRef ,
Interval< float > &   
) const
protected

◆ getChildIdxFromTime()

int uiStratRefTree::getChildIdxFromTime ( const Strat::NodeUnitRef ,
float   
) const
protected

◆ getFullCodeFromLVIt()

BufferString uiStratRefTree::getFullCodeFromLVIt ( const uiTreeViewItem ) const
protected

◆ getLVItFromFullCode()

uiTreeViewItem* uiStratRefTree::getLVItFromFullCode ( const char *  ) const

◆ handleMenu()

void uiStratRefTree::handleMenu ( uiTreeViewItem )

◆ haveTimes()

bool uiStratRefTree::haveTimes ( ) const

◆ insertSubUnit()

void uiStratRefTree::insertSubUnit ( uiTreeViewItem )
protected

◆ insertUnitInLVIT()

void uiStratRefTree::insertUnitInLVIT ( uiTreeViewItem ,
int  ,
const Strat::UnitRef  
) const
protected

◆ isLeaved()

bool uiStratRefTree::isLeaved ( uiTreeViewItem ) const
protected

◆ makeTreeEditable()

void uiStratRefTree::makeTreeEditable ( bool  ) const

◆ mousePressedCB()

void uiStratRefTree::mousePressedCB ( CallBacker )
protected

◆ moveUnit()

void uiStratRefTree::moveUnit ( bool  )

◆ name()

const char* uiStratRefTree::name ( ) const

◆ rClickCB()

void uiStratRefTree::rClickCB ( CallBacker )
protected

◆ removeUnit()

void uiStratRefTree::removeUnit ( uiTreeViewItem )
protected

◆ replaceUnit()

Strat::NodeUnitRef* uiStratRefTree::replaceUnit ( Strat::NodeUnitRef ,
bool  byleaved 
)
protected

◆ setEntranceDefaultTimes()

void uiStratRefTree::setEntranceDefaultTimes ( )

◆ setName()

void uiStratRefTree::setName ( const char *  )

◆ setNoChg()

void uiStratRefTree::setNoChg ( )
inline

◆ setNodesDefaultTimes()

void uiStratRefTree::setNodesDefaultTimes ( const Strat::NodeUnitRef )
protected

◆ setTree() [1/2]

void uiStratRefTree::setTree ( )

◆ setTree() [2/2]

void uiStratRefTree::setTree ( Strat::RefTree ,
bool  force = false 
)

◆ setUnitLvl()

void uiStratRefTree::setUnitLvl ( const char *  )
protected

◆ subdivideUnit()

void uiStratRefTree::subdivideUnit ( uiTreeViewItem )
protected

◆ tree()

const Strat::RefTree* uiStratRefTree::tree ( ) const
inline

◆ treeView() [1/2]

uiTreeView* uiStratRefTree::treeView ( )
inline

◆ treeView() [2/2]

const uiTreeView* uiStratRefTree::treeView ( ) const
inline

◆ updateLithoCol()

void uiStratRefTree::updateLithoCol ( )

◆ updateUnitProperties()

void uiStratRefTree::updateUnitProperties ( uiTreeViewItem )
protected

◆ updateUnitsPixmaps()

void uiStratRefTree::updateUnitsPixmaps ( )

Friends And Related Function Documentation

◆ uiStratDispToTree

friend class uiStratDispToTree
friend

Member Data Documentation

◆ anychange_

bool uiStratRefTree::anychange_ = false
protected

◆ lv_

uiTreeView* uiStratRefTree::lv_
protected

◆ tree_

Strat::RefTree* uiStratRefTree::tree_
protected

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