OpendTect  6.6
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
uiContourTreeItem Class Reference

Tree item for Contour display on 3D horizons. More...

Inheritance diagram for uiContourTreeItem:
[legend]

Public Member Functions

 uiContourTreeItem (const char *parenttype)
 
 ~uiContourTreeItem ()
 
int getNrContours () const
 
void setAttribName (const char *attrnm)
 
- Public Member Functions inherited from uiODDataTreeItem
 ~uiODDataTreeItem ()
 
int attribNr () const
 
int displayID () const
 
 mDefineFactory2ParamInClass (uiODDataTreeItem, const Attrib::SelSpec &, const char *, factory) void prepareForShutdown()
 
virtual bool select ()
 
virtual void show (bool yn)
 
- 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 removeAllChildren ()
 
virtual void removeChild (uiTreeItem *)
 
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 ()
 
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 uiODDataTreeItemcreate (const Attrib::SelSpec &, const char *)
 
static void initClass ()
 
static const char * sKeyContourDefString ()
 
static const char * sKeyZValue ()
 
- Static Public Member Functions inherited from uiODDataTreeItem
static int cPixmapHeight ()
 
static int cPixmapWidth ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Private Member Functions

virtual void checkCB (CallBacker *)
 
bool computeUICContourSteps (const Array2D< float > &)
 
virtual uiString createDisplayName () const
 
virtual void createMenu (MenuHandler *, bool istb)
 
bool createPolyLines ()
 
virtual bool doubleClick (uiTreeViewItem *)
 
Array2D< float > * getDataSet (visSurvey::HorizonDisplay *)
 
visSurvey::HorizonDisplaygetHorDisp ()
 
void getZVSAreaValues (TypeSet< float > &zvals, TypeSet< float > &areas) const
 
virtual void handleMenuCB (CallBacker *)
 
virtual bool hasTransparencyMenu () const
 
virtual bool init ()
 
void intvChangeCB (CallBacker *)
 
void prepareForShutdown ()
 
void propChangeCB (CallBacker *)
 
void removeAll ()
 
void removeLabels ()
 
void removeOldUICContoursFromScene ()
 
void saveAreasAsCB (CallBacker *)
 
bool setLabels (visBase::Text2 *)
 
void showPropertyDlg ()
 
void startCreateUICContours ()
 
void updateColumnText (int)
 
void updateUICContours (const StepInterval< float > &)
 
void updateZShift ()
 
void visClosingCB (CallBacker *)
 

Private Attributes

MenuItem areamenuitm_
 
TypeSet< double > areas_
 
BufferString attrnm_
 
Color color_
 
StepInterval< float > contourintv_
 
Interval< float > contoursteprange_
 
visBase::DrawStyledrawstyle_
 
visBase::Text2labels_
 
visBase::PolyLinelines_
 
int linewidth_
 
visBase::Materialmaterial_
 
MenuItem optionsmenuitem_
 
uiContourParsDlg * propdlg_
 
bool showlabels_
 
float zshift_
 

Friends

class uiContourTreeItemContourGenerator
 

Additional Inherited Members

- Protected Member Functions inherited from uiODDataTreeItem
 uiODDataTreeItem (const char *parenttype)
 
void addToToolBarCB (CallBacker *)
 
uiODApplMgrapplMgr () const
 
void createMenuCB (CallBacker *)
 
void displayMiniCtab (const ColTab::Sequence *)
 
bool isExpandable () const
 
bool isSelectable () const
 
void keyPressCB (CallBacker *)
 
const char * parentType () const
 
int sceneID () const
 
bool shouldSelect (int) const
 
bool showSubMenu ()
 
int uiTreeViewItemType () const
 
- Protected Member Functions inherited from uiTreeItem
virtual bool addChld (uiTreeItem *, bool below, bool downwards)
 
virtual bool anyButtonClick (uiTreeViewItem *)
 
virtual uiParentgetUiParent () const
 
virtual void removeItem (uiTreeViewItem *)
 
virtual void renameItem (uiTreeViewItem *)
 
virtual bool rightClick (uiTreeViewItem *)
 
virtual bool selectWithKey (int selkey)
 
virtual void setTreeViewItem (uiTreeViewItem *)
 
virtual void updateSelection (int selectionKey, bool dw=false)
 
virtual bool useParentType () const
 
- Protected Attributes inherited from uiODDataTreeItem
MenuItem amplspectrumitem_
 
uiSeisAmplSpectrumampspectrumwin_
 
MenuItem changetransparencyitem_
 
MenuItem displaymnuitem_
 
MenuItem fkspectrumitem_
 
uiFKSpectrumfkspectrumwin_
 
uiMenuHandlermenu_
 
MenuItem movedownmnuitem_
 
MenuItem movemnuitem_
 
MenuItem movetobottommnuitem_
 
MenuItem movetotopmnuitem_
 
MenuItem moveupmnuitem_
 
const char * parenttype_
 
MenuItem removemnuitem_
 
MenuItem statisticsitem_
 
uiStatsDisplayWinstatswin_
 
MenuItem view2dvditem_
 
MenuItem view2dwvaitem_
 
uiVisPartServervisserv_
 
- Protected Attributes inherited from uiTreeItem
ObjectSet< uiTreeItemchildren_
 
uiString name_
 
uiTreeItemparent_
 
IOPar properties_
 
uiTreeViewItemuitreeviewitem_
 

Detailed Description

Tree item for Contour display on 3D horizons.

<>

Constructor & Destructor Documentation

◆ uiContourTreeItem()

