OpendTect  6.6
uisegymanip.h
Go to the documentation of this file.
1 #pragma once
2 /*+
3 ________________________________________________________________________
4 
5  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
6  Author: Bert
7  Date: Sep 2008
8  RCS: $Id$
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uisegycommon.h"
14 #include "uidialog.h"
15 #include "segyhdr.h"
16 #include "od_iosfwd.h"
17 
18 class uiLabel;
19 class uiTable;
20 class uiSpinBox;
21 class uiListBox;
22 class uiTextEdit;
23 class uiCheckBox;
24 class uiFileInput;
25 class uiToolButton;
26 class uiSEGYBinHdrEd;
27 namespace SEGY { class TxtHeader; class BinHeader; class HdrCalcSet; }
28 
29 
32 mExpClass(uiSEGYTools) uiSEGYFileManip : public uiDialog
34 public:
35 
36  uiSEGYFileManip(uiParent*,const char* filenm);
38 
39  const char* fileName() const { return fname_; }
40  inline od_istream& strm() { return *strm_; }
41 
43 
44  static uiString sByte() { return uiStrings::sByte(); }
45 
46 protected:
47 
56  unsigned char inphdrbuf_[SegyTrcHeaderLength];
57  unsigned char curhdrbuf_[SegyTrcHeaderLength];
58 
60  uiSEGYBinHdrEd* binhdrfld_;
72 
75  void edReq(CallBacker*);
76  void rmReq(CallBacker*);
84 
86  bool openInpFile();
87  void fillAvTrcHdrFld(int);
88  void fillDefCalcs(int);
89  void updTrcVals();
90  void rowSel(int);
91 
93 
94  friend class uiSEGYFileManipDataExtracter;
95 
96 };
97 
98 
uiSEGYFileManip::savebut_
uiToolButton * savebut_
Definition: uisegymanip.h:66
uiSEGYFileManip::trchdrdefined_
BoolTypeSet trchdrdefined_
Definition: uisegymanip.h:53
uiSEGYFileManip::mkTrcGroup
uiGroup * mkTrcGroup()
uiSEGYFileManip::uiSEGYFileManip
uiSEGYFileManip(uiParent *, const char *filenm)
uiSEGYFileManip::calcset_
SEGY::HdrCalcSet & calcset_
Definition: uisegymanip.h:51
uiSEGYFileManip::plotbut_
uiToolButton * plotbut_
Definition: uisegymanip.h:67
uiSEGYFileManip::errmsg_
uiString errmsg_
Definition: uisegymanip.h:52
uiSEGYFileManip::binhdr_
SEGY::BinHeader & binhdr_
Definition: uisegymanip.h:50
uiSEGYFileManip::sByte
static uiString sByte()
Definition: uisegymanip.h:44
SEGY::HdrCalcSet
Definition: segyhdrcalc.h:48
od_int64
#define od_int64
Definition: plftypes.h:35
uiSEGYFileManip::initWin
void initWin(CallBacker *)
uiSEGYFileManip::rmReq
void rmReq(CallBacker *)
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
uiCheckBox
Definition: uibutton.h:167
uiSEGYFileManip::edbut_
uiToolButton * edbut_
Definition: uisegymanip.h:64
uiSEGYFileManip::thtbl_
uiTable * thtbl_
Definition: uisegymanip.h:68
od_istream
OD class for stream read common access to the std::cin.
Definition: od_istream.h:24
uiSEGYFileManip::trchdrfld_
uiListBox * trchdrfld_
Definition: uisegymanip.h:61
uiSEGYFileManip::~uiSEGYFileManip
~uiSEGYFileManip()
uiTextEdit
Definition: uitextedit.h:75
uiSEGYFileManip::strm_
od_istream * strm_
Definition: uisegymanip.h:54
uiSEGYFileManip::addReq
void addReq(CallBacker *)
SEGY::TxtHeader
3200 byte SEG-Y text header.
Definition: segyhdr.h:40
uiSEGYFileManip::trcnrfld_
uiSpinBox * trcnrfld_
Definition: uisegymanip.h:70
uisegycommon.h
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
uiSEGYFileManip::acceptOK
bool acceptOK(CallBacker *)
confirm accept
uiSEGYFileManip::traceBytes
od_int64 traceBytes() const
uiSEGYFileManip::binhdrfld_
uiSEGYBinHdrEd * binhdrfld_
Definition: uisegymanip.h:60
uiStrings::sByte
static uiString sByte(int n=1)
Definition: uistrings.h:261
uiSEGYFileManip::fillDefCalcs
void fillDefCalcs(int)
uiSEGYFileManip::plotallbox_
uiCheckBox * plotallbox_
Definition: uisegymanip.h:69
uiSEGYFileManip::avtrchdrsfld_
uiListBox * avtrchdrsfld_
Definition: uisegymanip.h:62
uiSEGYFileManip::filesize_
od_int64 filesize_
Definition: uisegymanip.h:55
uiSEGYFileManip::edReq
void edReq(CallBacker *)
uiSEGYFileManip::fileName
const char * fileName() const
Definition: uisegymanip.h:39
uiSEGYFileManip::txthdr_
SEGY::TxtHeader & txthdr_
Definition: uisegymanip.h:49
uiGroup
Definition: uigroup.h:54
uiFileInput
A file-name input.
Definition: uifileinput.h:34
uiListBox
List Box.
Definition: uilistbox.h:75
uiSEGYFileManip::strm
od_istream & strm()
Definition: uisegymanip.h:40
segyhdr.h
uiSEGYFileManip::saveReq
void saveReq(CallBacker *)
uidialog.h
SEGY::BinHeader
400 byte SEG-Y binary header
Definition: segyhdr.h:80
uiSEGYFileManip::openReq
void openReq(CallBacker *)
uiSEGYFileManip::selChg
void selChg(CallBacker *)
uiSpinBox
Definition: uispinbox.h:24
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
uiSEGYFileManip::rowSel
void rowSel(int)
uiSEGYFileManip::errlbl_
uiLabel * errlbl_
Definition: uisegymanip.h:71
uiSEGYFileManip::fillAvTrcHdrFld
void fillAvTrcHdrFld(int)
uiSEGYFileManip::rmbut_
uiToolButton * rmbut_
Definition: uisegymanip.h:65
uiTable
Definition: uitable.h:31
uiString
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
uiSEGYFileManip::cellClck
void cellClck(CallBacker *)
od_iosfwd.h
uiSEGYFileManip::fnmfld_
uiFileInput * fnmfld_
Definition: uisegymanip.h:63
uiSEGYFileManip::fname_
BufferString fname_
Definition: uisegymanip.h:48
SEGY
Keys that should be used with od_process_segyio.cc.
Definition: segybatchio.h:22
uiSEGYFileManip::openInpFile
bool openInpFile()
uiLabel
Definition: uilabel.h:24
uiSEGYFileManip::rowClck
void rowClck(CallBacker *)
uiParent
Definition: uiparent.h:26
uiSEGYFileManip::txthdrfld_
uiTextEdit * txthdrfld_
Definition: uisegymanip.h:59
uiDialog
Definition: uidialog.h:42
SegyTrcHeaderLength
#define SegyTrcHeaderLength
Definition: segyhdr.h:30
uiSEGYFileManip::mODTextTranslationClass
mODTextTranslationClass(uiSEGYFileManip)
uiSEGYFileManip::updTrcVals
void updTrcVals()
uiToolButton
Definition: uitoolbutton.h:22
uiSEGYFileManip::plotReq
void plotReq(CallBacker *)
uiSEGYFileManip::trcNrChg
void trcNrChg(CallBacker *)
uiSEGYFileManip
UI for SEG-Y file manipulation.
Definition: uisegymanip.h:33
TypeSet< BoolTypeSetType >

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