gseisviewfor.h

来自「segy 显示程序!希望能给正在做这部分朋友提供一部分资料」· C头文件 代码 · 共 64 行

H
64
字号
/*  * GTKSEISVIEWGL - Library for rendering of 2D seismic data * * Copyright (C) 2006 Vladimir Bashkardin * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU * General Public License for more av. * * You should have received a copy of the GNU General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. * * Author:  Vladimir Bashkardin  <vovizmus@users.sourceforge.net> */#ifndef __G_SEIS_VIEW_FOR_H__#define __G_SEIS_VIEW_FOR_H__#if defined __cplusplusextern "C" {#endifvoid g_seis_view_find_minmax__ (float *samples, int *slow_num, int *fast_num,                                float *min_value, float *max_value);void g_seis_view_apply_agc__ (float *samples, int *slow_num, int *fast_num,                              float *new_samples, float *window);void g_seis_view_scale_trace_minmax__ (float *samples, int *slow_num, int *fast_num,                                       float *new_samples, unsigned char *bipolar);void g_seis_view_shift_data__ (float *samples, int *slow_num, int *fast_num,                               float *new_samples, float *shift);void g_seis_view_build_texture__ (unsigned char *tex, int *tex_slow_num, int *tex_fast_num,                                  float *samples, int *slow_num, int *fast_num,                                  int *tex_slow_start, int *tex_slow_end, int *tex_fast_start, int *tex_fast_end,                                  float *min_value, float *color_step);void g_seis_view_build_vertexbuffer__ (float *vertex_buffer, int *vertex_num,                                       unsigned int *va_positive_areas_nums, int *va_positive_areas_num,                                       unsigned int *va_negative_areas_nums, int *va_negative_areas_num,                                       float *samples, int *fast_num, float *min_amp_abs, float *max_value_abs,                                       float *sample_dist_object, float *sample_start_object, float *trace_dist_object);void g_seis_view_build_indexbuffer__ (unsigned int *index_buffer, int *index_num, int *index_size,                                      float *vertex_buffer, int *vertex_num, unsigned int *areas_nums,                                      int *areas_num, unsigned char *clock_wise);#if defined __cplusplus}#endif#endif /* __G_SEIS_VIEW_FOR_H__ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?