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

Protected Member Functions

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

Protected Attributes

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

Additional Inherited Members

- Public Attributes inherited from FlatView::AuxDataEditor
Notifier< AuxDataEditoraddAuxDataChange
 
Notifier< AuxDataEditormovementStarted
 
Notifier< AuxDataEditormovementFinished
 
CNotifier< AuxDataEditor, bool > removeSelected
 
Notifier< AuxDataEditorreleaseSelection
 

Detailed Description

Flatview auxiliary data editor.

Constructor & Destructor Documentation

uiFlatViewAuxDataEditor::uiFlatViewAuxDataEditor ( uiFlatViewer )
uiFlatViewAuxDataEditor::~uiFlatViewAuxDataEditor ( )

Member Function Documentation

uiFlatViewer& uiFlatViewAuxDataEditor::getFlatViewer ( ) const
inline
void uiFlatViewAuxDataEditor::sizeChangeCB ( CallBacker )
protected
void uiFlatViewAuxDataEditor::viewChangeCB ( CallBacker )
protected

Member Data Documentation

uiFlatViewer& uiFlatViewAuxDataEditor::uivwr_
protected

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