OpendTect  7.0
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
OD Namespace Reference

Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt. More...

Namespaces

 JSON
 

Classes

class  Color
 
class  FileSystemAccess
 Interface to files and directories, whether local or cloud. More...
 
class  GeoJsonTree
 
class  IconFile
 
class  LineStyle
 
class  ModDep
 Module Dependency. More...
 
class  ModDepMgr
 Dependency manager - provides tools for the dependencies between the different OpendTect 'modules'. More...
 
class  Pair
 
class  Platform
 Platform or Operating System. More...
 
class  PythonAccess
 
class  RGBImage
 Class for Red, Green, Blue image. More...
 
class  RGBImageLoader
 Class To load image files, and return the image data in RGBImage object. More...
 
class  Set
 Base class for all sets used in OpendTect. More...
 
class  String
 encapsulates the read-access-only part of strings in OD. More...
 
class  ValVec
 

Typedefs

using PairD = Pair< double, double >
 
using PairF = Pair< float, float >
 
using PairI16 = Pair< std::int16_t, std::int16_t >
 
using PairI32 = Pair< std::int32_t, std::int32_t >
 
using PairI64 = Pair< std::int64_t, std::int64_t >
 
using PairUI16 = Pair< std::int16_t, std::uint16_t >
 
using PairUI32 = Pair< std::int32_t, std::uint32_t >
 
using PairUI64 = Pair< std::int64_t, std::uint64_t >
 

Enumerations

enum  ButtonState {
  NoButton = 0x00000000 , LeftButton = 0x00000001 , RightButton = 0x00000002 , MidButton = 0x00000004 ,
  MouseButtonMask = 0x000000ff , ShiftButton = 0x02000000 , ControlButton = 0x04000000 , AltButton = 0x08000000 ,
  MetaButton = 0x10000000 , KeyButtonMask = 0xfe000000 , Keypad = 0x20000000
}
 
enum  CaseSensitivity { CaseSensitive =0 , CaseInsensitive =1 }
 
enum  CheckState { Unchecked =0 , PartiallyChecked =1 , Checked =2 }
 State of check objects. More...
 
enum  ChoiceMode { ChooseNone =0 , ChooseOnlyOne =1 , ChooseAtLeastOne =2 , ChooseZeroOrMore =3 }
 What to choose from any list-type UI object. More...
 
enum  Corner { TopLeft =0 , TopRight =1 , BottomLeft =2 , BottomRight =3 }
 
enum  DataRepType {
  AutoDataRep =0 , SI8 , UI8 , SI16 ,
  UI16 , SI32 , UI32 , F32 ,
  F64 , SI64 , UI64
}
 
enum  Edge { Top =0 , Left =1 , Right =2 , Bottom =3 }
 
enum  FileContentType { GeneralContent =0 , ImageContent , TextContent , HtmlContent }
 File content types, for which operations may be known. More...
 
enum  FileSelectionMode {
  SelectFileForRead , SelectFileForWrite , SelectMultiFile , SelectDirectory ,
  SelectDirectoryWithFile
}
 How to select files or directories. More...
 
enum  GeomSystem { GeomSynth =-2 , Geom3D =-1 , Geom2D =0 }
 
