OpendTect
6.6
|
Class to sow/select points with mouse. More...
Public Types | |
enum | SowingMode { Lasering =-2 , Erasing =-1 , Idle =0 , Furrowing , FirstSowing , SequentSowing } |
Public Member Functions | |
bool | accept (const MouseEvent &, bool released=false) |
bool | activate (const Color &, const MouseEvent &) |
bool | activate (const OD::LineStyle &, const MouseEvent &) |
void | alternateSowingOrder (bool yn=true) |
void | intersow (bool yn=true) |
SowingMode | mode () |
bool | moreToSow () const |
Geom::Point2D< int > | pivotPos () const |
void | reInitSettings () |
void | reverseSowingOrder (bool yn=true) |
void | setEraserMask (bool yn=true, OD::ButtonState mask=((OD::ButtonState)(OD::LeftButton+OD::ControlButton))) |
void | setIfDragInvertMask (bool yn=true, OD::ButtonState mask=OD::ShiftButton) |
void | setLaserMask (bool yn=true, OD::ButtonState mask=OD::LeftButton) |
void | setSequentSowMask (bool yn=true, OD::ButtonState mask=OD::LeftButton) |
void | stopSowing () |
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 | |
Notifier< Sower > | sowing |
Notifier< Sower > | sowingEnd |
Protected Member Functions | |
Sower (AuxDataEditor &, MouseEventHandler &) | |
~Sower () | |
bool | acceptEraser (const MouseEvent &, bool released) |
bool | acceptLaser (const MouseEvent &, bool released) |
bool | acceptMouse (const MouseEvent &, bool released) |
bool | acceptTablet (const MouseEvent &, bool released) |
void | reset () |
void | setView (const Rect &wv, const Geom::Rectangle< int > &mouserect) |
Protected Attributes | |
bool | alternatesowingorder_ |
TypeSet< int > | bendpoints_ |
int | curknotid_ |
int | curknotstamp_ |
AuxDataEditor & | editor_ |
OD::ButtonState | erasermask_ |
ObjectSet< MouseEvent > | eventlist_ |
int | furrowstamp_ |
OD::ButtonState | ifdraginvertmask_ |
bool | intersow_ |
OD::ButtonState | lasermask_ |
SowingMode | mode_ |
TypeSet< Coord > | mousecoords_ |
MouseEventHandler & | mouseeventhandler_ |
Geom::PixRectangle< int > | mouserectangle_ |
bool | reversesowingorder_ |
OD::ButtonState | sequentsowmask_ |
bool | singleseeded_ |
AuxData * | sowingline_ |
Pos::IdxPair2Coord | transformation_ |
Friends | |
class | AuxDataEditor |
Additional Inherited Members | |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
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. 1995-2022