slopedir.C File Reference

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

Go to the source code of this file.


struct  APlane
struct  Facet




static void SlopeDir_init (void)
static void SlopeDir_about (void)
static void SlopeDir_configure (void)
static void SlopeDir_cleanup (void)
static gboolean SlopeDir_run (Scan *Src, Scan *Dest)
GxsmPluginget_gxsm_plugin_info (void)
GxsmMathOneSrcPluginget_gxsm_math_one_src_plugin_info (void)
void FacetERegress (Scan *Src, Facet *fac, APlane *ap)
double Phi (double dx, double dy)


GxsmPlugin SlopeDir_pi
GxsmMathOneSrcPlugin SlopeDir_m1s_pi
static const char * about_text
int FacetRadius = 2
int FacetRadiusDefault = 0

Define Documentation


Definition at line 97 of file slopedir.C.

Function Documentation

void FacetERegress Scan Src,
Facet fac,
APlane ap

Definition at line 257 of file slopedir.C.

References APlane::ax, APlane::ay, APlane::b, Facet::Cline, Facet::Crow, Facet::Crx, Facet::Cry, Mem2d::GetDataPkt(), and Scan::mem2d.

GxsmMathOneSrcPlugin* get_gxsm_math_one_src_plugin_info void   ) 

Definition at line 198 of file slopedir.C.

References SlopeDir_m1s_pi.

GxsmPlugin* get_gxsm_plugin_info void   ) 

Definition at line 189 of file slopedir.C.

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

double Phi double  dx,
double  dy

Definition at line 308 of file slopedir.C.

References atan().

static void SlopeDir_about void   )  [static]

Definition at line 219 of file slopedir.C.

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

static void SlopeDir_cleanup void   )  [static]

Definition at line 243 of file slopedir.C.

References DBG_L2, and PI_DEBUG.

static void SlopeDir_configure void   )  [static]

Definition at line 232 of file slopedir.C.

References GxsmPlugin::app, FacetRadiusDefault, SlopeDir_pi, Xsm::Unity, GnomeAppService::ValueRequest(), and App::xsm.

static void SlopeDir_init void   )  [static]

Definition at line 213 of file slopedir.C.

References DBG_L2, and PI_DEBUG.

static gboolean SlopeDir_run Scan Src,
Scan Dest

Definition at line 323 of file slopedir.C.

References GxsmPlugin::app, APlane::ax, APlane::ay, Facet::Cline, Facet::Crow, Facet::Crx, Facet::Cry, Mem2d::data, Scan::data, Scan_Param::dz, FacetERegress(), FacetRadius, FacetRadiusDefault, gapp, Mem2d::GetNx(), Mem2d::GetNy(), MATH_SIZEERR, Scan::mem2d, ZData::MkXLookup(), ZData::MkYLookup(), Scan_Param::nx, Scan_Param::ny, Phi(), Mem2d::PutDataPkt(), Mem2d::Resize(), Scan_Param::rx, Scan_Param::ry, Scan_Param::rz, SCAN_DATA::s, SET_PROGRESS, App::SetStatus(), SCAN_DATA::SetZUnit(), SlopeDir_pi, Xsm::Unity, GnomeAppService::ValueRequest(), App::xsm, and ZD_FLOAT.

Variable Documentation

const char* about_text [static]

Initial value:

 N_("Gxsm SlopeDir Plugin\n\n"
                                   "SlopeDir calculates the\n"
                                   "local Direction of Slope.")

Definition at line 180 of file slopedir.C.

int FacetRadius = 2

Definition at line 184 of file slopedir.C.

int FacetRadiusDefault = 0

Definition at line 185 of file slopedir.C.

GxsmMathOneSrcPlugin SlopeDir_m1s_pi

Initial value:

Definition at line 174 of file slopedir.C.

Referenced by get_gxsm_math_one_src_plugin_info().

GxsmPlugin SlopeDir_pi

Definition at line 110 of file slopedir.C.

Referenced by get_gxsm_plugin_info(), SlopeDir_about(), SlopeDir_configure(), and SlopeDir_run().

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