enum  KeyboardKey {
  KB_NoKey = 0x00000000 , KB_Escape = 0x01000000 , KB_Tab = 0x01000001 , KB_Backtab = 0x01000002 ,
  KB_Backspace = 0x01000003 , KB_Return = 0x01000004 , KB_Enter = 0x01000005 , KB_Insert = 0x01000006 ,
  KB_Delete = 0x01000007 , KB_Pause = 0x01000008 , KB_Print = 0x01000009 , KB_SysReq = 0x0100000a ,
  KB_Clear = 0x0100000b , KB_Home = 0x01000010 , KB_End = 0x01000011 , KB_Left = 0x01000012 ,
  KB_Up = 0x01000013 , KB_Right = 0x01000014 , KB_Down = 0x01000015 , KB_PageUp = 0x01000016 ,
  KB_PageDown = 0x01000017 , KB_Shift = 0x01000020 , KB_Control = 0x01000021 , KB_Meta = 0x01000022 ,
  KB_Alt = 0x01000023 , KB_AltGr = 0x01001103 , KB_CapsLock = 0x01000024 , KB_NumLock = 0x01000025 ,
  KB_ScrollLock = 0x01000026 , KB_F1 = 0x01000030 , KB_F2 = 0x01000031 , KB_F3 = 0x01000032 ,
  KB_F4 = 0x01000033 , KB_F5 = 0x01000034 , KB_F6 = 0x01000035 , KB_F7 = 0x01000036 ,
  KB_F8 = 0x01000037 , KB_F9 = 0x01000038 , KB_F10 = 0x01000039 , KB_F11 = 0x0100003a ,
  KB_F12 = 0x0100003b , KB_F13 = 0x0100003c , KB_F14 = 0x0100003d , KB_F15 = 0x0100003e ,
  KB_F16 = 0x0100003f , KB_F17 = 0x01000040 , KB_F18 = 0x01000041 , KB_F19 = 0x01000042 ,
  KB_F20 = 0x01000043 , KB_F21 = 0x01000044 , KB_F22 = 0x01000045 , KB_F23 = 0x01000046 ,
  KB_F24 = 0x01000047 , KB_F25 = 0x01000048 , KB_F26 = 0x01000049 , KB_F27 = 0x0100004a ,
  KB_F28 = 0x0100004b , KB_F29 = 0x0100004c , KB_F30 = 0x0100004d , KB_F31 = 0x0100004e ,
  KB_F32 = 0x0100004f , KB_F33 = 0x01000050 , KB_F34 = 0x01000051 , KB_F35 = 0x01000052 ,
  KB_Super_L = 0x01000053 , KB_Super_R = 0x01000054 , KB_Menu = 0x01000055 , KB_Hyper_L = 0x01000056 ,
  KB_Hyper_R = 0x01000057 , KB_Help = 0x01000058 , KB_Direction_L = 0x01000059 , KB_Direction_R = 0x01000060 ,
  KB_Space = 0x20 , KB_Any = KB_Space , KB_Exclam = 0x21 , KB_QuoteDbl = 0x22 ,
  KB_NumberSign = 0x23 , KB_Dollar = 0x24 , KB_Percent = 0x25 , KB_Ampersand = 0x26 ,
  KB_Apostrophe = 0x27 , KB_ParenLeft = 0x28 , KB_ParenRight = 0x29 , KB_Asterisk = 0x2a ,
  KB_Plus = 0x2b , KB_Comma = 0x2c , KB_Minus = 0x2d , KB_Period = 0x2e ,
  KB_Slash = 0x2f , KB_Zero = 0x30 , KB_One = 0x31 , KB_Two = 0x32 ,
  KB_Three = 0x33 , KB_Four = 0x34 , KB_Five = 0x35 , KB_Six = 0x36 ,
  KB_Seven = 0x37 , KB_Eight = 0x38 , KB_Nine = 0x39 , KB_Colon = 0x3a ,
  KB_Semicolon = 0x3b , KB_Less = 0x3c , KB_Equal = 0x3d , KB_Greater = 0x3e ,
  KB_Question = 0x3f , KB_At = 0x40 , KB_A = 0x41 , KB_B = 0x42 ,
  KB_C = 0x43 , KB_D = 0x44 , KB_E = 0x45 , KB_F = 0x46 ,
  KB_G = 0x47 , KB_H = 0x48 , KB_I = 0x49 , KB_J = 0x4a ,
  KB_K = 0x4b , KB_L = 0x4c , KB_M = 0x4d , KB_N = 0x4e ,
  KB_O = 0x4f , KB_P = 0x50 , KB_Q = 0x51 , KB_R = 0x52 ,
  KB_S = 0x53 , KB_T = 0x54 , KB_U = 0x55 , KB_V = 0x56 ,
  KB_W = 0x57 , KB_X = 0x58 , KB_Y = 0x59 , KB_Z = 0x5a ,
  KB_BracketLeft = 0x5b , KB_Backslash = 0x5c , KB_BracketRight = 0x5d , KB_AsciiCircum = 0x5e ,
  KB_Underscore = 0x5f , KB_QuoteLeft = 0x60 , KB_BraceLeft = 0x7b , KB_Bar = 0x7c ,
  KB_BraceRight = 0x7d , KB_AsciiTilde = 0x7e , KB_Nobreakspace = 0x0a0 , KB_Exclamdown = 0x0a1 ,
  KB_Cent = 0x0a2 , KB_Sterling = 0x0a3 , KB_Currency = 0x0a4 , KB_Yen = 0x0a5 ,
  KB_Brokenbar = 0x0a6 , KB_Section = 0x0a7 , KB_Diaeresis = 0x0a8 , KB_Copyright = 0x0a9 ,
  KB_Ordfeminine = 0x0aa , KB_Guillemotleft = 0x0ab , KB_Notsign = 0x0ac , KB_Hyphen = 0x0ad ,
  KB_Registered = 0x0ae , KB_Macron = 0x0af , KB_Degree = 0x0b0 , KB_Plusminus = 0x0b1 ,
  KB_Twosuperior = 0x0b2 , KB_Threesuperior = 0x0b3 , KB_Acute = 0x0b4 , KB_Mu = 0x0b5 ,
  KB_Paragraph = 0x0b6 , KB_Periodcentered = 0x0b7 , KB_Cedilla = 0x0b8 , KB_Onesuperior = 0x0b9 ,
  KB_Masculine = 0x0ba , KB_Guillemotright = 0x0bb , KB_Onequarter = 0x0bc , KB_Onehalf = 0x0bd ,
  KB_Threequarters = 0x0be , KB_Questiondown = 0x0bf , KB_agrave = 0x0c0 , KB_Aacute = 0x0c1 ,
  KB_Acircumflex = 0x0c2 , KB_Atilde = 0x0c3 , KB_Adiaeresis = 0x0c4 , KB_Aring = 0x0c5 ,
  KB_AE = 0x0c6 , KB_Ccedilla = 0x0c7 , KB_Egrave = 0x0c8 , KB_Eacute = 0x0c9 ,
  KB_Ecircumflex = 0x0ca , KB_Ediaeresis = 0x0cb , KB_Igrave = 0x0cc , KB_Iacute = 0x0cd ,
  KB_Icircumflex = 0x0ce , KB_Idiaeresis = 0x0cf , KB_ETH = 0x0d0 , KB_NTilde = 0x0d1 ,
  KB_Ograve = 0x0d2 , KB_Oacute = 0x0d3 , KB_Ocircumflex = 0x0d4 , KB_Otilde = 0x0d5 ,
  KB_Odiaeresis = 0x0d6 , KB_Multiply = 0x0d7 , KB_Ooblique = 0x0d8 , KB_Ugrave = 0x0d9 ,
  KB_Uacute = 0x0da , KB_Ucircumflex = 0x0db , KB_Udiaeresis = 0x0dc , KB_Yacute = 0x0dd ,
  KB_THORN = 0x0de , KB_Ssharp = 0x0df , KB_Division = 0x0f7 , KB_Ydiaeresis = 0x0ff ,
  KB_Multi_key = 0x01001120 , KB_Codeinput = 0x01001137 , KB_SingleCandidate = 0x0100113c , KB_MultipleCandidate = 0x0100113d ,
  KB_PreviousCandidate = 0x0100113e , KB_Mode_switch = 0x0100117e , KB_Kanji = 0x01001121 , KB_Muhenkan = 0x01001122 ,
  KB_Henkan = 0x01001123 , KB_Romaji = 0x01001124 , KB_Hiragana = 0x01001125 , KB_Katakana = 0x01001126 ,
  KB_Hiragana_Katakana = 0x01001127 , KB_Zenkaku = 0x01001128 , KB_Hankaku = 0x01001129 , KB_Zenkaku_Hankaku = 0x0100112a ,
  KB_Touroku = 0x0100112b , KB_Massyo = 0x0100112c , KB_Kana_Lock = 0x0100112d , KB_Kana_Shift = 0x0100112e ,
  KB_Eisu_Shift = 0x0100112f , KB_Eisu_toggle = 0x01001130 , KB_Hangul = 0x01001131 , KB_Hangul_Start = 0x01001132 ,
  KB_Hangul_End = 0x01001133 , KB_Hangul_Hanja = 0x01001134 , KB_Hangul_Jamo = 0x01001135 , KB_Hangul_Romaja = 0x01001136 ,
  KB_Hangul_Jeonja = 0x01001138 , KB_Hangul_Banja = 0x01001139 , KB_Hangul_PreHanja = 0x0100113a , KB_Hangul_PostHanja = 0x0100113b ,
  KB_Hangul_Special = 0x0100113f , KB_Dead_Grave = 0x01001250 , KB_Dead_Acute = 0x01001251 , KB_Dead_Circumflex = 0x01001252 ,
  KB_Dead_Tilde = 0x01001253 , KB_Dead_Macron = 0x01001254 , KB_Dead_Breve = 0x01001255 , KB_Dead_Abovedot = 0x01001256 ,
  KB_Dead_Diaeresis = 0x01001257 , KB_Dead_Abovering = 0x01001258 , KB_Dead_Doubleacute = 0x01001259 , KB_Dead_Caron = 0x0100125a ,
  KB_Dead_Cedilla = 0x0100125b , KB_Dead_Ogonek = 0x0100125c , KB_Dead_Iota = 0x0100125d , KB_Dead_Voiced_Sound = 0x0100125e ,
  KB_Dead_Semivoiced_Sound = 0x0100125f , KB_Dead_Belowdot = 0x01001260 , KB_Dead_Hook = 0x01001261 , KB_Dead_Horn = 0x01001262 ,
  KB_Back = 0x01000061 , KB_Forward = 0x01000062 , KB_Stop = 0x01000063 , KB_Refresh = 0x01000064 ,
  KB_VolumeDown = 0x01000070 , KB_VolumeMute = 0x01000071 , KB_VolumeUp = 0x01000072 , KB_BassBoost = 0x01000073 ,
  KB_BassUp = 0x01000074 , KB_BassDown = 0x01000075 , KB_TrebleUp = 0x01000076 , KB_TrebleDown = 0x01000077 ,
  KB_MediaPlay = 0x01000080 , KB_MediaStop = 0x01000081 , KB_MediaPrevious = 0x01000082 , KB_MediaNext = 0x01000083 ,
  KB_MediaRecord = 0x01000084 , KB_HomePage = 0x01000090 , KB_Favorites = 0x01000091 , KB_Search = 0x01000092 ,
  KB_Standby = 0x01000093 , KB_OpenUrl = 0x01000094 , KB_LaunchMail = 0x010000a0 , KB_LaunchMedia = 0x010000a1 ,
  KB_Launch0 = 0x010000a2 , KB_Launch1 = 0x010000a3 , KB_Launch2 = 0x010000a4 , KB_Launch3 = 0x010000a5 ,
  KB_Launch4 = 0x010000a6 , KB_Launch5 = 0x010000a7 , KB_Launch6 = 0x010000a8 , KB_Launch7 = 0x010000a9 ,
  KB_Launch8 = 0x010000aa , KB_Launch9 = 0x010000ab , KB_LaunchA = 0x010000ac , KB_LaunchB = 0x010000ad ,
  KB_LaunchC = 0x010000ae , KB_LaunchD = 0x010000af , KB_LaunchE = 0x010000b0 , KB_LaunchF = 0x010000b1 ,
  KB_MediaLast = 0x0100ffff , KB_unknown = 0x01ffffff , KB_Call = 0x01100004 , KB_Context1 = 0x01100000 ,
  KB_Context2 = 0x01100001 , KB_Context3 = 0x01100002 , KB_Context4 = 0x01100003 , KB_Flip = 0x01100006 ,
  KB_Hangup = 0x01100005 , KB_No = 0x01010002 , KB_Select = 0x01010000 , KB_Yes = 0x01010001 ,
  KB_Execute = 0x01020003 , KB_Printer = 0x01020002 , KB_Play = 0x01020005 , KB_Sleep = 0x01020004 ,
  KB_Zoom = 0x01020006 , KB_Cancel = 0x01020001
}
 
