OpendTect  6.6
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
uiODVw2DTreeItem Class Reference
Inheritance diagram for uiODVw2DTreeItem:
[legend]

Public Member Functions

 uiODVw2DTreeItem (const uiString &)
 
 ~uiODVw2DTreeItem ()
 
void addKeyBoardEvent (int id)
 
void fillPar (IOPar &) const
 
const uiODVw2DTreeItemgetVW2DItem (int displayid) const
 
bool setZAxisTransform (ZAxisTransform *)
 
void updSampling (const TrcKeyZSampling &, bool)
 
void updSelSpec (const Attrib::SelSpec *, bool wva)
 
void usePar (const IOPar &)
 
- Public Member Functions inherited from uiTreeItem
 uiTreeItem (const uiString &nm=uiString::emptyString())
 
virtual ~uiTreeItem ()
 
virtual bool addChild (uiTreeItem *child, bool below)
 
bool allChildrenChecked () const
 
bool allChildrenCollapsed () const
 
bool allChildrenExpanded () const
 
bool allChildrenUnchecked () const
 
bool areAllParentsChecked ()
 
virtual bool askContinueAndSaveIfNeeded (bool withcancel)
 
NotifierAccesscheckStatusChange ()
 
void collapse ()
 
void entryInEditMode (int col)
 
void expand ()
 
virtual uiTreeItemfindChild (const char *name)
 
virtual const uiTreeItemfindChild (const char *name) const
 
virtual uiTreeItemfindChild (int selkey)
 
virtual const uiTreeItemfindChild (int selkey) const
 
virtual void findChildren (const char *, ObjectSet< uiTreeItem > &)
 
uiTreeItemgetChild (int)
 
const uiTreeItemgetChild (int) const
 
ObjectSet< uiTreeItem > & getChildren ()
 
const ObjectSet< uiTreeItem > & getChildren () const
 
uiTreeViewItemgetItem ()
 
const uiTreeViewItemgetItem () const
 
template<class T >
bool getProperty (const char *key, T &res) const
 
bool getPropertyPtr (const char *key, void *&) const
 
bool hasChildren () const
 
bool hasGrandChildren () const
 
virtual bool isChecked () const
 
bool isCollapsed () const
 
bool isExpanded () const
 
virtual bool isSelected () const
 
NotifierAccesskeyPressed ()
 
uiTreeItemlastChild ()
 
virtual void moveItem (uiTreeItem *after)
 
virtual void moveItemToTop ()
 
uiString name () const
 
int nrChildren () const
 
uiTreeItemparentTreeItem ()
 
virtual void prepareForShutdown ()
 
virtual void removeChild (uiTreeItem *)
 
virtual bool select ()
 
virtual int selectionKey () const
 
void setChecked (bool yn, bool trigger=false)
 
void setName (const uiString &nm)
 
template<class T >
void setProperty (const char *key, const T &)
 
void setPropertyPtr (const char *key, void *)
 
virtual uiTreeItemsiblingAbove ()
 
virtual uiTreeItemsiblingBelow ()
 
virtual int siblingIndex () const
 
virtual void translateText ()
 
virtual void updateCheckStatus ()
 
virtual void updateColumnText (int col)
 
void updateSelTreeColumnText (int col)
 
- 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
 

Static Public Member Functions

static bool create (uiTreeItem *, const uiODViewer2D &, int displayid)
 
static bool create (uiTreeItem *, int vwrvisid, int displayid)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Protected Member Functions

void addAction (uiMenu &mnu, uiString txt, int id, const char *icon=0, bool enab=true)
 
uiODApplMgrapplMgr ()
 
uiMenucreateAddMenu ()
 
uiMenucreateRemoveMenu ()
 
virtual void dataTransformCB (CallBacker *)
 
void doSave ()
 
void doSaveAs ()
 
int getNewItemID () const
 
virtual bool handleStdSubMenu (int menuid)
 
virtual void hideAllChildren ()
 
virtual const char * iconName () const
 
virtual bool init ()
 
virtual void insertStdSubMenu (uiMenu &)
 
bool isAddItem (int id, bool addall) const
 
bool isRemoveItem (int id, bool removeall) const
 
void keyPressedCB (CallBacker *)
 
virtual void removeAllChildren ()
 
void renameVisObj ()
 
virtual void showAllChildren ()
 
virtual void updateCS (const TrcKeyZSampling &, bool)
 
virtual void updateSelSpec (const Attrib::SelSpec *, bool wva)
 
uiODViewer2Dviewer2D ()
 
- Protected Member Functions inherited from uiTreeItem
virtual bool addChld (uiTreeItem *, bool below, bool downwards)
 
virtual bool anyButtonClick (uiTreeViewItem *)
 
virtual bool doubleClick (uiTreeViewItem *)
 
virtual uiParentgetUiParent () const
 
virtual bool isExpandable () const
 
virtual bool isSelectable () const
 
virtual const char * parentType () const =0
 
virtual void removeItem (uiTreeViewItem *)
 
virtual void renameItem (uiTreeViewItem *)
 
virtual bool rightClick (uiTreeViewItem *)
 
virtual bool selectWithKey (int selkey)
 
virtual void setTreeViewItem (uiTreeViewItem *)
 
virtual bool shouldSelect (int selectionkey) const
 
