OpendTect  6.3
uipicksetsel.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Bert
8  Date: May 2016
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uiiocommon.h"
14 #include "uiioobjsel.h"
15 #include "pickset.h"
16 #include "polygon.h"
17 #include "ioobjctxt.h"
18 
19 
24 public:
25 
26  enum Type { PolygonOnly, NoPolygon, AllSets };
27 
28  uiPickSetIOObjSel(uiParent*,bool forread=true,
29  Type t=AllSets,const char* cat=0);
31  bool forread=true,Type t=AllSets,
32  const char* cat=0);
33 
34  ConstRefMan<Pick::Set> getPickSet(bool emptyisok=false) const;
35  RefMan<Pick::Set> getPickSetForEdit(bool emptyisok=false) const;
36  ODPolygon<float>* getSelectionPolygon() const;
37  ODPolygon<double>* getCoordPolygon() const;
38 
39  static IOObjContext getCtxt(Type t=NoPolygon,bool forread=true,
40  const char* cat=0);
41  static void updateCtxt(IOObjContext&,Type t=NoPolygon,
42  bool forread=true,const char* cat=0);
43 
44 };
#define mExpClass(module)
Definition: commondefs.h:157
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
Definition: uiparent.h:24
selects pick set or polygon.
Definition: uipicksetsel.h:22
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:36
Type
Definition: uipicksetsel.h:26
Definition: uiiosel.h:32
Holds the context for selecting and/or creating IOObjs.
Definition: ioobjctxt.h:59

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