OpendTect  7.0
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
uiFuncDispBase Class Referenceabstract

base class for function displays. More...

Inheritance diagram for uiFuncDispBase:
[legend]

Classes

struct  Setup
 

Public Member Functions

 uiFuncDispBase (const Setup &)
 
virtual ~uiFuncDispBase ()
 
virtual void draw ()=0
 
void dump (od_ostream &, bool y2) const
 
virtual void gatherInfo (bool y2=false)
 
void getAxisRanges (const TypeSet< float > &vals, const Interval< float > &setuprg, Interval< float > &) const
 
virtual Geom::PointF mapToPosition (const Geom::PointF &, bool y2=false)=0
 
virtual Geom::PointF mapToValue (const Geom::PointF &, bool y2=false)=0
 
virtual const NotifierAccessmouseMoveNotifier ()=0
 
int selPt () const
 
virtual void setEmpty ()
 clears all More...
 
virtual void setMark2Value (float, bool is_x)
 
virtual void setMarkValue (float, bool is_x)
 
virtual void setTitle (const uiString &)=0
 
Setupsetup ()
 
virtual void setVals (const float *xvals, const float *yvals, int sz)
 
virtual void setVals (const Interval< float > &, const float *yvals, int sz)
 Undef values are filtered out. More...
 
virtual void setY2Vals (const float *xvals, const float *yvals, int sz)
 
virtual void setY2Vals (const Interval< float > &, const float *yvals, int sz)
 Undef values are filtered out. More...
 
int size () const
 
virtual uiObjectuiobj ()=0
 
uiAxisHandlerBasexAxis ()
 
const uiAxisHandlerBasexAxis () const
 
const TypeSet< float > & xVals () const
 
int y2size () const
 
const TypeSet< float > & y2xVals () const
 
const TypeSet< float > & y2yVals () const
 
uiAxisHandlerBaseyAxis (bool y2)
 
const uiAxisHandlerBaseyAxis (bool y2) const
 
const TypeSet< float > & yVals () const
 

Protected Member Functions

virtual void addPoint (const Geom::PointF &)
 
virtual void cleanUp ()=0
 
virtual void drawMarkLines ()=0
 
virtual void mouseMoveCB (CallBacker *)=0
 
virtual void mousePressCB (CallBacker *)=0
 
virtual void mouseReleaseCB (CallBacker *)=0
 

Protected Attributes

bool mousedown_ = false
 
int selpt_ = -1
 
Setup setup_
 
uiAxisHandlerBasexax_ = nullptr
 
float xmarkline2val_
 
float xmarklineval_
 
TypeSet< float > xvals_
 
uiAxisHandlerBasey2ax_ = nullptr
 
TypeSet< float > y2xvals_
 
TypeSet< float > y2yvals_
 
uiAxisHandlerBaseyax_ = nullptr
 
float ymarkline2val_
 
float ymarklineval_
 
TypeSet< float > yvals_
 

Detailed Description

base class for function displays.

<>

Constructor & Destructor Documentation

◆ uiFuncDispBase()

uiFuncDispBase::uiFuncDispBase ( const Setup )

◆ ~uiFuncDispBase()

virtual uiFuncDispBase::~uiFuncDispBase ( )
virtual

Member Function Documentation

◆ addPoint()

virtual void uiFuncDispBase::addPoint ( const Geom::PointF )
protectedvirtual

◆ cleanUp()

virtual void uiFuncDispBase::cleanUp ( )
protectedpure virtual

Implemented in uiFunctionDisplay.

◆ draw()

virtual void uiFuncDispBase::draw ( )
pure virtual

Implemented in uiFunctionDisplay.

◆ drawMarkLines()

virtual void uiFuncDispBase::drawMarkLines ( )
protectedpure virtual

Implemented in uiFunctionDisplay.

◆ dump()

void uiFuncDispBase::dump ( od_ostream ,
bool  y2 
) const

◆ gatherInfo()

virtual void uiFuncDispBase::gatherInfo ( bool  y2 = false)
virtual

Reimplemented in uiFunctionDisplay.

◆ getAxisRanges()

void uiFuncDispBase::getAxisRanges ( const TypeSet< float > &  vals,
const Interval< float > &  setuprg,
Interval< float > &   
) const

◆ mapToPosition()

virtual Geom::PointF uiFuncDispBase::mapToPosition ( const Geom::PointF ,
bool  y2 = false 
)
pure virtual

Implemented in uiFunctionDisplay.

◆ mapToValue()

virtual Geom::PointF uiFuncDispBase::mapToValue ( const Geom::PointF ,
bool  y2 = false 
)
pure virtual

Implemented in uiFunctionDisplay.