enum  Orientation { Horizontal =0 , Vertical =1 }
 Fundamental orientation. More...
 
enum  Pol2D3D { Only3D =0 , Both2DAnd3D =1 , Only2D =2 }
 
enum  PtrPolicy { UsePtr , CopyPtr , TakeOverPtr }
 
enum  PythonSource { Internal , System , Custom }
 
enum  RunCtxt {
  UnknownCtxt , NormalCtxt , TestProgCtxt , SysAdmCtxt ,
  BatchProgCtxt , UiProgCtxt , InstallerCtxt
}
 
enum  SliceType { InlineSlice =0 , CrosslineSlice =1 , ZSlice =2 }
 OpendTect flat slice types. More...
 
enum  SnapDir { SnapDownward =-1 , SnapNearest =0 , SnapUpward =1 }
 
enum  StdActionType {
  NoIcon =0 , Apply , Cancel , Define ,
  Delete , Edit , Help , Ok ,
  Options , Properties , Examine , Rename ,
  Remove , Save , SaveAs , Select ,
  Settings , Unload , Video
}
 
enum class  VelocityType {
  Unknown =0 , Interval =1 , RMS =2 , Avg =3 ,
  Delta =4 , Epsilon =5 , Eta =6
}
 
enum  WellType {
  UnknownWellType =0 , OilWell =1 , GasWell =2 , OilGasWell =3 ,
  DryHole =4 , PluggedOilWell =5 , PluggedGasWell =6 , PluggedOilGasWell =7 ,
  PermittedLocation =8 , CanceledLocation =9 , InjectionDisposalWell =10
}
 
