 |
OpendTect
6.6
|
Go to the documentation of this file.
38 Set(
const char* nm=0);
47 : color_(
Color::NoColor())
48 , fillcolor_(
Color::NoColor())
85 static const char*
sKeyFill() {
return "Fill"; }
113 int nrSets()
const {
return startidxs_.size(); }
119 {
return "PointSet Size Threshold";}
121 {
return "Use PointSet Size Threshold";}
162 template <
class PicksType>
163 inline bool is2D(
const PicksType& picks )
168 template <
class PicksType>
171 return picks.isEmpty() ? false : picks.get(0).trcKey().survID();
186 :
Table::AscIO(fd) {}
bool usePar(const IOPar &)
LocID find(const TrcKey &) const
static const char * sKeyMarkerType()
Definition: pickset.h:83
A cartesian coordinate in 3D space.
Definition: coord.h:72
(Closed) sequence of connected 2-D coordinates.
Definition: polygon.h:27
int nrSets() const
Definition: pickset.h:113
Disp disp_
Definition: pickset.h:65
Set of picks with something in common.
Definition: pickset.h:34
void getLocations(ObjectSet< Location > &, int idx=0)
CallBacker object with a name. Use if you want your object to be able to send and receive CallBack's,...
Definition: namedobj.h:72
LocID nearestLocation(const Coord3 &, bool ignorez=false) const
Connection
Definition: pickset.h:54
bool is2D() const
default is 3D
Set of pointers to objects.
Definition: commontypes.h:31
bool dofill_
Fill?
Definition: pickset.h:60
static void createDescBody(Table::FormatDesc *, bool iszreq)
Combo box.
Definition: uicombobox.h:32
Connection connect_
connect picks in set order
Definition: pickset.h:62
Definition: picklocation.h:21
@ Open
Definition: pickset.h:54
#define mExpClass(module)
Definition: commondefs.h:177
bool readonly_
Definition: pickset.h:132
OD class for stream read common access to the std::cin.
Definition: od_istream.h:24
Index_Type SurvID
Definition: commontypes.h:84
TypeSet< int > startidxs_
Definition: pickset.h:131
static Table::FormatDesc * getDesc(bool iszreq)
bool writeDisplayPars() const
Definition: geom2dascio.h:20
int markertype_
MarkerStyle3D.
Definition: pickset.h:59
static const char * sKeyFillColor()
Definition: pickset.h:84
static void updateDesc(Table::FormatDesc &, bool iszreq)
static const char * sKeyFill()
Definition: pickset.h:85
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
bool is2D() const
Definition: trckey.h:43
void fillPar(IOPar &) const
bool getSurvID(const PicksType &picks)
Definition: pickset.h:169
A cartesian coordinate in 2D space.
Definition: coord.h:25
void bulkRemoveWithUndo(const TypeSet< Pick::Location > &, const TypeSet< int > &indexes)
void fillDisplayPars(IOPar &) const
void getLocations(ObjectSet< const Location > &, int idx=0) const
void addUndoEvent(EventType, LocID, const Pick::Location &)
void moveWithUndo(LocID, const Pick::Location &, const Pick::Location &)
IOPar & pars_
Definition: pickset.h:66
idx_type LocID
Definition: pickset.h:36
void getBoundingBox(TrcKeyZSampling &) const
bool isSizeLargerThanThreshold() const
EventType
Definition: pickset.h:126
Definition: pickset.h:183
static const char * sKeyConnect()
Definition: pickset.h:86
bool useDisplayPars(const IOPar &)
Pick location in space,.
Definition: picklocation.h:46
Pos::SurvID getSurvID() const
pre-6.0.1 sets will return the survID of first loc
void getStartStopIdx(int setidx, int &start, int &stop) const
void addBulkUndoEvent(EventType, const TypeSet< int > &, const TypeSet< Pick::Location > &)
float getXYArea(int idx=0) const
Only for closed polygons. Returns in m^2.
const Location & get(LocID) const
static int getSizeThreshold()
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:28
@ None
Definition: networkcommon.h:33
PickSetAscIO(const Table::FormatDesc &fd)
Definition: pickset.h:185
void removeSingleWithUndo(LocID)
@ Remove
Definition: pickset.h:126
Color fillcolor_
surface color
Definition: pickset.h:57
int pixsize_
size in pixels
Definition: pickset.h:58
void bulkAppendWithUndo(const TypeSet< Pick::Location > &, const TypeSet< int > &indexes)
void setStartIdx(int setidx, int locidx)
bool get(od_istream &, Pick::Set &, bool iszreq, float zval) const
void appendWithUndo(const Pick::Location &)
bool is2D(const PicksType &picks)
ObjectSet of Pick::Location's. Does not manage.
Definition: pickset.h:163
LocID nearestLocation(const Coord &) const
static const char * sKeyThresholdSize()
Definition: pickset.h:118
mDeclareEnumUtils(Connection) Color color_
marker color
void getPolygon(ODPolygon< double > &, int idx=0) const
OD::LineStyle linestyle_
line type
Definition: pickset.h:61
bool isReadOnly() const
Definition: pickset.h:109
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer,...
Definition: color.h:26
const TypeSet< int > & startIndexs() const
Definition: pickset.h:115
void addStartIdx(int locidx)
OD::ValVec< Location, int >::idx_type idx_type
Definition: typeset.h:185
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55
Ascii I/O using Format Description.
Definition: tableascio.h:42
void insertWithUndo(LocID, const Pick::Location &)
Disp()
Definition: pickset.h:46
void setReadOnly(bool yn)
Definition: pickset.h:108
static const char * sKeyUseThreshold()
Definition: pickset.h:120
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021