OpendTect
6.3
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
master_od_source
include
uiIo
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
22
mExpClass
(uiIo)
uiPickSetIOObjSel
: public
uiIOObjSel
23
{
mODTextTranslationClass
(
uiPickSetIOObjSel
);
24
public
:
25
26
enum
Type
{ PolygonOnly, NoPolygon, AllSets };
27
28
uiPickSetIOObjSel
(
uiParent
*,
bool
forread=
true
,
29
Type
t=AllSets,
const
char
* cat=0);
30
uiPickSetIOObjSel
(
uiParent
*,
const
Setup
&,
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
};
mExpClass
#define mExpClass(module)
Definition:
commondefs.h:157
uiiocommon.h
mODTextTranslationClass
#define mODTextTranslationClass(clss)
Definition:
uistring.h:37
ODPolygon< float >
uiParent
Definition:
uiparent.h:24
uiioobjsel.h
uiPickSetIOObjSel
selects pick set or polygon.
Definition:
uipicksetsel.h:22
uiIOObjSel
User Interface (UI) element for selection of IOObjs.
Definition:
uiioobjsel.h:36
ioobjctxt.h
uiPickSetIOObjSel::Type
Type
Definition:
uipicksetsel.h:26
polygon.h
pickset.h
ConstRefMan< Pick::Set >
uiIOSelect::Setup
Definition:
uiiosel.h:32
RefMan< Pick::Set >
IOObjContext
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