OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
uiFlatViewAuxDataEditor Class Reference

Flatview auxiliary data editor. More...

Inheritance diagram for uiFlatViewAuxDataEditor:
[legend]

Public Member Functions

 uiFlatViewAuxDataEditor (uiFlatViewer &)
 
 ~uiFlatViewAuxDataEditor ()
 
uiFlatViewergetFlatViewer () const
 
- Public Member Functions inherited from FlatView::AuxDataEditor
 AuxDataEditor (Viewer &, MouseEventHandler &)
 
virtual ~AuxDataEditor ()
 
int addAuxData (FlatView::AuxData *, bool doedit)
 
void enableEdit (int id, bool allowadd, bool allowmove, bool allowdelete)
 
void enablePolySel (int id, bool allowsel)
 
int getAddAuxData () const
 
const ObjectSet< AuxData > & getAuxData () const
 
const TypeSet< int > & getIds () const
 
MenuHandlergetMenuHandler ()
 
const Geom::PixRectangle< int > & getMouseArea () const
 
void getPointSelections (TypeSet< int > &ids, TypeSet< int > &idxs) const
 
const OD::LineStylegetSelectionPolygonLineStyle () const
 
bool getSelectionPolygonRectangle () const
 If not rectangle, it's a polygon. More...
 
int getSelPtDataID () const
 
const TypeSet< int > & getSelPtIdx () const
 
const PointgetSelPtPos () const
 
Rect getWorldRect (int dataid) const
 
bool isDragging () const
 
bool isSelActive () const
 
void limitMovement (const Rect *)
 
const PointmarkerPosAt (const Geom::Point2D< int > &mousepos) const
 
MouseEventHandlermouseEventHandler ()
 
void removeAuxData (int id)
 
void removePolygonSelected (int dataid)
 If dataid ==-1, all pts inside polygon is removed. More...
 
void setAddAuxData (int id)
 Added points will be added to this set. More...
 
void setMenuHandler (MenuHandler *)
 
void setSelActive (bool yn)
 
void setSelectionPolygonLineStyle (const OD::LineStyle &)
 
void setSelectionPolygonRectangle (bool)
 If not rectangle, it's a polygon. More...
 
void setSelectionPolygonVisible (bool)
 
void setView (const Rect &wv, const Geom::Rectangle< int > &mouserect)
 
Sowersower ()
 
Viewerviewer ()
 
const Viewerviewer () const
 
- 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
 
virtual CallBackertrueCaller ()
 

Protected Member Functions

void sizeChangeCB (CallBacker *)
 
void viewChangeCB (CallBacker *)
 
- Protected Member Functions inherited from FlatView::AuxDataEditor
int dataSetIdxAt (const Geom::Point2D< int > &) const
 
void findSelection (const Geom::Point2D< int > &, int &seldatasetidx, TypeSet< int > *selptidxlist) const
 
void getPointSelections (const ObjectSet< AuxData > &polygon, TypeSet< int > &ids, TypeSet< int > &idxs) const
 
void mouseMoveCB (CallBacker *)
 
void mousePressCB (CallBacker *)
 
void mouseReleaseCB (CallBacker *)
 
bool removeSelectionPolygon ()
 Returns true if viewer must be notified. More...
 
bool updateSelection (const Geom::Point2D< int > &)
 

Protected Attributes

uiFlatVieweruivwr_
 
- Protected Attributes inherited from FlatView::AuxDataEditor
int addauxdataid_
 
BoolTypeSet allowadd_
 
BoolTypeSet allowmove_
 
BoolTypeSet allowpolysel_
 
BoolTypeSet allowremove_
 
ObjectSet< AuxDataauxdata_
 
Rect curview_
 
BoolTypeSet doedit_
 
AuxDatafeedback_
 
bool hasmoved_
 
TypeSet< int > ids_
 
bool isselactive_
 
MenuHandlermenuhandler_
 
Geom::PixRectangle< int > mousearea_
 
bool mousedown_
 
MouseEventHandlermousehandler_
 
Rectmovementlimit_
 
ObjectSet< AuxDatapolygonsel_
 
OD::LineStyle polygonsellst_
 
bool polygonselrect_
 
Geom::Point2D< int > prevpt_
 
int seldatasetidx_
 
Point selptcoord_
 
TypeSet< int > selptidx_
 
Sowersower_
 
Viewerviewer_
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Public Attributes inherited from FlatView::AuxDataEditor
Notifier< AuxDataEditoraddAuxDataChange
 
Notifier< AuxDataEditormovementFinished
 
Notifier< AuxDataEditormovementStarted
 
Notifier< AuxDataEditorreleaseSelection
 
CNotifier< AuxDataEditor, bool > removeSelected
 

Detailed Description

Flatview auxiliary data editor.

<>

Constructor & Destructor Documentation

◆ uiFlatViewAuxDataEditor()

uiFlatViewAuxDataEditor::uiFlatViewAuxDataEditor ( uiFlatViewer )

◆ ~uiFlatViewAuxDataEditor()

uiFlatViewAuxDataEditor::~uiFlatViewAuxDataEditor ( )

Member Function Documentation

◆ getFlatViewer()

uiFlatViewer& uiFlatViewAuxDataEditor::getFlatViewer ( ) const
inline

◆ sizeChangeCB()

void uiFlatViewAuxDataEditor::sizeChangeCB ( CallBacker )
protected

◆ viewChangeCB()

void uiFlatViewAuxDataEditor::viewChangeCB ( CallBacker )
protected

Member Data Documentation

◆ uivwr_

uiFlatViewer& uiFlatViewAuxDataEditor::uivwr_
protected

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