 |
OpendTect
6.6
|
Go to the documentation of this file.
13 #include "generalmod.h"
33 HPos hPos()
const {
return hor_; }
34 VPos
vPos()
const {
return ver_; }
37 void set(
HPos h, VPos v ) { hor_ = h; ver_ = v; }
39 void set( VPos v ) { ver_ = v; }
55 #define mAlignment(h,v) Alignment(Alignment::h,Alignment::v)
56 #define mDeclAlignment(nm,h,v) Alignment nm( Alignment::h, Alignment::v )
79 bool isVisible() const;
82 void fromString(const
char*);
103 bool isVisible() const;
106 void fromString(const
char*);
121 enum Type {
None, Solid, Dash, Dot, DashDot, DashDotDot };
135 bool isVisible() const;
138 void fromString(const
char*);
150 : type_(typ), opt_(opt) {}
187 enum Type { HeadOnly, TwoSided, TailOnly, HeadNorTail };
212 , linetype_(Normal) {}
228 return pos_ == from.
pos_
233 {
return linetype_ == Normal; }
static void getTypeNames(BufferStringSet &)
int type_
Definition: draw.h:155
LineType
Definition: draw.h:207
mDeclareEnumUtils(Type) LineStyle(Type t
@ TwoHanded
Definition: draw.h:170
@ Bottom
Definition: oduicommon.h:65
@ Sphere
Definition: draw.h:92
ArrowHeadStyle tailstyle_
Definition: draw.h:198
Position.
Definition: commontypes.h:78
HandedNess handedness_
Definition: draw.h:178
Type type_
Definition: draw.h:195
Set of BufferString objects.
Definition: bufstringset.h:26
Type
Definition: draw.h:63
mDeclareEnumUtils(HPos) enum VPos
Definition: draw.h:26
OpendTect.
Definition: commontypes.h:28
#define mExpClass(module)
Definition: commondefs.h:177
@ Circle
Definition: gmtdef.h:20
@ Top
Definition: oduicommon.h:62
@ Square
Definition: gmtdef.h:20
PlotAnnotation & operator=(const PlotAnnotation &from)
Definition: draw.h:218
void setMediumDotted()
Definition: draw.h:160
HPos hor_
Definition: draw.h:50
Type
Definition: draw.h:121
mDeclareEnumUtils(VPos) Alignment(HPos h
static void getOptNames(int, BufferStringSet &)
VPos ver_
Definition: draw.h:51
HPos
Definition: draw.h:25
Type
Definition: draw.h:187
void setFullFill()
Definition: draw.h:159
static VPos opposite(VPos p)
#define mClass(module)
Definition: commondefs.h:181
OD::LineStyle linestyle_
contains the color
Definition: draw.h:196
LineType linetype_
Definition: draw.h:216
@ Right
Definition: draw.h:25
void set(HPos h)
Definition: draw.h:38
float pos_
Definition: draw.h:214
int sz_
Definition: draw.h:176
@ Triangle
Definition: vishorizonsectiondef.h:30
HandedNess
Definition: draw.h:170
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
@ None
Definition: networkcommon.h:33
ArrowStyle(int boldness=1, Type t=HeadOnly)
ArrowHeadStyle(int sz=1, Type t=Line, HandedNess h=TwoHanded)
FillPattern(int typ=0, int opt=0)
Definition: draw.h:149
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
ArrowHeadStyle headstyle_
Definition: draw.h:197
Type
Definition: draw.h:91
PlotAnnotation()
Definition: draw.h:209
VPos vPos() const
Definition: draw.h:34
static HPos opposite(HPos p)
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:274
@ Cross
Definition: gmtdef.h:20
FixedString Cube()
Definition: keystrs.h:51
bool isNormal() const
Definition: draw.h:232
FixedString Target()
Definition: keystrs.h:158
@ VLine
Definition: draw.h:64
void set(HPos h, VPos v)
Definition: draw.h:37
void setNoFill()
Definition: draw.h:158
Type type_
Definition: draw.h:177
mDeclareEnumUtils(Type) MarkerStyle3D(Type tp
void set(VPos v)
Definition: draw.h:39
int opt_
Definition: draw.h:156
@ Stop
Definition: draw.h:24
bool operator==(const PlotAnnotation &from) const
Definition: draw.h:226
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer,...
Definition: color.h:26
@ Line
Definition: vishorizonsectiondef.h:30
BufferString toString(const BufferStringSet &bss)
Definition: bufstringset.h:156
@ Left
Definition: oduicommon.h:63
mDeclareEnumUtils(Type) MarkerStyle2D(Type tp
Type
Definition: draw.h:169
uiString txt_
Definition: draw.h:215
@ Point
Definition: draw.h:93
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021