OpendTect-6_4
6.4
|
Class to sow/select points with mouse. More...
Public Types | |
enum | SowingMode { Lasering =-2, Erasing =-1, Idle =0, Furrowing, FirstSowing, SequentSowing } |
Public Member Functions | |
SowingMode | mode () |
void | reInitSettings () |
void | reverseSowingOrder (bool yn=true) |
void | alternateSowingOrder (bool yn=true) |
void | intersow (bool yn=true) |
bool | moreToSow () const |
void | stopSowing () |
Geom::Point2D< int > | pivotPos () const |
bool | accept (const MouseEvent &, bool released=false) |
bool | activate (const Color &, const MouseEvent &) |
bool | activate (const OD::LineStyle &, const MouseEvent &) |
void | setSequentSowMask (bool yn=true, OD::ButtonState mask=OD::LeftButton) |
void | setIfDragInvertMask (bool yn=true, OD::ButtonState mask=OD::ShiftButton) |
void | setLaserMask (bool yn=true, OD::ButtonState mask=OD::LeftButton) |
void | setEraserMask (bool yn=true, OD::ButtonState mask=((OD::ButtonState)(OD::LeftButton+OD::ControlButton))) |
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 | |
Notifier< Sower > | sowingEnd |
Notifier< Sower > | sowing |
Protected Member Functions | |
Sower (AuxDataEditor &, MouseEventHandler &) | |
~Sower () | |
void | setView (const Rect &wv, const Geom::Rectangle< int > &mouserect) |
bool | acceptMouse (const MouseEvent &, bool released) |
bool | acceptTablet (const MouseEvent &, bool released) |
bool | acceptLaser (const MouseEvent &, bool released) |
bool | acceptEraser (const MouseEvent &, bool released) |
void | reset () |
Protected Member Functions inherited from CallBacker | |
void | detachAllNotifiers () |
Call from the destructor of your inherited object. More... | |
Protected Attributes | |
AuxDataEditor & | editor_ |
Pos::IdxPair2Coord | transformation_ |
AuxData * | sowingline_ |
MouseEventHandler & | mouseeventhandler_ |
Geom::PixRectangle< int > | mouserectangle_ |
SowingMode | mode_ |
ObjectSet< MouseEvent > | eventlist_ |
TypeSet< Coord > | mousecoords_ |
TypeSet< int > | bendpoints_ |
bool | reversesowingorder_ |
bool | alternatesowingorder_ |
bool | intersow_ |
OD::ButtonState | sequentsowmask_ |
OD::ButtonState | ifdraginvertmask_ |
OD::ButtonState | lasermask_ |
OD::ButtonState | erasermask_ |
bool | singleseeded_ |
int | curknotid_ |
int | curknotstamp_ |
int | furrowstamp_ |
Friends | |
class | AuxDataEditor |
Class to sow/select points with mouse.
|
protected |
|
protected |
bool FlatView::Sower::accept | ( | const MouseEvent & | , |
bool | released = false |
||
) |
|
protected |
|
protected |
|
protected |
|
protected |
bool FlatView::Sower::activate | ( | const Color & | , |
const MouseEvent & | |||
) |
bool FlatView::Sower::activate | ( | const OD::LineStyle & | , |
const MouseEvent & | |||
) |
void FlatView::Sower::alternateSowingOrder | ( | bool | yn = true | ) |
void FlatView::Sower::intersow | ( | bool | yn = true | ) |
|
inline |
bool FlatView::Sower::moreToSow | ( | ) | const |
Geom::Point2D<int> FlatView::Sower::pivotPos | ( | ) | const |
void FlatView::Sower::reInitSettings | ( | ) |
|
protected |
void FlatView::Sower::reverseSowingOrder | ( | bool | yn = true | ) |
void FlatView::Sower::setEraserMask | ( | bool | yn = true , |
OD::ButtonState | mask = ((OD::ButtonState)(OD::LeftButton+OD::ControlButton)) |
||
) |
void FlatView::Sower::setIfDragInvertMask | ( | bool | yn = true , |
OD::ButtonState | mask = OD::ShiftButton |
||
) |
void FlatView::Sower::setLaserMask | ( | bool | yn = true , |
OD::ButtonState | mask = OD::LeftButton |
||
) |
void FlatView::Sower::setSequentSowMask | ( | bool | yn = true , |
OD::ButtonState | mask = OD::LeftButton |
||
) |
|
protected |
void FlatView::Sower::stopSowing | ( | ) |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019