DATRW++ library: seismic data I/O with multiple formats
datrw::su::Coordinates Struct Reference

full set of coordinates.This struct holds a full set of coordinates for a SEG-Y trace header. It provides functions to read the values from a given trace header and to set values in a trace header. Further it provides a function to chose equal scaling values for horizontal coordinates on one hand and vertical coordinates on the other hand. This class combines six members of type datrw::su::ScalCoo in order to scale coordinates coherently. It is used in the set functions of datrw::su::SUheader not as a member data but as a conversion and scaling tool. More...

#include <sucomanager.h>

Collaboration diagram for datrw::su::Coordinates:

Public Member Functions

 Coordinates (const datrw::su::options::SpatialSampling &ctrl, const bool &debug=false)
 constructor More...
 
void equalizescaling ()
 equalize scaling More...
 
void getvaluesfrom (const TraceHeaderStruct &h)
 read values from SU header More...
 
void setvaluesin (TraceHeaderStruct &h)
 set values in SU header More...
 

Public Attributes

ScalCoo gelev
 source y coordinate More...
 
ScalCoo gx
 receiver x coordinate More...
 
ScalCoo gy
 receiver y coordinate More...
 
datrw::su::options::SpatialSampling Mcontrol
 control parameters More...
 
bool Mdebug
 debug mode More...
 
ScalCoo sdepth
 source z coordinate More...
 
ScalCoo sx
 source x coordinate More...
 
ScalCoo sy
 source y coordinate More...
 

Detailed Description

full set of coordinates.

This struct holds a full set of coordinates for a SEG-Y trace header. It provides functions to read the values from a given trace header and to set values in a trace header. Further it provides a function to chose equal scaling values for horizontal coordinates on one hand and vertical coordinates on the other hand. This class combines six members of type datrw::su::ScalCoo in order to scale coordinates coherently. It is used in the set functions of datrw::su::SUheader not as a member data but as a conversion and scaling tool.

See also
ScalCoo, SUheader.set()

Definition at line 195 of file sucomanager.h.


The documentation for this struct was generated from the following files: