tomoRecon 1-0
Functions
/home/epics/devel/tomoRecon/tomoReconApp/src/tomoReconIDL.cpp File Reference
#include "tomoRecon.h"
#include <epicsExport.h>

Functions

epicsShareFunc void epicsShareAPI tomoReconCreateIDL (int argc, char *argv[])
 Function to create a tomoRecon object from IDL.
epicsShareFunc void epicsShareAPI tomoReconDeleteIDL (int argc, char *argv[])
 Function to delete the tomoRecon object created with tomoReconCreateIDL.
epicsShareFunc void epicsShareAPI tomoReconRunIDL (int argc, char *argv[])
 Function to run a reconstruction using the tomoRecon object created with tomoReconCreateIDL.
epicsShareFunc void epicsShareAPI tomoReconPollIDL (int argc, char *argv[])
 Function to poll the status of a reconstruction started with tomoReconRunIDL.

Function Documentation

epicsShareFunc void epicsShareAPI tomoReconCreateIDL ( int  argc,
char *  argv[] 
)

Function to create a tomoRecon object from IDL.

Parameters:
[in]argcNumber of parameters = 2
[in]argvArray of pointers.
argv[0] = Pointer to a tomoParams_t structure, which defines the reconstruction parameters
argv[1] = Pointer to float array of angles in degrees
These arguments are copied to static variables in this file, because the IDL variables could be deleted and returned to the heap while the tomoRecon object still exists.
epicsShareFunc void epicsShareAPI tomoReconDeleteIDL ( int  argc,
char *  argv[] 
)

Function to delete the tomoRecon object created with tomoReconCreateIDL.

Note that any existing tomoRecon object is automatically deleted the next time that tomoReconCreateIDL is called, so it is often not necessary to call this function.

epicsShareFunc void epicsShareAPI tomoReconPollIDL ( int  argc,
char *  argv[] 
)

Function to poll the status of a reconstruction started with tomoReconRunIDL.

Parameters:
[in]argcNumber of parameters = 2
[in]argvArray of pointers.
argv[0] = Pointer to int reconComplete; 0 if reconstruction still running, 1 if complete
argv[1] = Pointer to int slicesRemaining, which gives the number of slices remaining to be reconstructed.
epicsShareFunc void epicsShareAPI tomoReconRunIDL ( int  argc,
char *  argv[] 
)

Function to run a reconstruction using the tomoRecon object created with tomoReconCreateIDL.

Parameters:
[in]argcNumber of parameters = 4
[in]argvArray of pointers.
argv[0] = Pointer to a number of slices to reconstruct
argv[1] = Pointer to float array of rotation centers in pixels
argv[2] = Pointer to float array of input slices [numPixels, numSlices, numProjections]
argv[3] = Pointer to float array of output reconstructed slices [numPixels, numPixels, numSlices]