OpendTect  6.6
Classes | Macros | Typedefs | Functions
gmtpar.h File Reference
Include dependency graph for gmtpar.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GMTPar
 
class  GMTParFactory
 

Macros

#define mErrStrmRet(s)   { strm << s << '\n'; return false; }
 
#define mGetRangeString(str)
 
#define mGetProjString(str, projkey)
 
#define mGetColorString(col, str)
 
#define mGetLineStyleString(ls, str)
 

Typedefs

typedef GMTPar *(* GMTParCreateFunc) (const IOPar &, const char *)
 

Functions

GMTParFactoryGMTPF ()
 

Macro Definition Documentation

◆ mErrStrmRet

#define mErrStrmRet (   s)    { strm << s << '\n'; return false; }

◆ mGetColorString

#define mGetColorString (   col,
  str 
)
Value:
str = (int) col.r(); \
str += "/"; str += (int) col.g(); \
str += "/"; str += (int) col.b();

◆ mGetLineStyleString

#define mGetLineStyleString (   ls,
  str 
)
Value:
str = ls.width_; str += "p,"; \
BufferString lscol; \
mGetColorString( ls.color_, lscol ); \
str += lscol; str += ","; \
switch ( ls.type_ ) \
{ \
str += "-"; \
break; \
str += "."; \
break; \
str += "-."; \
break; \
str += "-.."; \
break; \
default: break; \
}

◆ mGetProjString

#define mGetProjString (   str,
  projkey 
)
Value:
get( ODGMT::sKeyMapDim(), dim ); \
str += "-J"; str += projkey; str += dim.start; str += "c/"; \
str += dim.stop; str += "c";

◆ mGetRangeString

#define mGetRangeString (   str)
Value:
Interval<float> xrg, yrg, mapdim; \
get( ODGMT::sKeyXRange(), xrg ); \
get( ODGMT::sKeyYRange(), yrg ); \
str = "-R"; str += xrg.start; str += "/"; \
str += xrg.stop; str += "/"; \
str += yrg.start; str += "/"; str += yrg.stop;

Typedef Documentation

◆ GMTParCreateFunc

typedef GMTPar*(* GMTParCreateFunc) (const IOPar &, const char *)

Function Documentation

◆ GMTPF()

GMTParFactory& GMTPF ( )
OD::LineStyle::Dash
@ Dash
Definition: draw.h:121
OD::LineStyle::Dot
@ Dot
Definition: draw.h:121
OD::LineStyle::DashDotDot
@ DashDotDot
Definition: draw.h:121
ODGMT::sKeyXRange
const char * sKeyXRange()
Definition: gmtdef.h:75
ODGMT::sKeyMapDim
const char * sKeyMapDim()
Definition: gmtdef.h:57
OD::LineStyle::DashDot
@ DashDot
Definition: draw.h:121
Interval< float >
ODGMT::sKeyYRange
const char * sKeyYRange()
Definition: gmtdef.h:76

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