virtual bool showSubMenu ()
 
virtual int uiTreeViewItemType () const
 
virtual void updateSelection (int selectionKey, bool dw=false)
 
virtual bool useParentType () const
 

Static Protected Member Functions

static uiString sChangeSetup ()
 

Protected Attributes

ZAxisTransformdatatransform_
 
int displayid_
 
int objid_
 
- Protected Attributes inherited from uiTreeItem
ObjectSet< uiTreeItemchildren_
 
uiString name_
 
uiTreeItemparent_
 
IOPar properties_
 
uiTreeViewItemuitreeviewitem_
 

Private Member Functions

void doStoreObject (bool)
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ uiODVw2DTreeItem()

uiODVw2DTreeItem::uiODVw2DTreeItem ( const uiString )

◆ ~uiODVw2DTreeItem()

uiODVw2DTreeItem::~uiODVw2DTreeItem ( )

Member Function Documentation

◆ addAction()

void uiODVw2DTreeItem::addAction ( uiMenu mnu,
uiString  txt,
int  id,
const char *  icon = 0,
bool  enab = true 
)
protected

◆ addKeyBoardEvent()

void uiODVw2DTreeItem::addKeyBoardEvent ( int  id)

◆ applMgr()

uiODApplMgr* uiODVw2DTreeItem::applMgr ( )
protected

◆ create() [1/2]

static bool uiODVw2DTreeItem::create ( uiTreeItem ,
const uiODViewer2D ,
int  displayid 
)
static

◆ create() [2/2]

static bool uiODVw2DTreeItem::create ( uiTreeItem ,
int  vwrvisid,
int  displayid 
)
static

◆ createAddMenu()

uiMenu* uiODVw2DTreeItem::createAddMenu ( )
protected

◆ createRemoveMenu()

uiMenu* uiODVw2DTreeItem::createRemoveMenu ( )
protected

◆ dataTransformCB()

virtual void uiODVw2DTreeItem::dataTransformCB ( CallBacker )
inlineprotectedvirtual

◆ doSave()

void uiODVw2DTreeItem::doSave ( )
protected

◆ doSaveAs()

void uiODVw2DTreeItem::doSaveAs ( )
protected

◆ doStoreObject()

void uiODVw2DTreeItem::doStoreObject ( bool  )
private

◆ fillPar()

void uiODVw2DTreeItem::fillPar ( IOPar ) const

◆ getNewItemID()

int uiODVw2DTreeItem::getNewItemID ( ) const
protected

◆ getVW2DItem()

const uiODVw2DTreeItem* uiODVw2DTreeItem::getVW2DItem ( int  displayid) const

◆ handleStdSubMenu()

virtual bool uiODVw2DTreeItem::handleStdSubMenu ( int  menuid)
protectedvirtual

◆ hideAllChildren()

virtual void uiODVw2DTreeItem::hideAllChildren ( )
protectedvirtual

◆ iconName()

virtual const char* uiODVw2DTreeItem::iconName ( ) const
inlineprotectedvirtual

◆ init()

virtual bool uiODVw2DTreeItem::init ( )
protectedvirtual

◆ insertStdSubMenu()

virtual void uiODVw2DTreeItem::insertStdSubMenu ( uiMenu )
protectedvirtual

◆ isAddItem()

bool uiODVw2DTreeItem::isAddItem ( int  id,
bool  addall 
) const
protected

◆ isRemoveItem()

bool uiODVw2DTreeItem::isRemoveItem ( int  id,
bool  removeall 
) const
protected

◆ keyPressedCB()

void uiODVw2DTreeItem::keyPressedCB ( CallBacker )
protected

◆ removeAllChildren()

virtual void uiODVw2DTreeItem::removeAllChildren ( )
protectedvirtual

Reimplemented from uiTreeItem.

◆ renameVisObj()

void uiODVw2DTreeItem::renameVisObj ( )
protected

◆ sChangeSetup()

static uiString uiODVw2DTreeItem::sChangeSetup ( )
inlinestaticprotected

◆ setZAxisTransform()

bool uiODVw2DTreeItem::setZAxisTransform ( ZAxisTransform )

◆ showAllChildren()

virtual void uiODVw2DTreeItem::showAllChildren ( )
protectedvirtual

◆ updateCS()

virtual void uiODVw2DTreeItem::updateCS ( const TrcKeyZSampling ,
bool   
)
inlineprotectedvirtual

◆ updateSelSpec()

virtual void uiODVw2DTreeItem::updateSelSpec ( const Attrib::SelSpec ,
bool  wva 
)
inlineprotectedvirtual

◆ updSampling()

void uiODVw2DTreeItem::updSampling ( const TrcKeyZSampling ,
bool   
)

◆ updSelSpec()

void uiODVw2DTreeItem::updSelSpec ( const Attrib::SelSpec ,
bool  wva 
)

◆ usePar()

void uiODVw2DTreeItem::usePar ( const IOPar )

◆ viewer2D()

uiODViewer2D* uiODVw2DTreeItem::viewer2D ( )
protected

Member Data Documentation

◆ datatransform_

ZAxisTransform* uiODVw2DTreeItem::datatransform_
protected

◆ displayid_

int uiODVw2DTreeItem::displayid_
protected

◆ objid_

int uiODVw2DTreeItem::objid_
protected

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