OpendTect  6.6
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 ()
 
uiBorder getAnnotBorder (bool withextraborders=true) const
 
uiRect getViewRect (bool withextraborders=true) const
 
void setExtraBorder (const uiBorder &)
 
void setTitleFont (const FontData &)
 
void setWorldCoords (const uiWorldRect &)
 
void setZValue (int z)
 
void updateScene ()
 
void updateViewRect ()
 
- Public Member Functions inherited from uiGraphicsSceneAxisMgr
 uiGraphicsSceneAxisMgr (uiGraphicsView &)
 
virtual ~uiGraphicsSceneAxisMgr ()
 
uiAxisHandleraxis (OD::Edge)
 
const uiAxisHandleraxis (OD::Edge) const
 
void enableAxis (OD::Edge, bool yn=true)
 
void enableAxisLine (bool yn)
 
void enableXAxis (bool yn)
 
void enableYAxis (bool yn)
 
Color getMaskColor () const
 
int getNeededHeight () const
 
int getNeededWidth () const
 
int getZValue () const
 
NotifierAccesslayoutChanged ()
 
void setAnnotInInt (bool xaxis, bool dowant)
 
void setAnnotInside (bool yn)
 
void setAuxAnnotPositions (const TypeSet< PlotAnnotation > &, bool forx)
 
void setAuxLineStyle (const OD::LineStyle &, bool forx, bool forhl=false)
 
void setBorder (const uiBorder &)
 
void setGridLineStyle (const OD::LineStyle &)
 
void setMaskColor (const Color &)
 
virtual void setViewRect (const uiRect &)
 
void setWorldCoords (const StepInterval< float > &xrg, const StepInterval< float > &yrg)
 
void setXLineStyle (const OD::LineStyle &)
 
void setYLineStyle (const OD::LineStyle &)
 
void showAuxPositions (bool forx, bool yn)
 
- 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

int altdim0_ = -1
 

Protected Member Functions

void setScaleBarWorld2UI (const uiWorldRect &)
 
void transformAndSetAuxAnnotation (bool forx1)
 
- Protected Member Functions inherited from uiGraphicsSceneAxisMgr
void updateFontSizeCB (CallBacker *)
 

Protected Attributes

uiArrowItemarrowitem1_
 
uiArrowItemarrowitem2_
 
uiTextItemaxis1nm_
 
uiTextItemaxis2nm_
 
uiColTabItemcolorbaritem_
 
uiBorder extraborder_
 
uiRectItemrectitem_
 
uiScaleBarItemscalebaritem_
 
uiTextItemtitletxt_
 
uiFlatViewervwr_
 
- Protected Attributes inherited from uiGraphicsSceneAxisMgr
uiRectItembottommask_
 
uiRectItemleftmask_
 
Color maskcolor_
 
uiRectItemrightmask_
 
uiRectItemtopmask_
 
uiFontuifont_
 
uiGraphicsViewview_
 
uiAxisHandlerxaxis_bottom_
 
uiAxisHandlerxaxis_top_
 
uiAxisHandleryaxis_left_
 
uiAxisHandleryaxis_right_
 

Additional Inherited Members

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

Detailed Description

Axis drawer for flat viewers.

<>

Constructor & Destructor Documentation

◆ AxesDrawer()

AxesDrawer::AxesDrawer ( uiFlatViewer )

◆ ~AxesDrawer()

AxesDrawer::~AxesDrawer ( )

Member Function Documentation

◆ getAnnotBorder()

uiBorder AxesDrawer::getAnnotBorder ( bool  withextraborders = true) const

◆ getViewRect()

uiRect AxesDrawer::getViewRect ( bool  withextraborders = true) const

◆ setExtraBorder()

void AxesDrawer::setExtraBorder ( const uiBorder )

◆ setScaleBarWorld2UI()

void AxesDrawer::setScaleBarWorld2UI ( const uiWorldRect )
protected

◆ setTitleFont()

void AxesDrawer::setTitleFont ( const FontData )

◆ setWorldCoords()

void AxesDrawer::setWorldCoords ( const uiWorldRect )
virtual

Reimplemented from uiGraphicsSceneAxisMgr.

◆ setZValue()

void AxesDrawer::setZValue ( int  z)
virtual

Reimplemented from uiGraphicsSceneAxisMgr.

◆ transformAndSetAuxAnnotation()

void AxesDrawer::transformAndSetAuxAnnotation ( bool  forx1)
protected

◆ updateScene()

void AxesDrawer::updateScene ( )
virtual

Reimplemented from uiGraphicsSceneAxisMgr.

◆ updateViewRect()

void AxesDrawer::updateViewRect ( )

Member Data Documentation

◆ altdim0_

int AxesDrawer::altdim0_ = -1

◆ arrowitem1_

uiArrowItem* AxesDrawer::arrowitem1_
protected

◆ arrowitem2_

uiArrowItem* AxesDrawer::arrowitem2_
protected

◆ axis1nm_

uiTextItem* AxesDrawer::axis1nm_
protected

◆ axis2nm_

uiTextItem* AxesDrawer::axis2nm_
protected

◆ colorbaritem_

uiColTabItem* AxesDrawer::colorbaritem_
protected

◆ extraborder_

uiBorder AxesDrawer::extraborder_
protected

◆ rectitem_

uiRectItem* AxesDrawer::rectitem_
protected

◆ scalebaritem_

uiScaleBarItem* AxesDrawer::scalebaritem_
protected

◆ titletxt_

uiTextItem* AxesDrawer::titletxt_
protected

◆ vwr_

uiFlatViewer& AxesDrawer::vwr_
protected

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