UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
pl_model Class Reference
Inheritance diagram for pl_model:
any_model pl_raytr_model pl_straight_model pl_vspogt_model

Public Member Functions

 pl_model (const dbItem &dbiWhere)
 
 pl_model (const dbNameStruct &dbh1D, const dbItem &dbiBorders, char *sC, IntAr *iaSequence=NULL)
 
 pl_model (pl_model &am)
 
unsigned get_model_bounds_num ()
 
Logic get_model_bound (unsigned n, aPoints *points)
 
int get_border (int i, pl_border &bord) const
 
int get_border (int n1, int n2, pl_border &pb) const
 
int get_body (int i, pl_body &bod) const
 
int get_body (const point &pWhere, pl_body &pb) const
 
int get_spline (int i, pl_spline &spl) const
 
int get_border_num (int ibod, int iborloc, int &iborglob) const
 
int slice (const pl_spline &sSlice, const point &p0, const point &p1, const point &p2, aSegments2D &aSegments, aSegments2D &aBorder, IntAr *borderNumbers=NULL) const
 
Logic in_model_area (point p) const
 
virtual int write_to_DB (Progress *zp=NULL) const
 
void get_shots_data (aPoints &apSPs, IntAr &iaDT, IntAr &iaUT)
 
void delete_modeling_data (const point &pSP)
 
const aPoints & install_inclinometry (const aPoints &apInclIn)
 
const aPoints & install_vertical_inclinometry (double X, double Y)
 
void get_vp (DoubleAr &) const
 
void get_kp (DoubleAr &) const
 
void get_vs (DoubleAr &) const
 
void get_ks (DoubleAr &) const
 
void set_vp (const DoubleAr &)
 
void set_kp (const DoubleAr &)
 
void set_vs (const DoubleAr &)
 
void set_ks (const DoubleAr &)
 
Logic get_parallel_flag () const
 
void set_parallel_flag (Logic Flag)
 
parallel_model_paramsget_parallel_model_params ()
 
void fix_dbStruct (dbNameStruct &dbnsIn) const
 
void prepare_tables (point p, int i1, int i2)
 
p_pl_spline get_point_direction (const point3d &pWhere) const
 
Logic check_structure ()
 
Logic get_layers_inclination (double &a, double &b, double &c)
 
Logic set_params_for_parallel ()
 
Logic analyse_gp (int LeadingWaveType)
 
virtual const char * class_id ()
 
virtual Logic isDerivedFrom (const char *class_name)
 
- Public Member Functions inherited from any_model
int set_comment (char *sC)
 
char * get_comment (char *sC)
 
int n_of_borders () const
 
int n_of_bodies () const
 
int n_of_splines () const
 
int get_body (int i, any_body &bod) const
 
void go_out_of_date ()
 
Logic up_to_date () const
 
Logic contains_border (int iBody, int iBorder) const
 
Logic in_one_body (int iBorder1, int iBorder2) const
 
void set_idle_process (void(*f)())
 

Protected Member Functions

int read_from_DB (const dbItem &dbiWhere)
 
int get_body (const point &pWhere, pl_intern_body *&pb) const
 
virtual int correlate (const pl_overlying_splines &apOSplines, pl_intern_body *bInitial, const IntAr &iaSequence)
 
virtual pl_intern_bordernew_border (pl_intern_spline *, border_flag)
 
virtual pl_intern_splinenew_spline (double, double, double, double)
 
virtual pl_intern_bodynew_body (geophys_params &)
 
void add_breakpoints (const aPoints &apInclIn, int iI, int iCBody, int iTB)
 
Logic cross_border (const point &p1, const point &p2, point &pRes, int iB)
 
void incl_pass_body (const point &p1, const point &p2, int iC, int &iN)
 
ErrCode readModelVolumeSegs (dbHandle)
 
int write_bodies () const
 
- Protected Member Functions inherited from any_model
 any_model (any_model &am)
 
IntAr neighbors (p_any_body) const
 
Logic contains_border (p_any_body, int) const
 
int border_number (p_any_border pBorder) const
 
int common_border (int iB1, int iB2) const
 
void remind () const
 

Protected Attributes

db_volume_managerpdbvTables
 
db_results_managerpdbmTables
 
IntArpiaInclinometry
 
aPoints * papInclinometry
 
pl_intern_borders modelBorders
 
Logic parallel_structure_flag
 
parallel_model_paramspPMP
 
dbNameStruct dbsModGlass
 
- Protected Attributes inherited from any_model
void(* idle_func )()
 
model_db_container mdbStorage
 
Logic lRuined
 
Logic lUpToDate
 
char sComment [DB_COMMENT_SIZE]
 
char sWell [DB_WELL_LEN+1]
 
int iSP
 
any_borders aBorders
 
any_bodies aBodies
 
any_splines aSplines
 
dbItem dbiModel
 
dbItem dbiBorders
 
char sProject [PROJECT_LEN+1]
 
int iModelId
 

Member Function Documentation

ErrCode pl_model::readModelVolumeSegs ( dbHandle  )
protected

Read segments defining borders of model volume


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