34 Set(
const char* nm=0);
38 Set& operator =(
const Set&);
43 : color_(
Color::NoColor())
62 bool isPolygon()
const;
66 float getXYArea(
int idx=0)
const;
75 void fillDisplayPars(
IOPar&)
const;
76 bool useDisplayPars(
const IOPar&);
77 bool writeDisplayPars()
const;
85 inline Location&
get(
size_type idx ) {
return (*
this)[idx]; }
86 inline const Location&
get(
size_type idx )
const {
return (*
this)[idx]; }
93 void addStartIdx(
int locidx);
94 void setStartIdx(
int setidx,
int locidx);
95 int nrSets()
const {
return startidxs_.size(); }
96 void getStartStopIdx(
int setidx,
int& start,
int&stop)
const;
99 bool isSizeLargerThanThreshold()
const;
101 {
return "PointSet Size Threshold";}
103 {
return "Use PointSet Size Threshold";}
104 static int getSizeThreshold();
127 {
const_cast<Pick::Set&
>(ps).getLocations(*
this); }
129 inline bool is2D()
const;
135 inline Location&
get(
size_type idx ) {
return *(*this)[idx];}
136 inline const Location&
get(
size_type idx )
const {
return *(*this)[idx];}
141 template <
class PicksType>
142 inline bool is2D(
const PicksType& picks )
147 template <
class PicksType>
150 return picks.isEmpty() ?
false : picks.get(0).trcKey().survID();
165 :
Table::AscIO(fd) {}
#define mExpClass(module)
Definition: commondefs.h:160
static const char * sKeyUseThreshold()
Definition: pickset.h:102
static const char * sKeyMarkerType()
Definition: pickset.h:72
int pixsize_
size in pixels
Definition: pickset.h:50
bool isReadOnly() const
Definition: pickset.h:89
Pick location in space,.
Definition: picklocation.h:46
bool readonly_
Definition: pickset.h:112
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
Connection connect_
connect picks in set order
Definition: pickset.h:52
(Closed) sequence of connected 2-D coordinates.
Definition: polygon.h:27
PickSetAscIO(const Table::FormatDesc &fd)
Definition: pickset.h:164
Disp disp_
Definition: pickset.h:55
int size_type
Definition: objectset.h:39
List()
Definition: pickset.h:122
A cartesian coordinate in 2D space.
Definition: coord.h:25
ObjectSet of Pick::Location's. Does not manage.
Definition: pickset.h:118
#define mDeclareEnumUtils(enm)
Some utilities surrounding the often needed enum <-> string table.
Definition: enums.h:258
FixedString None()
Definition: keystrs.h:90
OD class for stream read.
Definition: od_istream.h:24
void addAll(const Pick::Set &ps)
Definition: pickset.h:126
Set of picks with something in common.
Definition: pickset.h:31
Definition: pickset.h:161
TypeSet< int > startidxs_
Definition: pickset.h:111
List(const Pick::Set &ps)
Definition: pickset.h:123
Pos::SurvID getSurvID() const
Definition: pickset.h:154
int size_type
Definition: typeset.h:30
Set of (small) copyable elements.
Definition: commontypes.h:30
IOPar & pars_
Definition: pickset.h:56
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Definition: geom2dascio.h:21
Index_Type SurvID
Definition: commontypes.h:49
int markertype_
MarkerStyle3D.
Definition: pickset.h:51
Color color_
color
Definition: pickset.h:49
EventType
Definition: pickset.h:108
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
bool is2D() const
Definition: pickset.h:153
const T * find(const ObjectSet< T > &os, const S &val)
Get const object in set.
Definition: objectset.h:183
Connection
Definition: pickset.h:47
A cartesian coordinate in 3D space.
Definition: coord.h:72
bool getSurvID(const PicksType &picks)
Definition: pickset.h:148
Disp()
Definition: pickset.h:42
Object with a name.
Definition: namedobj.h:35
bool is2D(const PicksType &picks)
Definition: pickset.h:142
Definition: picklocation.h:21
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
bool is2D() const
Definition: trckey.h:44
void setReadOnly(bool yn)
Definition: pickset.h:88
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:28
static const char * sKeyThresholdSize()
Definition: pickset.h:100
const TypeSet< int > & startIndexs() const
Definition: pickset.h:97
int nrSets() const
Definition: pickset.h:95
Definition: pickset.h:108