enum  WindowActivationBehavior { DefaultActivateWindow , AlwaysActivateWindow }
 
enum class  XYType { Meter =0 , Feet =1 }
 

Functions

bool altKeyboardButton (ButtonState)
 
bool canDoCUDA (BufferString &maxverstr)
 
bool ctrlKeyboardButton (ButtonState)
 
void DisplayErrorMessage (const char *)
 
void dumpMemInfo (IOPar &)
 
void dumpMemInfo (StringPairSet &)
 
template<class T >
DataRepType GetDataRepType ()
 
DataRepType GetDataRepType (bool isfp, bool issigned, int nbytes)
 
template<>
DataRepType GetDataRepType< double > ()
 
template<>
DataRepType GetDataRepType< float > ()
 
template<>
DataRepType GetDataRepType< std::int16_t > ()
 
template<>
DataRepType GetDataRepType< std::int32_t > ()
 
template<>
DataRepType GetDataRepType< std::int64_t > ()
 
template<>
DataRepType GetDataRepType< std::int8_t > ()
 
template<>
DataRepType GetDataRepType< std::uint16_t > ()
 
template<>
DataRepType GetDataRepType< std::uint32_t > ()
 
template<>
DataRepType GetDataRepType< std::uint64_t > ()
 
template<>
DataRepType GetDataRepType< std::uint8_t > ()
 
bool getHostIDs (BufferStringSet &hostids, BufferString &errmsg)
 
const char * getLmUtilFilePath (uiString *errmsg)
 
const char * getPythonSourceString (PythonSource)
 
Color getRandomColor (bool withtransp=false)
 
Color getRandomFillColor ()
 
Color getRandStdDrawColor ()
 
RunCtxt GetRunContext ()
 
void getSystemMemory (std::int64_t &total, std::int64_t &free)
 
const char * getVelocityTypeString (VelocityType)
 
const char * getWellTypeString (WellType)
 
const char * getXYTypeString (XYType)
 
bool InBatchProgRunContext ()
 
bool InInstallerRunContext ()
 
bool InNormalRunContext ()
 
bool InSysAdmRunContext ()
 
bool InTestProgRunContext ()
 
bool InUiProgRunContext ()
 
bool leftMouseButton (ButtonState)
 
void loadLocalization ()
 
template<class T >
void memValueSet (T *, T, std::int64_t, TaskRunner *taskrun=0)
 
bool middleMouseButton (ButtonState)
 
const ModDepMgrModDeps ()
 
const char * nameOf (ButtonState)
 
bool parseEnum (const char *, PythonSource &)
 
bool parseEnum (const char *, VelocityType &)
 
bool parseEnum (const char *, WellType &)
 
bool parseEnum (const char *, XYType &)
 
bool parseEnum (const IOPar &, const char *, PythonSource &)
 
bool parseEnum (const IOPar &, const char *, VelocityType &)
 
bool parseEnum (const IOPar &, const char *, WellType &)
 
bool parseEnum (const IOPar &, const char *, XYType &)
 
PythonSource parseEnumPythonSource (const char *)
 
bool parseEnumPythonSource (const char *, PythonSource &)
 
VelocityType parseEnumVelocityType (const char *)
 
bool parseEnumVelocityType (const char *, VelocityType &)
 
WellType parseEnumWellType (const char *)
 
bool parseEnumWellType (const char *, WellType &)
 
XYType parseEnumXYType (const char *)
 
bool parseEnumXYType (const char *, XYType &)
 
void programmerErrMsg (const char *msg, const char *cname, const char *fnm, int linenr)
 
PythonAccessPythA ()
 
uiRetVal pythonRemoveDir (const char *path, bool waitforfin=false)
 
const EnumDefImpl< PythonSource > & PythonSourceDef ()
 
const char ** PythonSourceNames ()
 
bool rightMouseButton (ButtonState)
 
void SetGlobalLogFile (const char *)
 
void SetRunContext (RunCtxt)
 
bool shiftKeyboardButton (ButtonState)
 
template<class T >
void shuffle (T *from, T *to)
 
ButtonState stateOf (const char *)
 
void sysMemCopy (void *, const void *, std::int64_t)
 
void sysMemSet (void *, int, size_t)
 
template<class T >
T * sysMemValueSet (T *, T, std::int64_t nrsamp)
 
void sysMemZero (void *, size_t)
 
const char * toString (PythonSource)
 
const char * toString (VelocityType)
 
const char * toString (WellType)
 
const char * toString (XYType)
 
uiString toUiString (PythonSource)
 
uiString toUiString (VelocityType)
 
uiString toUiString (WellType)
 
uiString toUiString (XYType)
 
void uiInitProcessStatus ()
 
const EnumDefImpl< VelocityType > & VelocityTypeDef ()
 
