smallconvol.C File Reference

#include <gtk/gtk.h>
#include "config.h"
#include "gxsm/plugin.h"

Go to the source code of this file.

Defines

#define SET_SMC_PROGRESS(P)   { smallconvol_pi.app->SetProgress((gfloat)(P)); while (gtk_events_pending()) gtk_main_iteration(); }

Functions

static void smallconvol_init (void)
static void smallconvol_about (void)
static void smallconvol_configure (void)
static void smallconvol_cleanup (void)
static gboolean smallconvol_run (Scan *Src, Scan *Dest)
GxsmPluginget_gxsm_plugin_info (void)
GxsmMathOneSrcPluginget_gxsm_math_one_src_plugin_info (void)

Variables

GxsmPlugin smallconvol_pi
GxsmMathOneSrcPlugin smallconvol_m1s_pi
static const char * about_text
double kernel [3][3]


Define Documentation

#define SET_SMC_PROGRESS  )     { smallconvol_pi.app->SetProgress((gfloat)(P)); while (gtk_events_pending()) gtk_main_iteration(); }
 

Definition at line 110 of file smallconvol.C.

Referenced by smallconvol_run().


Function Documentation

GxsmMathOneSrcPlugin* get_gxsm_math_one_src_plugin_info void   ) 
 

Definition at line 104 of file smallconvol.C.

References smallconvol_m1s_pi.

GxsmPlugin* get_gxsm_plugin_info void   ) 
 

Definition at line 99 of file smallconvol.C.

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

static void smallconvol_about void   )  [static]
 

Definition at line 129 of file smallconvol.C.

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

static void smallconvol_cleanup void   )  [static]
 

Definition at line 202 of file smallconvol.C.

References DBG_L2, and PI_DEBUG.

static void smallconvol_configure void   )  [static]
 

Definition at line 141 of file smallconvol.C.

References _, GxsmPlugin::app, FALSE, GNOME_PAD, info, kernel, MyGnomeTools::mygtk_add_input(), MyGnomeTools::mygtk_create_input(), smallconvol_pi, TRUE, Xsm::Unity, and App::xsm.

static void smallconvol_init void   )  [static]
 

Definition at line 114 of file smallconvol.C.

References DBG_L2, kernel, and PI_DEBUG.

static gboolean smallconvol_run Scan Src,
Scan Dest
[static]
 

Definition at line 208 of file smallconvol.C.

References Mem2d::data, Scan::data, DBG_L2, Mem2d::GetNx(), Mem2d::GetNy(), kernel, Scan::mem2d, Scan_Param::nx, Scan_Param::ny, PI_DEBUG, Mem2d::PutDataPkt(), Mem2d::Resize(), SCAN_DATA::s, SET_SMC_PROGRESS, and src.


Variable Documentation

const char* about_text [static]
 

Initial value:

 N_("Gxsm Smallconvol Plugin\n\n"
                                   "Matrix Convolution PlugIn.")

Definition at line 96 of file smallconvol.C.

double kernel[3][3]
 

Definition at line 112 of file smallconvol.C.

Referenced by smallconvol_configure(), smallconvol_init(), and smallconvol_run().

GxsmMathOneSrcPlugin smallconvol_m1s_pi
 

Initial value:

Definition at line 92 of file smallconvol.C.

Referenced by get_gxsm_math_one_src_plugin_info().

GxsmPlugin smallconvol_pi
 

Initial value:

 {
  NULL,
  NULL,
  0,
  NULL,
  "Smallconvol-M1S-F1D",
  NULL,
  NULL,
  "Percy Zahl",
  "_Math/Filter _2D/",
  N_("Small Convol"),
  N_("Sorry, no help for smallconvol filter!"),
  "no more info",
  NULL,
  NULL,
  smallconvol_init,
  NULL,
  smallconvol_about,
  smallconvol_configure,
  NULL,
  smallconvol_cleanup
}

Definition at line 69 of file smallconvol.C.

Referenced by get_gxsm_plugin_info(), smallconvol_about(), and smallconvol_configure().


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