Tools to control uiFlatViewer(s). More...
Public Member Functions | |
| ~uiFlatViewControl () | |
| void | addViewer (uiFlatViewer &) |
| No attaching done. Viewer may be in other window. | |
| virtual uiWorldRect | getBoundingBox () const |
| virtual void | setNewView (Geom::Point2D< double > ¢re, Geom::Size2D< double > &sizes) |
| virtual void | flip (bool hor) |
| reverses uiWorldRect's LR or TB swapping | |
| void | setCategory (const char *cat) |
| const char * | category () const |
| If not set, returns data pack's category(). | |
| uiRect | getViewRect (uiFlatViewer *) |
| uiWorldRect | getNewWorldRect (Geom::Point2D< double > ¢re, Geom::Size2D< double > &sz, const uiWorldRect &curview, const uiWorldRect &bbox) const |
| uiTabStackDlg * | propDialog () |
| const FlatView::ZoomMgr & | zoomMgr () const |
Static Public Member Functions | |
| static bool | havePan (Geom::Point2D< double > oldcentre, Geom::Point2D< double > newcentre, Geom::Size2D< double > sz) |
| static bool | haveZoom (Geom::Size2D< double > oldsz, Geom::Size2D< double > newsz) |
| static uiWorldRect | getZoomAndPanRect (Geom::Point2D< double >, Geom::Size2D< double >, const uiWorldRect &bbox) |
| static uiWorldRect | getZoomOrPanRect (Geom::Point2D< double >, Geom::Size2D< double >, const uiWorldRect &bbox) |
Public Attributes | |
| Notifier< uiFlatViewControl > | infoChanged |
| Notifier< uiFlatViewControl > | viewerAdded |
Protected Member Functions | |
| uiFlatViewControl (uiFlatViewer &, uiParent *, bool, bool withwva=true) | |
| MouseEventHandler & | mouseEventHandler (int) |
| virtual void | finalPrepare () |
| virtual void | onFinalise (CallBacker *) |
| virtual bool | canReUseZoomSettings (Geom::Point2D< double >, Geom::Size2D< double >) const |
| virtual void | dataChangeCB (CallBacker *) |
| virtual void | rubBandCB (CallBacker *) |
| virtual void | vwrAdded (CallBacker *) |
| virtual void | handDragStarted (CallBacker *) |
| virtual void | handDragging (CallBacker *) |
| virtual void | handDragged (CallBacker *) |
| virtual void | mouseMoveCB (CallBacker *) |
| virtual void | usrClickCB (CallBacker *) |
| virtual bool | handleUserClick () |
| virtual void | doPropertiesDialog (int vieweridx=0, bool dowva=true) |
| void | propDlgClosed (CallBacker *) |
| virtual void | applyProperties (CallBacker *cb) |
| void | saveProperties (FlatView::Viewer &) |
Protected Attributes | |
| ObjectSet< uiFlatViewer > | vwrs_ |
| FlatView::ZoomMgr & | zoommgr_ |
| bool | haverubber_ |
| BufferString | category_ |
| IOPar | infopars_ |
| bool | withwva_ |
| uiFlatViewPropDlg * | propdlg_ |
Tools to control uiFlatViewer(s).
| uiFlatViewControl::~uiFlatViewControl | ( | ) |
| uiFlatViewControl::uiFlatViewControl | ( | uiFlatViewer & | , | |
| uiParent * | , | |||
| bool | , | |||
| bool | withwva = true | |||
| ) | [protected] |
| void uiFlatViewControl::addViewer | ( | uiFlatViewer & | ) |
No attaching done. Viewer may be in other window.
| virtual void uiFlatViewControl::applyProperties | ( | CallBacker * | cb | ) | [protected, virtual] |
| virtual bool uiFlatViewControl::canReUseZoomSettings | ( | Geom::Point2D< double > | , | |
| Geom::Size2D< double > | ||||
| ) | const [protected, virtual] |
| const char* uiFlatViewControl::category | ( | ) | const |
If not set, returns data pack's category().
| virtual void uiFlatViewControl::dataChangeCB | ( | CallBacker * | ) | [protected, virtual] |
| virtual void uiFlatViewControl::doPropertiesDialog | ( | int | vieweridx = 0, |
|
| bool | dowva = true | |||
| ) | [protected, virtual] |
| virtual void uiFlatViewControl::finalPrepare | ( | ) | [inline, protected, virtual] |
Reimplemented in uiFlatViewStdControl.
| virtual void uiFlatViewControl::flip | ( | bool | hor | ) | [virtual] |
reverses uiWorldRect's LR or TB swapping
| virtual uiWorldRect uiFlatViewControl::getBoundingBox | ( | ) | const [virtual] |
| uiWorldRect uiFlatViewControl::getNewWorldRect | ( | Geom::Point2D< double > & | centre, | |
| Geom::Size2D< double > & | sz, | |||
| const uiWorldRect & | curview, | |||
| const uiWorldRect & | bbox | |||
| ) | const |
| uiRect uiFlatViewControl::getViewRect | ( | uiFlatViewer * | ) |
| static uiWorldRect uiFlatViewControl::getZoomAndPanRect | ( | Geom::Point2D< double > | , | |
| Geom::Size2D< double > | , | |||
| const uiWorldRect & | bbox | |||
| ) | [static] |
| static uiWorldRect uiFlatViewControl::getZoomOrPanRect | ( | Geom::Point2D< double > | , | |
| Geom::Size2D< double > | , | |||
| const uiWorldRect & | bbox | |||
| ) | [static] |
| virtual void uiFlatViewControl::handDragged | ( | CallBacker * | ) | [inline, protected, virtual] |
Reimplemented in uiFlatViewStdControl.
| virtual void uiFlatViewControl::handDragging | ( | CallBacker * | ) | [inline, protected, virtual] |
Reimplemented in uiFlatViewStdControl.
| virtual void uiFlatViewControl::handDragStarted | ( | CallBacker * | ) | [inline, protected, virtual] |
Reimplemented in uiFlatViewStdControl.
| virtual bool uiFlatViewControl::handleUserClick | ( | ) | [inline, protected, virtual] |
Reimplemented in uiFlatViewStdControl.
| static bool uiFlatViewControl::havePan | ( | Geom::Point2D< double > | oldcentre, | |
| Geom::Point2D< double > | newcentre, | |||
| Geom::Size2D< double > | sz | |||
| ) | [static] |
| static bool uiFlatViewControl::haveZoom | ( | Geom::Size2D< double > | oldsz, | |
| Geom::Size2D< double > | newsz | |||
| ) | [static] |
| MouseEventHandler& uiFlatViewControl::mouseEventHandler | ( | int | ) | [protected] |
| virtual void uiFlatViewControl::mouseMoveCB | ( | CallBacker * | ) | [protected, virtual] |
| virtual void uiFlatViewControl::onFinalise | ( | CallBacker * | ) | [protected, virtual] |
| uiTabStackDlg* uiFlatViewControl::propDialog | ( | ) |
| void uiFlatViewControl::propDlgClosed | ( | CallBacker * | ) | [protected] |
| virtual void uiFlatViewControl::rubBandCB | ( | CallBacker * | ) | [protected, virtual] |
| void uiFlatViewControl::saveProperties | ( | FlatView::Viewer & | ) | [protected] |
| void uiFlatViewControl::setCategory | ( | const char * | cat | ) | [inline] |
Set the display pars defaults' `category` Needed if the main viewer uses no data pack
| virtual void uiFlatViewControl::setNewView | ( | Geom::Point2D< double > & | centre, | |
| Geom::Size2D< double > & | sizes | |||
| ) | [virtual] |
retains uiWorldRect's LR/TB swapping Changes the input to the actual new values
| virtual void uiFlatViewControl::usrClickCB | ( | CallBacker * | ) | [protected, virtual] |
| virtual void uiFlatViewControl::vwrAdded | ( | CallBacker * | ) | [inline, protected, virtual] |
| const FlatView::ZoomMgr& uiFlatViewControl::zoomMgr | ( | ) | const [inline] |
BufferString uiFlatViewControl::category_ [protected] |
bool uiFlatViewControl::haverubber_ [protected] |
IOPar uiFlatViewControl::infopars_ [protected] |
uiFlatViewPropDlg* uiFlatViewControl::propdlg_ [protected] |
ObjectSet<uiFlatViewer> uiFlatViewControl::vwrs_ [protected] |
bool uiFlatViewControl::withwva_ [protected] |
FlatView::ZoomMgr& uiFlatViewControl::zoommgr_ [protected] |
1.7.1