const char ** VelocityTypeNames ()
 
const EnumDefImpl< WellType > & WellTypeDef ()
 
const char ** WellTypeNames ()
 
const EnumDefImpl< XYType > & XYTypeDef ()
 
const char ** XYTypeNames ()
 

Variables

const char * PythonSourceKeys_ []
 
const char * VelocityTypeKeys_ []
 
const char * WellTypeKeys_ []
 
const char * XYTypeKeys_ []
 

Detailed Description

Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.

Constructs file names for OD icons.

Base class for TypeSet, usually not used as such.

OpendTect.

Pixmap-based icons have a problem of scale. If the pixmap is smaller than the size on screen you will see a 'blocky' == bad icon. If on the other hand the pixmap is a lot larger you will also not get a good icon - no matter how good the down-scale algorithm.

Thus, we need pixmaps that are exactly right or a little bit larger - upto about 50% off is reasonably problem-free.

Historically, we targeted icons for toolbuttons only. These are what could be called 'large' (usually between 32x32 and 48x48). Nowadays we also add icons on buttons, trees, lists etc., too. These will be 'small' (usually between 16x16 and 24x24).

Therefore, for icons that can be used in both worlds, provide at least one of about 48x48 and give it the usual name. Then add one or more pixmaps with different resolutions, like a small one of about 24x24 so there are then 2 icons in the icon set - like: "myicon.png" and "myicon.small.png".

The icon identifier that is required is usually the file name for 'large' without '.png'. You can also pass the file name itself, or a full path. Note that only PNG type files are supported.