◆ mouseMoveCB()

virtual void uiFuncDispBase::mouseMoveCB ( CallBacker )
protectedpure virtual

Implemented in uiFunctionDisplay.

◆ mouseMoveNotifier()

virtual const NotifierAccess& uiFuncDispBase::mouseMoveNotifier ( )
pure virtual

Implemented in uiFunctionDisplay.

◆ mousePressCB()

virtual void uiFuncDispBase::mousePressCB ( CallBacker )
protectedpure virtual

Implemented in uiFunctionDisplay.

◆ mouseReleaseCB()

virtual void uiFuncDispBase::mouseReleaseCB ( CallBacker )
protectedpure virtual

Implemented in uiFunctionDisplay.

◆ selPt()

int uiFuncDispBase::selPt ( ) const
inline

◆ setEmpty()

virtual void uiFuncDispBase::setEmpty ( )
virtual

clears all

Reimplemented in uiHistogramDisplay.

◆ setMark2Value()

virtual void uiFuncDispBase::setMark2Value ( float  ,
bool  is_x 
)
virtual

◆ setMarkValue()

virtual void uiFuncDispBase::setMarkValue ( float  ,
bool  is_x 
)
virtual

◆ setTitle()

virtual void uiFuncDispBase::setTitle ( const uiString )
pure virtual

Implemented in uiFunctionDisplay.

◆ setup()

Setup& uiFuncDispBase::setup ( )
inline

◆ setVals() [1/2]

virtual void uiFuncDispBase::setVals ( const float *  xvals,
const float *  yvals,
int  sz 
)
virtual

◆ setVals() [2/2]

virtual void uiFuncDispBase::setVals ( const Interval< float > &  ,
const float *  yvals,
int  sz 
)
virtual

Undef values are filtered out.

◆ setY2Vals() [1/2]

virtual void uiFuncDispBase::setY2Vals ( const float *  xvals,
const float *  yvals,
int  sz 
)
virtual

◆ setY2Vals() [2/2]

virtual void uiFuncDispBase::setY2Vals ( const Interval< float > &  ,
const float *  yvals,
int  sz 
)
virtual

Undef values are filtered out.

◆ size()

int uiFuncDispBase::size ( ) const
inline

◆ uiobj()

virtual uiObject* uiFuncDispBase::uiobj ( )
pure virtual

Implemented in uiFunctionDisplay.

◆ xAxis() [1/2]

uiAxisHandlerBase* uiFuncDispBase::xAxis ( )
inline

◆ xAxis() [2/2]

const uiAxisHandlerBase* uiFuncDispBase::xAxis ( ) const
inline

◆ xVals()

const TypeSet<float>& uiFuncDispBase::xVals ( ) const
inline

◆ y2size()

int uiFuncDispBase::y2size ( ) const
inline

◆ y2xVals()

const TypeSet<float>& uiFuncDispBase::y2xVals ( ) const
inline

◆ y2yVals()

const TypeSet<float>& uiFuncDispBase::y2yVals ( ) const
inline

◆ yAxis() [1/2]

uiAxisHandlerBase* uiFuncDispBase::yAxis ( bool  y2)
inline

◆ yAxis() [2/2]

const uiAxisHandlerBase* uiFuncDispBase::yAxis ( bool  y2) const
inline

◆ yVals()

const TypeSet<float>& uiFuncDispBase::yVals ( ) const
inline

Member Data Documentation

◆ mousedown_

bool uiFuncDispBase::mousedown_ = false
protected

◆ selpt_

int uiFuncDispBase::selpt_ = -1
protected

◆ setup_

Setup uiFuncDispBase::setup_
protected

◆ xax_

uiAxisHandlerBase* uiFuncDispBase::xax_ = nullptr
protected

◆ xmarkline2val_

float uiFuncDispBase::xmarkline2val_
protected

◆ xmarklineval_

float uiFuncDispBase::xmarklineval_
protected

◆ xvals_

TypeSet<float> uiFuncDispBase::xvals_
protected

◆ y2ax_

uiAxisHandlerBase* uiFuncDispBase::y2ax_ = nullptr
protected

◆ y2xvals_

TypeSet<float> uiFuncDispBase::y2xvals_
protected

◆ y2yvals_

TypeSet<float> uiFuncDispBase::y2yvals_
protected

◆ yax_

uiAxisHandlerBase* uiFuncDispBase::yax_ = nullptr
protected

◆ ymarkline2val_

float uiFuncDispBase::ymarkline2val_
protected

◆ ymarklineval_

float uiFuncDispBase::ymarklineval_
protected

◆ yvals_

TypeSet<float> uiFuncDispBase::yvals_
protected

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