uiContourTreeItem::uiContourTreeItem ( const char *  parenttype)

◆ ~uiContourTreeItem()

uiContourTreeItem::~uiContourTreeItem ( )

Member Function Documentation

◆ checkCB()

virtual void uiContourTreeItem::checkCB ( CallBacker )
privatevirtual

Reimplemented from uiODDataTreeItem.

◆ computeUICContourSteps()

bool uiContourTreeItem::computeUICContourSteps ( const Array2D< float > &  )
private

◆ create()

static uiODDataTreeItem* uiContourTreeItem::create ( const Attrib::SelSpec ,
const char *   
)
static

◆ createDisplayName()

virtual uiString uiContourTreeItem::createDisplayName ( ) const
privatevirtual

Implements uiODDataTreeItem.

◆ createMenu()

virtual void uiContourTreeItem::createMenu ( MenuHandler ,
bool  istb 
)
privatevirtual

Reimplemented from uiODDataTreeItem.

◆ createPolyLines()

bool uiContourTreeItem::createPolyLines ( )
private

◆ doubleClick()

virtual bool uiContourTreeItem::doubleClick ( uiTreeViewItem )
privatevirtual

Reimplemented from uiTreeItem.

◆ getDataSet()

Array2D<float>* uiContourTreeItem::getDataSet ( visSurvey::HorizonDisplay )
private

◆ getHorDisp()

visSurvey::HorizonDisplay* uiContourTreeItem::getHorDisp ( )
private

◆ getNrContours()

int uiContourTreeItem::getNrContours ( ) const

◆ getZVSAreaValues()

void uiContourTreeItem::getZVSAreaValues ( TypeSet< float > &  zvals,
TypeSet< float > &  areas 
) const
private

◆ handleMenuCB()

virtual void uiContourTreeItem::handleMenuCB ( CallBacker )
privatevirtual

Reimplemented from uiODDataTreeItem.

◆ hasTransparencyMenu()

virtual bool uiContourTreeItem::hasTransparencyMenu ( ) const
inlineprivatevirtual

Reimplemented from uiODDataTreeItem.

◆ init()

virtual bool uiContourTreeItem::init ( )
privatevirtual

Reimplemented from uiODDataTreeItem.

◆ initClass()

static void uiContourTreeItem::initClass ( )
static

◆ intvChangeCB()

void uiContourTreeItem::intvChangeCB ( CallBacker )
private

◆ prepareForShutdown()

void uiContourTreeItem::prepareForShutdown ( )
privatevirtual

Override if you want to popup dlg for saving various things (or similar)

Reimplemented from uiTreeItem.

◆ propChangeCB()

void uiContourTreeItem::propChangeCB ( CallBacker )
private

◆ removeAll()

void uiContourTreeItem::removeAll ( )
private

◆ removeLabels()

void uiContourTreeItem::removeLabels ( )
private

◆ removeOldUICContoursFromScene()

void uiContourTreeItem::removeOldUICContoursFromScene ( )
private

◆ saveAreasAsCB()

void uiContourTreeItem::saveAreasAsCB ( CallBacker )
private

◆ setAttribName()

void uiContourTreeItem::setAttribName ( const char *  attrnm)
inline

◆ setLabels()

bool uiContourTreeItem::setLabels ( visBase::Text2 )
private

◆ showPropertyDlg()

void uiContourTreeItem::showPropertyDlg ( )
private

◆ sKeyContourDefString()

static const char* uiContourTreeItem::sKeyContourDefString ( )
static

◆ sKeyZValue()

static const char* uiContourTreeItem::sKeyZValue ( )
static

◆ startCreateUICContours()

void uiContourTreeItem::startCreateUICContours ( )
private

◆ updateColumnText()

void uiContourTreeItem::updateColumnText ( int  )
privatevirtual

Reimplemented from uiODDataTreeItem.

◆ updateUICContours()

void uiContourTreeItem::updateUICContours ( const StepInterval< float > &  )
private

◆ updateZShift()

void uiContourTreeItem::updateZShift ( )
private

◆ visClosingCB()

void uiContourTreeItem::visClosingCB ( CallBacker )
private

Friends And Related Function Documentation

◆ uiContourTreeItemContourGenerator

friend class uiContourTreeItemContourGenerator
friend

Member Data Documentation

◆ areamenuitm_

MenuItem uiContourTreeItem::areamenuitm_
private

◆ areas_

TypeSet<double> uiContourTreeItem::areas_
private

◆ attrnm_

BufferString uiContourTreeItem::attrnm_
private

◆ color_

Color uiContourTreeItem::color_
private

◆ contourintv_

StepInterval<float> uiContourTreeItem::contourintv_
private

◆ contoursteprange_

Interval<float> uiContourTreeItem::contoursteprange_
private

◆ drawstyle_

visBase::DrawStyle* uiContourTreeItem::drawstyle_
private

◆ labels_

visBase::Text2* uiContourTreeItem::labels_
private

◆ lines_

visBase::PolyLine* uiContourTreeItem::lines_
private

◆ linewidth_

int uiContourTreeItem::linewidth_
private

◆ material_

visBase::Material* uiContourTreeItem::material_
private

◆ optionsmenuitem_

MenuItem uiContourTreeItem::optionsmenuitem_
private

◆ propdlg_

uiContourParsDlg* uiContourTreeItem::propdlg_
private

◆ showlabels_

bool uiContourTreeItem::showlabels_
private

◆ zshift_

float uiContourTreeItem::zshift_
private

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