Main Page   Data Structures   File List   Data Fields   Globals  

StageMotion.c File Reference

#include <tcl.h>
#include <tk.h>
#include <stdio.h>
#include <string.h>
#include "motion.h"

Go to the source code of this file.

Defines

#define rnd(x)   (short)((x) > 0.0 ? (x)+0.5 : (x)-0.5)

Functions

int StageMotion_Open_Cmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int StageMotion_Close_Cmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int StageMotion_Move_Cmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int StageMotion_GetState_Cmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int StageMotion_Init (Tcl_Interp *interp)

Variables

ptraject xy = 0


Define Documentation

#define rnd      (short)((x) > 0.0 ? (x)+0.5 : (x)-0.5)
 

Definition at line 10 of file StageMotion.c.

Referenced by BYTEDISK2IMG, CHAINCODE, CONTOUR, CREATETREESMOSAIC, FCONVL, FFT2D, FHT2D, FILTER, FINDBESTFOCUS, FOURIERDESC, GEOMWARP, HOUGH, IMG2ASCII, IMG2EPSF, LINK_DOUBLETHRESH, LINK_TREERINGS, MOSAIC_BYTE_INSERT, PERIODOGRAM, PLOT, PSPECT, PSPECT1D, RADIALAVG, RINGWIDTHS, RINGWIDTHS_NOCHECK, Sadie_Plot_PlotArrayCmd, and SIZEFILTER.


Function Documentation

int StageMotion_Close_Cmd ClientData    client_data,
Tcl_Interp *    interp,
int    argc,
char *    argv[]
 

Definition at line 35 of file StageMotion.c.

References closestage, disposestage, and err.

Referenced by StageMotion_Init.

int StageMotion_GetState_Cmd ClientData    client_data,
Tcl_Interp *    interp,
int    argc,
char *    argv[]
 

Definition at line 89 of file StageMotion.c.

References Traject::axis, Translation::goalpos, Traject::naxes, and Translation::pos.

Referenced by StageMotion_Init.

int StageMotion_Init Tcl_Interp *    interp
 

Definition at line 125 of file StageMotion.c.

References StageMotion_Close_Cmd, StageMotion_GetState_Cmd, StageMotion_Move_Cmd, and StageMotion_Open_Cmd.

Referenced by Tcl_AppInit.

int StageMotion_Move_Cmd ClientData    client_data,
Tcl_Interp *    interp,
int    argc,
char *    argv[]
 

Definition at line 51 of file StageMotion.c.

References err, movestage, Motion::pos, Motion::relative, and Motion::vel.

Referenced by StageMotion_Init.

int StageMotion_Open_Cmd ClientData    client_data,
Tcl_Interp *    interp,
int    argc,
char *    argv[]
 

Definition at line 16 of file StageMotion.c.

References err, newxystage, and openstage.

Referenced by StageMotion_Init.


Variable Documentation

ptraject xy = 0
 

Definition at line 13 of file StageMotion.c.


Generated on Wed Apr 9 08:56:22 2003 for TREES by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002