UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
UAbstractHod Class Reference

Public Types

enum  SortType { CDP =0, CSP, CRP, OFST }
 

Public Member Functions

 UAbstractHod (UHod hod)
 
size_t getNMGLs (std::vector< float > &nmgls)
 
size_t getNDPS (std::vector< int > &dps_id)
 
size_t getSPS (std::vector< int > &sps_id)
 
size_t getRPS (std::vector< int > &rps_id)
 
size_t getOffsets (std::vector< float > &offsets)
 
bool getHod (UHod &hod, float id=-1) const
 
const UHod & getHod () const
 
void getHod (FBDHodMap &hod_map) const
 
bool getSortType (SortType &sort_type) const
 
bool setSortType (SortType sort_type)
 
void resetSortType ()
 
void setHod (UHod hod)
 
bool setHod (FBDHodMap hod_map)
 

Protected Member Functions

bool checkId (const UHodEl &h1, float id) const
 

Protected Attributes

bool m_st_defined
 
SortType m_st
 
UHod m_hod
 

Member Function Documentation

bool UAbstractHod::getHod ( UHod &  hod,
float  id = -1 
) const

Returns copy of full hodograph (in case of undefined default parameter), or part of godograph in current sorting, corresponding to the defined ID of sorting key.

const UHod& UAbstractHod::getHod ( ) const
inline

Provides access to inner hodograph data for reading

void UAbstractHod::getHod ( FBDHodMap &  hod_map) const

Returns copy of full hodograph in special form

size_t UAbstractHod::getNDPS ( std::vector< int > &  dps_id)

Returns number and list of unique common depth point IDs. Array is sorted according to cdp ID growth.

size_t UAbstractHod::getNMGLs ( std::vector< float > &  nmgls)

Returns number and list of seismograms IDs in current sorting.

size_t UAbstractHod::getOffsets ( std::vector< float > &  offsets)

Returns number and list of unique offsets. Array is sorted according to offsets growth.

size_t UAbstractHod::getRPS ( std::vector< int > &  rps_id)

Returns number and list of unique receiver point IDs. Array is sorted according to rp ID growth.

bool UAbstractHod::getSortType ( SortType &  sort_type) const

Returns sort type of hodograph

size_t UAbstractHod::getSPS ( std::vector< int > &  sps_id)

Returns number and list of unique shot point IDs. Array is sorted according to sp ID growth.

void UAbstractHod::resetSortType ( )
inline

Resets (undefine) sorting type

void UAbstractHod::setHod ( UHod  hod)

Sets new hodograph data. Sorting type resets.

bool UAbstractHod::setHod ( FBDHodMap  hod_map)

Sets new hodograph data. Sorting type resets.

bool UAbstractHod::setSortType ( SortType  sort_type)

Sets sort type for hodograph


The documentation for this class was generated from the following file: