OpendTect-6_4  6.4
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
AxesDrawer Class Reference

Axis drawer for flat viewers. More...

Inheritance diagram for AxesDrawer:
[legend]

Public Member Functions

 AxesDrawer (uiFlatViewer &)
 
 ~AxesDrawer ()
 
void updateScene ()
 
void setZValue (int z)
 
void updateViewRect ()
 
uiRect getViewRect (bool withextraborders=true) const
 
void setWorldCoords (const uiWorldRect &)
 
void setExtraBorder (const uiBorder &)
 
uiBorder getAnnotBorder (bool withextraborders=true) const
 
- Public Member Functions inherited from uiGraphicsSceneAxisMgr
 uiGraphicsSceneAxisMgr (uiGraphicsView &)
 
virtual ~uiGraphicsSceneAxisMgr ()
 
void setWorldCoords (const StepInterval< float > &xrg, const StepInterval< float > &yrg)
 
void setViewRect (const uiRect &)
 
void enableXAxis (bool yn)
 
void enableYAxis (bool yn)
 
int getZValue () const
 
int getNeededWidth () const
 
int getNeededHeight () const
 
void setAnnotInside (bool yn)
 
void enableAxisLine (bool yn)
 
void setBorder (const uiBorder &)
 
void setXLineStyle (const OD::LineStyle &)
 
void setYLineStyle (const OD::LineStyle &)
 
void setGridLineStyle (const OD::LineStyle &)
 
void setAuxLineStyle (const OD::LineStyle &, bool forx, bool forhl=false)
 
void setAnnotInInt (bool xaxis, bool dowant)
 
void showAuxPositions (bool forx, bool yn)
 
void setAuxAnnotPositions (const TypeSet< PlotAnnotation > &, bool forx)
 
NotifierAccesslayoutChanged ()
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Public Attributes

int altdim0_
 

Protected Member Functions

void transformAndSetAuxAnnotation (bool forx1)
 
void setScaleBarWorld2UI (const uiWorldRect &)
 
- Protected Member Functions inherited from uiGraphicsSceneAxisMgr
void updateFontSizeCB (CallBacker *)
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

uiFlatViewervwr_
 
uiRectItemrectitem_
 
uiTextItemaxis1nm_
 
uiTextItemaxis2nm_
 
uiTextItemtitletxt_
 
uiArrowItemarrowitem1_
 
uiArrowItemarrowitem2_
 
uiScaleBarItemscalebaritem_
 
uiBorder extraborder_
 
- Protected Attributes inherited from uiGraphicsSceneAxisMgr
uiAxisHandlerxaxis_
 
uiAxisHandleryaxis_
 
uiFontuifont_
 
uiGraphicsViewview_
 
uiRectItemtopmask_
 
uiRectItembottommask_
 
uiRectItemleftmask_
 
uiRectItemrightmask_
 

Detailed Description

Axis drawer for flat viewers.

Constructor & Destructor Documentation

AxesDrawer::AxesDrawer ( uiFlatViewer )
AxesDrawer::~AxesDrawer ( )

Member Function Documentation

uiBorder AxesDrawer::getAnnotBorder ( bool  withextraborders = true) const
uiRect AxesDrawer::getViewRect ( bool  withextraborders = true) const
void AxesDrawer::setExtraBorder ( const uiBorder )
void AxesDrawer::setScaleBarWorld2UI ( const uiWorldRect )
protected
void AxesDrawer::setWorldCoords ( const uiWorldRect )
virtual

Reimplemented from uiGraphicsSceneAxisMgr.

void AxesDrawer::setZValue ( int  z)
virtual

Reimplemented from uiGraphicsSceneAxisMgr.

void AxesDrawer::transformAndSetAuxAnnotation ( bool  forx1)
protected
void AxesDrawer::updateScene ( )
virtual

Reimplemented from uiGraphicsSceneAxisMgr.

void AxesDrawer::updateViewRect ( )

Member Data Documentation

int AxesDrawer::altdim0_
uiArrowItem* AxesDrawer::arrowitem1_
protected
uiArrowItem* AxesDrawer::arrowitem2_
protected
uiTextItem* AxesDrawer::axis1nm_
protected
uiTextItem* AxesDrawer::axis2nm_
protected
uiBorder AxesDrawer::extraborder_
protected
uiRectItem* AxesDrawer::rectitem_
protected
uiScaleBarItem* AxesDrawer::scalebaritem_
protected
uiTextItem* AxesDrawer::titletxt_
protected
uiFlatViewer& AxesDrawer::vwr_
protected

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