rotate.C File Reference

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

Go to the source code of this file.

Functions

static void rotate_about (void)
static void rotate_configuration (void)
static gboolean rotate_run (Scan *Src, Scan *Dest)
GxsmPluginget_gxsm_plugin_info (void)
GxsmMathOneSrcPluginget_gxsm_math_one_src_plugin_info (void)
int max (int a, int b)

Variables

GxsmPlugin rotate_pi
GxsmMathOneSrcPlugin rotate_m1s_pi
static const char * about_text
double PhiDefault = 0.
double PhiLast = 0.


Function Documentation

GxsmMathOneSrcPlugin* get_gxsm_math_one_src_plugin_info void   ) 
 

Definition at line 118 of file rotate.C.

References rotate_m1s_pi.

GxsmPlugin* get_gxsm_plugin_info void   ) 
 

Definition at line 113 of file rotate.C.

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

int max int  a,
int  b
 

Definition at line 141 of file rotate.C.

static void rotate_about void   )  [static]
 

Definition at line 122 of file rotate.C.

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

static void rotate_configuration void   )  [static]
 

Definition at line 134 of file rotate.C.

References GxsmPlugin::app, Xsm::ArcUnit, PhiDefault, rotate_pi, GnomeAppService::ValueRequest(), and App::xsm.

static gboolean rotate_run Scan Src,
Scan Dest
[static]
 

Definition at line 143 of file rotate.C.

References GxsmPlugin::app, Xsm::ArcUnit, cos(), Scan::data, DBG_L2, Mem2d::GetNx(), Mem2d::GetNy(), max, Scan::mem2d, MkMausSelect(), Scan_Param::nx, Scan_Param::ny, PhiDefault, PhiLast, PI_DEBUG, Scan::Pkt2d, Mem2d::Resize(), rotate_pi, SCAN_DATA::s, sin(), GnomeAppService::ValueRequest(), MOUSERECT::xSize, App::xsm, and MOUSERECT::ySize.


Variable Documentation

const char* about_text [static]
 

Initial value:

 N_("Gxsm Rotate Math-Plugin\n\n"
                                   "Affine Transformation:\n"
                                   "Rotate selection of Scan by arb. angle.")

Definition at line 106 of file rotate.C.

double PhiDefault = 0.
 

Definition at line 110 of file rotate.C.

Referenced by rotate_configuration(), and rotate_run().

double PhiLast = 0.
 

Definition at line 111 of file rotate.C.

Referenced by rotate_run().

GxsmMathOneSrcPlugin rotate_m1s_pi
 

Initial value:

Definition at line 102 of file rotate.C.

Referenced by get_gxsm_math_one_src_plugin_info().

GxsmPlugin rotate_pi
 

Initial value:

 {
  NULL,
  NULL,
  0,
  NULL,
  "Rotate-M1S-TR",
  NULL,
  NULL,
  "Percy Zahl",
  "_Math/_Transformations/",
  N_("Rotate"),
  N_("Rotate selection of scan"),
  "no more info",
  NULL,
  NULL,
  NULL,
  NULL,
  rotate_about,
  rotate_configuration,
  NULL,
  NULL
}

Definition at line 79 of file rotate.C.

Referenced by get_gxsm_plugin_info(), rotate_about(), rotate_configuration(), and rotate_run().


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