The necessary icons will be sought in the user-selected icon set first. If nothing can be found there, the then the same procedure will be applied in the 'Default' set (if that isn't already the current set).

You can get an 'empty' icon by passing a null or empty string. This is OK but uiIcon does not like that.

If the requested icon is simply not there then a pErrMsg will follow; "iconnotfound.png" will be displayed.

Typedef Documentation

◆ PairD

using OD::PairD = typedef Pair<double,double>

◆ PairF

using OD::PairF = typedef Pair<float,float>

◆ PairI16

using OD::PairI16 = typedef Pair< std::int16_t , std::int16_t >

◆ PairI32

using OD::PairI32 = typedef Pair< std::int32_t , std::int32_t >

◆ PairI64

using OD::PairI64 = typedef Pair< std::int64_t , std::int64_t >

◆ PairUI16

using OD::PairUI16 = typedef Pair< std::int16_t , std::uint16_t >

◆ PairUI32

using OD::PairUI32 = typedef Pair< std::int32_t , std::uint32_t >

◆ PairUI64

using OD::PairUI64 = typedef Pair< std::int64_t , std::uint64_t >

Enumeration Type Documentation

◆ ButtonState

Enumerator
NoButton 

Qt's mouse/keyboard state values.

LeftButton 
RightButton 
MidButton 
MouseButtonMask 
ShiftButton 
ControlButton 
AltButton 
MetaButton 
KeyButtonMask 
Keypad 

◆ CaseSensitivity

Enumerator
CaseSensitive 
CaseInsensitive 

◆ CheckState

State of check objects.

Enumerator
Unchecked 
PartiallyChecked 
Checked 

◆ ChoiceMode

What to choose from any list-type UI object.

Enumerator
ChooseNone 
ChooseOnlyOne 
ChooseAtLeastOne 
ChooseZeroOrMore 

◆ Corner

enum OD::Corner
Enumerator
TopLeft 
TopRight 
BottomLeft 
BottomRight 

◆ DataRepType

Enumerator
AutoDataRep 
SI8 
UI8 
SI16 
UI16 
SI32 
UI32 
F32 
F64 
SI64 
UI64 

◆ Edge

enum OD::Edge
Enumerator
Top 
Left 
Right 
Bottom 

◆ FileContentType

File content types, for which operations may be known.

Enumerator
GeneralContent 
ImageContent 
TextContent 
HtmlContent 

◆ FileSelectionMode

How to select files or directories.

Enumerator
SelectFileForRead 

The name of a single existing file.

SelectFileForWrite 

The name of a file, whether it exists or not.

SelectMultiFile 

The names of zero or more existing files.

SelectDirectory 

The name of a directory.

SelectDirectoryWithFile 

The name of a directory with a given file.

◆ GeomSystem

Enumerator
GeomSynth 
Geom3D 
Geom2D 

◆ KeyboardKey

Enumerator
KB_NoKey 
KB_Escape 
KB_Tab 
KB_Backtab 
KB_Backspace 
KB_Return 
KB_Enter 
KB_Insert 
KB_Delete 
KB_Pause 
KB_Print 
KB_SysReq 
KB_Clear 
KB_Home 
KB_End 
KB_Left 
KB_Up 
KB_Right 
KB_Down 
KB_PageUp 
KB_PageDown 
KB_Shift 
KB_Control 
KB_Meta 
KB_Alt 
KB_AltGr 
KB_CapsLock 
KB_NumLock 
KB_ScrollLock 
KB_F1 
KB_F2 
KB_F3 
KB_F4 
KB_F5 
KB_F6 
KB_F7 
KB_F8 
KB_F9 
KB_F10 
KB_F11 
KB_F12 
KB_F13 
KB_F14 
KB_F15 
KB_F16 
KB_F17 
KB_F18 
KB_F19 
KB_F20 
KB_F21 
KB_F22 
KB_F23 
KB_F24 
KB_F25 
KB_F26 
KB_F27 
KB_F28 
KB_F29 
KB_F30 
KB_F31 
KB_F32 
KB_F33 
KB_F34 
KB_F35 
KB_Super_L 
KB_Super_R 
KB_Menu 
KB_Hyper_L 
KB_Hyper_R 
KB_Help 
KB_Direction_L 
KB_Direction_R 
KB_Space 
KB_Any 
KB_Exclam 
KB_QuoteDbl 
KB_NumberSign 
KB_Dollar 
KB_Percent 
KB_Ampersand 
KB_Apostrophe 
KB_ParenLeft 
KB_ParenRight 
KB_Asterisk 
KB_Plus 
KB_Comma 
KB_Minus 
KB_Period 
KB_Slash 
KB_Zero 
KB_One 
KB_Two 
KB_Three 
KB_Four 
KB_Five 
KB_Six 
KB_Seven 
KB_Eight 
KB_Nine 
KB_Colon 
KB_Semicolon 
KB_Less 
KB_Equal 
KB_Greater 
KB_Question 
KB_At 
KB_A 
KB_B 
KB_C 
KB_D 
KB_E 
KB_F 
KB_G 
KB_H 
KB_I 
KB_J 
KB_K 
KB_L 
KB_M 
KB_N 
KB_O 
KB_P 
KB_Q 
KB_R 
KB_S 
KB_T 
KB_U 
KB_V 
KB_W 
KB_X 
KB_Y 
KB_Z 
KB_BracketLeft 
KB_Backslash 
KB_BracketRight 
KB_AsciiCircum 
KB_Underscore 
KB_QuoteLeft 
KB_BraceLeft 
KB_Bar 
KB_BraceRight 
KB_AsciiTilde 
KB_Nobreakspace 
KB_Exclamdown 
KB_Cent 
KB_Sterling 
KB_Currency 
KB_Yen 
KB_Brokenbar 
KB_Section 
KB_Diaeresis 
KB_Copyright 
KB_Ordfeminine 
KB_Guillemotleft 
KB_Notsign 
KB_Hyphen 
KB_Registered 
KB_Macron 
KB_Degree 
KB_Plusminus 
KB_Twosuperior 
KB_Threesuperior 
KB_Acute 
KB_Mu 
KB_Paragraph 
KB_Periodcentered 
KB_Cedilla 
KB_Onesuperior 
KB_Masculine 
KB_Guillemotright 
KB_Onequarter 
KB_Onehalf 
KB_Threequarters 
KB_Questiondown 
KB_agrave 
KB_Aacute 
KB_Acircumflex 
KB_Atilde 
KB_Adiaeresis 
KB_Aring 
KB_AE 
KB_Ccedilla 
KB_Egrave 
KB_Eacute 
KB_Ecircumflex 
KB_Ediaeresis 
KB_Igrave 
KB_Iacute 
KB_Icircumflex 
KB_Idiaeresis 
KB_ETH 
KB_NTilde 
KB_Ograve 
KB_Oacute 
KB_Ocircumflex 
KB_Otilde 
KB_Odiaeresis 
KB_Multiply 
KB_Ooblique 
KB_Ugrave 
KB_Uacute 
KB_Ucircumflex 
KB_Udiaeresis 
KB_Yacute 
KB_THORN 
KB_Ssharp 
KB_Division 
KB_Ydiaeresis 
KB_Multi_key 
KB_Codeinput 
KB_SingleCandidate 
KB_MultipleCandidate 
KB_PreviousCandidate 
KB_Mode_switch 
KB_Kanji 
KB_Muhenkan 
KB_Henkan 
KB_Romaji 
KB_Hiragana 
KB_Katakana 
KB_Hiragana_Katakana 
KB_Zenkaku 
KB_Hankaku 
KB_Zenkaku_Hankaku 
KB_Touroku 
KB_Massyo 
KB_Kana_Lock 
KB_Kana_Shift 
KB_Eisu_Shift 
KB_Eisu_toggle 
KB_Hangul 
KB_Hangul_Start 
KB_Hangul_End 
KB_Hangul_Hanja 
KB_Hangul_Jamo 
KB_Hangul_Romaja 
KB_Hangul_Jeonja 
KB_Hangul_Banja 
KB_Hangul_PreHanja 
KB_Hangul_PostHanja 
KB_Hangul_Special 
KB_Dead_Grave 
KB_Dead_Acute 
KB_Dead_Circumflex 
KB_Dead_Tilde 
KB_Dead_Macron 
KB_Dead_Breve 
KB_Dead_Abovedot 
KB_Dead_Diaeresis 
KB_Dead_Abovering 
KB_Dead_Doubleacute 
KB_Dead_Caron 
KB_Dead_Cedilla 
KB_Dead_Ogonek 
KB_Dead_Iota 
KB_Dead_Voiced_Sound 
KB_Dead_Semivoiced_Sound 
KB_Dead_Belowdot 
KB_Dead_Hook 
KB_Dead_Horn 
KB_Back 
KB_Forward 
KB_Stop 
KB_Refresh 
KB_VolumeDown 
KB_VolumeMute 
KB_VolumeUp 
KB_BassBoost 
KB_BassUp 
KB_BassDown 
KB_TrebleUp 
KB_TrebleDown 
KB_MediaPlay 
KB_MediaStop 
KB_MediaPrevious 
KB_MediaNext 
KB_MediaRecord 
KB_HomePage 
KB_Favorites 
KB_Search 
KB_Standby 
KB_OpenUrl 
KB_LaunchMail 
KB_LaunchMedia 
KB_Launch0 
KB_Launch1 
KB_Launch2 
KB_Launch3 
KB_Launch4 
KB_Launch5 
KB_Launch6 
KB_Launch7 
KB_Launch8 
KB_Launch9 
KB_LaunchA 
KB_LaunchB 
KB_LaunchC 
KB_LaunchD 
KB_LaunchE 
KB_LaunchF 
KB_MediaLast 
KB_unknown 
KB_Call 
KB_Context1 
KB_Context2 
KB_Context3 
KB_Context4 
KB_Flip 
KB_Hangup 
KB_No 
KB_Select 
KB_Yes 
KB_Execute 
KB_Printer 
KB_Play 
KB_Sleep 
KB_Zoom 
KB_Cancel 

◆ Orientation

Fundamental orientation.

Enumerator
Horizontal 
Vertical 

◆ Pol2D3D

Enumerator
Only3D 
Both2DAnd3D 
Only2D 

◆ PtrPolicy

Enumerator
UsePtr 
CopyPtr 
TakeOverPtr 

◆ PythonSource

Enumerator
Internal 
System 
Custom 

◆ RunCtxt

Enumerator
UnknownCtxt 
NormalCtxt 
TestProgCtxt 
SysAdmCtxt 
BatchProgCtxt 
UiProgCtxt 
InstallerCtxt 

◆ SliceType

OpendTect flat slice types.

Enumerator
InlineSlice 
CrosslineSlice 
ZSlice 

◆ SnapDir

Enumerator
SnapDownward 
SnapNearest 
SnapUpward 

◆ StdActionType

Enumerator
NoIcon 
Apply 
Cancel 
Define 
Delete 
Edit 
Help 
Ok 
Options 
Properties 
Examine 
Rename 
Remove 
Save 
SaveAs 
Select 
Settings 
Unload 
Video 

◆ VelocityType

enum OD::VelocityType
strong
Enumerator
Unknown 
Interval 
RMS 
Avg 
Delta 
Epsilon 
Eta 

◆ WellType

Enumerator
UnknownWellType 
OilWell 
GasWell 
OilGasWell 
DryHole 
PluggedOilWell 
PluggedGasWell 
PluggedOilGasWell 
PermittedLocation 
CanceledLocation 
InjectionDisposalWell 

◆ WindowActivationBehavior

Enumerator
DefaultActivateWindow 
AlwaysActivateWindow 

◆ XYType

enum OD::XYType
strong
Enumerator
Meter 
Feet 

Function Documentation

◆ altKeyboardButton()

bool OD::altKeyboardButton ( ButtonState  )

◆ canDoCUDA()

bool OD::canDoCUDA ( BufferString maxverstr)

◆ ctrlKeyboardButton()

bool OD::ctrlKeyboardButton ( ButtonState  )

◆ DisplayErrorMessage()

void OD::DisplayErrorMessage ( const char *  )

Shows an error message in a separate (small) program

◆ dumpMemInfo() [1/2]

void OD::dumpMemInfo ( IOPar )

◆ dumpMemInfo() [2/2]

void OD::dumpMemInfo ( StringPairSet )

◆ GetDataRepType() [1/2]

template<class T >
DataRepType OD::GetDataRepType ( )

◆ GetDataRepType() [2/2]

DataRepType OD::GetDataRepType ( bool  isfp,
bool  issigned,
int  nbytes 
)
inline

◆ GetDataRepType< double >()

template<>
DataRepType OD::GetDataRepType< double > ( )
inline

◆ GetDataRepType< float >()

template<>
DataRepType OD::GetDataRepType< float > ( )
inline

◆ GetDataRepType< std::int16_t >()

template<>
DataRepType OD::GetDataRepType< std::int16_t > ( )
inline

◆ GetDataRepType< std::int32_t >()

template<>
DataRepType OD::GetDataRepType< std::int32_t > ( )
inline

◆ GetDataRepType< std::int64_t >()

template<>
DataRepType OD::GetDataRepType< std::int64_t > ( )
inline

◆ GetDataRepType< std::int8_t >()

template<>
DataRepType OD::GetDataRepType< std::int8_t > ( )
inline

◆ GetDataRepType< std::uint16_t >()

template<>
DataRepType OD::GetDataRepType< std::uint16_t > ( )
inline

◆ GetDataRepType< std::uint32_t >()

template<>
DataRepType OD::GetDataRepType< std::uint32_t > ( )
inline

◆ GetDataRepType< std::uint64_t >()

template<>
DataRepType OD::GetDataRepType< std::uint64_t > ( )
inline

◆ GetDataRepType< std::uint8_t >()

template<>
DataRepType OD::GetDataRepType< std::uint8_t > ( )
inline

◆ getHostIDs()

bool OD::getHostIDs ( BufferStringSet hostids,
BufferString errmsg 
)

◆ getLmUtilFilePath()

const char* OD::getLmUtilFilePath ( uiString errmsg)

◆ getPythonSourceString()

const char* OD::getPythonSourceString ( PythonSource  )

◆ getRandomColor()

Color OD::getRandomColor ( bool  withtransp = false)

◆ getRandomFillColor()

Color OD::getRandomFillColor ( )

◆ getRandStdDrawColor()

Color OD::getRandStdDrawColor ( )

◆ GetRunContext()

RunCtxt OD::GetRunContext ( )

◆ getSystemMemory()

void OD::getSystemMemory ( std::int64_t &  total,
std::int64_t &  free 
)

◆ getVelocityTypeString()

const char* OD::getVelocityTypeString ( VelocityType  )

◆ getWellTypeString()

const char* OD::getWellTypeString ( WellType  )

◆ getXYTypeString()

const char* OD::getXYTypeString ( XYType  )

◆ InBatchProgRunContext()

bool OD::InBatchProgRunContext ( )
inline

◆ InInstallerRunContext()

bool OD::InInstallerRunContext ( )
inline

◆ InNormalRunContext()

bool OD::InNormalRunContext ( )
inline

◆ InSysAdmRunContext()

bool OD::InSysAdmRunContext ( )
inline

◆ InTestProgRunContext()

bool OD::InTestProgRunContext ( )
inline

◆ InUiProgRunContext()

bool OD::InUiProgRunContext ( )
inline

◆ leftMouseButton()

bool OD::leftMouseButton ( ButtonState  )

◆ loadLocalization()

void OD::loadLocalization ( )

◆ memValueSet()

template<class T >
void OD::memValueSet ( T *  arr,
val,
std::int64_t  sz,
TaskRunner taskrun = 0 
)
inline

◆ middleMouseButton()

bool OD::middleMouseButton ( ButtonState  )

◆ ModDeps()

const ModDepMgr& OD::ModDeps ( )

◆ nameOf()

const char* OD::nameOf ( ButtonState  )

◆ parseEnum() [1/8]

bool OD::parseEnum ( const char *  ,
PythonSource  
)

◆ parseEnum() [2/8]

bool OD::parseEnum ( const char *  ,
VelocityType  
)

◆ parseEnum() [3/8]

bool OD::parseEnum ( const char *  ,
WellType  
)

◆ parseEnum() [4/8]

bool OD::parseEnum ( const char *  ,
XYType  
)

◆ parseEnum() [5/8]

bool OD::parseEnum ( const IOPar ,
const char *  ,
PythonSource  
)

◆ parseEnum() [6/8]

bool OD::parseEnum ( const IOPar ,
const char *  ,
VelocityType  
)

◆ parseEnum() [7/8]

bool OD::parseEnum ( const IOPar ,
const char *  ,
WellType  
)

◆ parseEnum() [8/8]

bool OD::parseEnum ( const IOPar ,
const char *  ,
XYType  
)

◆ parseEnumPythonSource() [1/2]

PythonSource OD::parseEnumPythonSource ( const char *  )

◆ parseEnumPythonSource() [2/2]

bool OD::parseEnumPythonSource ( const char *  ,
PythonSource  
)

◆ parseEnumVelocityType() [1/2]

VelocityType OD::parseEnumVelocityType ( const char *  )

◆ parseEnumVelocityType() [2/2]

bool OD::parseEnumVelocityType ( const char *  ,
VelocityType  
)

◆ parseEnumWellType() [1/2]

WellType OD::parseEnumWellType ( const char *  )

◆ parseEnumWellType() [2/2]

bool OD::parseEnumWellType ( const char *  ,
WellType  
)

◆ parseEnumXYType() [1/2]

XYType OD::parseEnumXYType ( const char *  )

◆ parseEnumXYType() [2/2]

bool OD::parseEnumXYType ( const char *  ,
XYType  
)

◆ programmerErrMsg()

void OD::programmerErrMsg ( const char *  msg,
const char *  cname,
const char *  fnm,
int  linenr 
)

◆ PythA()

PythonAccess& OD::PythA ( )

◆ pythonRemoveDir()

uiRetVal OD::pythonRemoveDir ( const char *  path,
bool  waitforfin = false 
)

◆ PythonSourceDef()

const EnumDefImpl< PythonSource >& OD::PythonSourceDef ( )

◆ PythonSourceNames()

const char** OD::PythonSourceNames ( )

◆ rightMouseButton()

bool OD::rightMouseButton ( ButtonState  )

◆ SetGlobalLogFile()

void OD::SetGlobalLogFile ( const char *  )

◆ SetRunContext()

void OD::SetRunContext ( RunCtxt  )

◆ shiftKeyboardButton()

bool OD::shiftKeyboardButton ( ButtonState  )

◆ shuffle()

template<class T >
void OD::shuffle ( T *  from,
T *  to 
)

◆ stateOf()

ButtonState OD::stateOf ( const char *  )

◆ sysMemCopy()

void OD::sysMemCopy ( void *  ,
const void *  ,
std::int64_t   
)

◆ sysMemSet()

void OD::sysMemSet ( void *  ,
int  ,
size_t   
)

◆ sysMemValueSet()

template<class T >
T * OD::sysMemValueSet ( T *  ptr,
val,
std::int64_t  nrsamp 
)
inline

◆ sysMemZero()

void OD::sysMemZero ( void *  ,
size_t   
)

◆ toString() [1/4]

const char* OD::toString ( PythonSource  )

◆ toString() [2/4]

const char* OD::toString ( VelocityType  )

◆ toString() [3/4]

const char* OD::toString ( WellType  )

◆ toString() [4/4]

const char* OD::toString ( XYType  )

◆ toUiString() [1/4]

uiString OD::toUiString ( PythonSource  )

◆ toUiString() [2/4]

uiString OD::toUiString ( VelocityType  )

◆ toUiString() [3/4]

uiString OD::toUiString ( WellType  )

◆ toUiString() [4/4]

uiString OD::toUiString ( XYType  )

◆ uiInitProcessStatus()

void OD::uiInitProcessStatus ( )

◆ VelocityTypeDef()

const EnumDefImpl< VelocityType >& OD::VelocityTypeDef ( )

◆ VelocityTypeNames()

const char** OD::VelocityTypeNames ( )

◆ WellTypeDef()

const EnumDefImpl< WellType >& OD::WellTypeDef ( )

◆ WellTypeNames()

const char** OD::WellTypeNames ( )

◆ XYTypeDef()

const EnumDefImpl< XYType >& OD::XYTypeDef ( )

◆ XYTypeNames()

const char** OD::XYTypeNames ( )

Variable Documentation

◆ PythonSourceKeys_

const char* OD::PythonSourceKeys_[]
extern

◆ VelocityTypeKeys_

const char* OD::VelocityTypeKeys_[]
extern

◆ WellTypeKeys_

const char* OD::WellTypeKeys_[]
extern

◆ XYTypeKeys_

const char* OD::XYTypeKeys_[]
extern

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