Seg3D  2.4
Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
Public Member Functions | List of all members
Core::ArrayMathProgramCode Class Reference

Public Member Functions

 ArrayMathProgramCode (ArrayMathFunctionObject function)
 
void set_function (ArrayMathFunctionObject function)
 Set the function pointer.
 
ArrayMathFunctionObject get_function ()
 Get the function pointer.
 
void set_variable (size_t j, float *variable)
 
void set_data_block (size_t j, DataBlock *data_block)
 
void set_mask_data_block (size_t j, MaskDataBlock *mask_data_block)
 
void set_index (index_type index)
 
void set_size (size_type size)
 Set the size of the array that needs to be processed.
 
size_type get_size ()
 
float * get_variable (size_t j)
 
DataBlockget_data_block (size_t j)
 
MaskDataBlockget_mask_data_block (size_t j)
 
index_type get_index ()
 
bool run ()
 
void print ()
 

Member Function Documentation

float* Core::ArrayMathProgramCode::get_variable ( size_t  j)
inline

These functions are called by the actual code segments For Scalar, Vector and Tensor buffers

void Core::ArrayMathProgramCode::set_index ( index_type  index)
inline

Set the index, we keep this in the list so the program knows which element we need to process.

void Core::ArrayMathProgramCode::set_variable ( size_t  j,
float *  variable 
)
inline

Tell the progam where to temporary space has been allocated for this part of the program


The documentation for this class was generated from the following files: