OpendTect  6.6
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
uiSlicePos Class Referenceabstract

Toolbar for setting slice position _ base class. More...

Inheritance diagram for uiSlicePos:
[legend]

Public Types

typedef OD::SliceType SliceDir
 

Public Member Functions

 ~uiSlicePos ()
 
int getStep (SliceDir) const
 
uiToolBargetToolBar () const
 
TrcKeyZSampling getTrcKeyZSampling () const
 
float getZStep () const
 
void setLabels (const uiString &inl, const uiString &crl, const uiString &z)
 
void setStep (SliceDir, int step)
 
void setSteps (int inl, int crl, float z)
 
void setZStep (float)
 
- 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
 

Public Attributes

Notifier< uiSlicePospositionChg
 

Protected Member Functions

 uiSlicePos (uiParent *)
 
virtual SliceDir getOrientation () const =0
 
void initSteps (CallBacker *cb=0)
 
void nextCB (CallBacker *)
 
void prevCB (CallBacker *)
 
void setBoxLabel (SliceDir)
 
virtual void setBoxRanges ()=0
 
void setBoxRg (SliceDir, const TrcKeyZSampling &, const TrcKeyZSampling &)
 
void setPosBoxVal (SliceDir, const TrcKeyZSampling &)
 
virtual void setPosBoxValue ()=0
 
virtual void setStepBoxValue ()=0
 
void shortcutsChg (CallBacker *)
 
void slicePosChanged (SliceDir, const TrcKeyZSampling &)
 
virtual void slicePosChg (CallBacker *)=0
 
void sliceStepChanged (SliceDir)
 
virtual void sliceStepChg (CallBacker *)=0
 
void updatePos (CallBacker *)
 

Protected Attributes

uiStringSet boxlabels_
 
TrcKeyZSampling curcs_
 
uiLabellabel_
 
float laststeps_ [3]
 
uiToolButtonnextbut_
 
uiToolButtonprevbut_
 
uiSpinBoxsliceposbox_
 
uiSpinBoxslicestepbox_
 
uiToolBartoolbar_
 
int zfactor_
 

Additional Inherited Members

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

Detailed Description

Toolbar for setting slice position _ base class.

<>

Member Typedef Documentation

◆ SliceDir

Constructor & Destructor Documentation

◆ ~uiSlicePos()

uiSlicePos::~uiSlicePos ( )

◆ uiSlicePos()

uiSlicePos::uiSlicePos ( uiParent )
protected

Member Function Documentation

◆ getOrientation()

virtual SliceDir uiSlicePos::getOrientation ( ) const
protectedpure virtual

Implemented in uiSlicePos3DDisp, and uiSlicePos2DView.

◆ getStep()

int uiSlicePos::getStep ( SliceDir  ) const

◆ getToolBar()

uiToolBar* uiSlicePos::getToolBar ( ) const
inline

◆ getTrcKeyZSampling()

TrcKeyZSampling uiSlicePos::getTrcKeyZSampling ( ) const
inline

◆ getZStep()

float uiSlicePos::getZStep ( ) const

◆ initSteps()

void uiSlicePos::initSteps ( CallBacker cb = 0)
protected

◆ nextCB()

void uiSlicePos::nextCB ( CallBacker )
protected

◆ prevCB()

void uiSlicePos::prevCB ( CallBacker )
protected

◆ setBoxLabel()

void uiSlicePos::setBoxLabel ( SliceDir  )
protected

◆ setBoxRanges()

virtual void uiSlicePos::setBoxRanges ( )
protectedpure virtual

Implemented in uiSlicePos3DDisp, and uiSlicePos2DView.

◆ setBoxRg()

void uiSlicePos::setBoxRg ( SliceDir  ,
const TrcKeyZSampling ,
const TrcKeyZSampling  
)
protected

◆ setLabels()

void uiSlicePos::setLabels ( const uiString inl,
const uiString crl,
const uiString z 
)

◆ setPosBoxVal()

void uiSlicePos::setPosBoxVal ( SliceDir  ,
const TrcKeyZSampling  
)
protected

◆ setPosBoxValue()

virtual void uiSlicePos::setPosBoxValue ( )
protectedpure virtual

Implemented in uiSlicePos3DDisp, and uiSlicePos2DView.

◆ setStep()

void uiSlicePos::setStep ( SliceDir  ,
int  step 
)

◆ setStepBoxValue()

virtual void uiSlicePos::setStepBoxValue ( )
protectedpure virtual

Implemented in uiSlicePos3DDisp, and uiSlicePos2DView.

◆ setSteps()

void uiSlicePos::setSteps ( int  inl,
int  crl,
float  z 
)

◆ setZStep()

void uiSlicePos::setZStep ( float  )

◆ shortcutsChg()

void uiSlicePos::shortcutsChg ( CallBacker )
protected

◆ slicePosChanged()

void uiSlicePos::slicePosChanged ( SliceDir  ,
const TrcKeyZSampling  
)
protected

◆ slicePosChg()

virtual void uiSlicePos::slicePosChg ( CallBacker )
protectedpure virtual

Implemented in uiSlicePos3DDisp, and uiSlicePos2DView.

◆ sliceStepChanged()

void uiSlicePos::sliceStepChanged ( SliceDir  )
protected

◆ sliceStepChg()

virtual void uiSlicePos::sliceStepChg ( CallBacker )
protectedpure virtual

Implemented in uiSlicePos3DDisp, and uiSlicePos2DView.

◆ updatePos()

void uiSlicePos::updatePos ( CallBacker )
protected

Member Data Documentation

◆ boxlabels_

uiStringSet uiSlicePos::boxlabels_
protected

◆ curcs_

TrcKeyZSampling uiSlicePos::curcs_
protected

◆ label_

uiLabel* uiSlicePos::label_
protected

◆ laststeps_

float uiSlicePos::laststeps_[3]
protected

◆ nextbut_

uiToolButton* uiSlicePos::nextbut_
protected

◆ positionChg

Notifier<uiSlicePos> uiSlicePos::positionChg

◆ prevbut_

uiToolButton* uiSlicePos::prevbut_
protected

◆ sliceposbox_

uiSpinBox* uiSlicePos::sliceposbox_
protected

◆ slicestepbox_

uiSpinBox* uiSlicePos::slicestepbox_
protected

◆ toolbar_

uiToolBar* uiSlicePos::toolbar_
protected

◆ zfactor_

int uiSlicePos::zfactor_
protected

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