g_dat_im_export.C File Reference

#include <gtk/gtk.h>
#include "config.h"
#include "gxsm/plugin.h"
#include "gxsm/dataio.h"
#include "gxsm/action_id.h"
#include "gxsm/util.h"
#include "gxsm/xsmtypes.h"
#include "batch.h"
#include "g_dat_types.h"
#include "fileio.c"

Go to the source code of this file.

Classes

class  Gdat_ImExportFile

Functions

static void g_dat_im_export_init (void)
static void g_dat_im_export_query (void)
static void g_dat_im_export_about (void)
static void g_dat_im_export_configure (void)
static void g_dat_im_export_cleanup (void)
static void g_dat_im_export_filecheck_load_callback (gpointer data)
static void g_dat_im_export_filecheck_save_callback (gpointer data)
static void g_dat_im_export_import_callback (GtkWidget *w, void *data)
static void g_dat_im_export_export_callback (GtkWidget *w, void *data)
GxsmPluginget_gxsm_plugin_info (void)
double Contrast_to_VRangeZ (double contrast, double dz)
double VRangeZ_to_Contrast (double vrz, double dz)

Variables

GxsmPlugin g_dat_im_export_pi
static const char * about_text
static const char * file_mask = "*.dat"


Function Documentation

double Contrast_to_VRangeZ double  contrast,
double  dz
 

Definition at line 306 of file g_dat_im_export.C.

static void g_dat_im_export_about void   )  [static]
 

Definition at line 226 of file g_dat_im_export.C.

References about_text, GxsmPlugin::authors, g_dat_im_export_pi, N_, GxsmPlugin::name, and VERSION.

static void g_dat_im_export_cleanup void   )  [static]
 

Definition at line 246 of file g_dat_im_export.C.

References GxsmPlugin::app, DBG_L2, g_dat_im_export_pi, GnomeAppService::getApp(), GxsmPlugin::menuentry, GxsmPlugin::menupath, and PI_DEBUG.

static void g_dat_im_export_configure void   )  [static]
 

Definition at line 239 of file g_dat_im_export.C.

References GxsmPlugin::app, g_dat_im_export_pi, and GnomeAppService::message().

static void g_dat_im_export_export_callback GtkWidget *  w,
void *  data
[static]
 

Definition at line 588 of file g_dat_im_export.C.

References GnomeAppService::file_dialog(), file_mask, g_dat_im_export_filecheck_save_callback(), g_dat_im_export_pi, gapp, GxsmPlugin::help, and GxsmPlugin::name.

Referenced by g_dat_im_export_query().

static void g_dat_im_export_filecheck_load_callback gpointer  data  )  [static]
 

Definition at line 518 of file g_dat_im_export.C.

References Surface::ActivateFreeChannel(), Surface::ActiveScan, Xsm::data, DBG_L2, Scan::draw(), FIO_NOT_RESPONSIBLE_FOR_THAT_FILE, FIO_OK, gapp, Surface::GetActiveScan(), Scan::GetDataSet(), ID_CH_M_OFF, PI_DEBUG, Gdat_ImExportFile::Read(), Surface::SetMode(), App::spm_update_all(), TRUE, and App::xsm.

Referenced by g_dat_im_export_import_callback(), and g_dat_im_export_query().

static void g_dat_im_export_filecheck_save_callback gpointer  data  )  [static]
 

Definition at line 552 of file g_dat_im_export.C.

References DBG_L2, FIO_NOT_RESPONSIBLE_FOR_THAT_FILE, FIO_OK, gapp, Surface::GetActiveScan(), PI_DEBUG, src, and App::xsm.

Referenced by g_dat_im_export_export_callback(), and g_dat_im_export_query().

static void g_dat_im_export_import_callback GtkWidget *  w,
void *  data
[static]
 

Definition at line 579 of file g_dat_im_export.C.

References GnomeAppService::file_dialog(), file_mask, g_dat_im_export_filecheck_load_callback(), g_dat_im_export_pi, gapp, GxsmPlugin::help, and GxsmPlugin::name.

Referenced by g_dat_im_export_query().

static void g_dat_im_export_init void   )  [static]
 

Definition at line 220 of file g_dat_im_export.C.

References DBG_L2, g_dat_im_export_pi, GxsmPlugin::name, and PI_DEBUG.

static void g_dat_im_export_query void   )  [static]
 

Definition at line 151 of file g_dat_im_export.C.

References GxsmPlugin::app, App::ConnectPluginToLoadFileEvent(), App::ConnectPluginToSaveFileEvent(), g_dat_im_export_export_callback(), g_dat_im_export_filecheck_load_callback(), g_dat_im_export_filecheck_save_callback(), g_dat_im_export_import_callback(), g_dat_im_export_pi, GnomeAppService::getApp(), GxsmPlugin::help, GxsmPlugin::menuentry, GxsmPlugin::menupath, N_, GxsmPlugin::name, and GxsmPlugin::status.

GxsmPlugin* get_gxsm_plugin_info void   ) 
 

Definition at line 138 of file g_dat_im_export.C.

References GxsmPlugin::description, g_dat_im_export_pi, N_, and VERSION.

double VRangeZ_to_Contrast double  vrz,
double  dz
 

Definition at line 309 of file g_dat_im_export.C.


Variable Documentation

const char* about_text [static]
 

Initial value:

 N_("GXSM 'G-dat' plugin for im-/export of old the 'dat' data file type.\n"
                                   "This format was used in Hannover in early times and can also be used "
                                   "with the 'gnutools'. This apps were using this format: PMSTM and older "
                                   "very first versions of XXSM and older GXSM versions were able to use it "
                                   "instead of NetCDF if configured this way.\n\n"
                                   "Now this filter is here to visit/manipulate old data files."
        )

Definition at line 126 of file g_dat_im_export.C.

const char* file_mask = "*.dat" [static]
 

Definition at line 134 of file g_dat_im_export.C.

GxsmPlugin g_dat_im_export_pi
 

Definition at line 89 of file g_dat_im_export.C.

Referenced by g_dat_im_export_about(), g_dat_im_export_cleanup(), g_dat_im_export_configure(), g_dat_im_export_export_callback(), g_dat_im_export_import_callback(), g_dat_im_export_init(), g_dat_im_export_query(), and get_gxsm_plugin_info().


Generated on Sat Apr 1 09:04:51 2006 for GXSM by  doxygen 1.4.6