SEDRIS Reference Manual
APPENDIX A - Transmittal Access Level 0 API
Types
SE_Data_Table_Sub_Extent
/*
 * STRUCT: SE_Data_Table_Sub_Extent
 *
 *   This data type specifies the portion of a <Data Table> instance
 *   that is to be accessed.
 *
 *   A <Data Table> is an N-dimensional collection of data.  This
 *   extents structure is an N-dimensional "area of interest" definition.
 *   It allows the user to specify starting and stopping indices of
 *   interest for each dimension of the <Data Table>.  These indices
 *   are 0 based (traditional C array access).
 *
 *   For example, consider a three dimensional <Data Table>, with
 *   dimensions of 100 by 100 by 5.
 *
 *   To get all 50,000 values at once:
 *        axes_count = 3, axes_bounds[0].first_index=0,
 *                        axes_bounds[1].first_index=0,
 *                        axes_bounds[2].first_index=0,
 *                        axes_bounds[0].last_index=99,
 *                        axes_bounds[1].last_index=99,
 *                        axes_bounds[2].last_index=4
 *
 *   To treat it as 4 quadrants, 12,500 values each, the user could define:
 *        axes_count = 3, axes_bounds[0].first_index=0,
 *                        axes_bounds[1].first_index=0,
 *                        axes_bounds[2].first_index=0,
 *                        axes_bounds[0].last_index=49,
 *                        axes_bounds[1].last_index=49,
 *                        axes_bounds[2].last_index=4
 *        axes_count = 3, axes_bounds[0].first_index=50,
 *                        axes_bounds[1].first_index=0,
 *                        axes_bounds[2].first_index=0,
 *                        axes_bounds[0].last_index=99,
 *                        axes_bounds[1].last_index=49,
 *                        axes_bounds[2].last_index=4
 *        axes_count = 3, axes_bounds[0].first_index=0,
 *                        axes_bounds[1].first_index=50,
 *                        axes_bounds[2].first_index=0,
 *                        axes_bounds[0].last_index=49,
 *                        axes_bounds[1].last_index=99,
 *                        axes_bounds[2].last_index=4
 *        axes_count = 3, axes_bounds[0].first_index=50,
 *                        axes_bounds[1].first_index=50,
 *                        axes_bounds[2].first_index=0,
 *                        axes_bounds[0].last_index=99,
 *                        axes_bounds[1].last_index=99,
 *                        axes_bounds[2].last_index=4
 */
typedef struct
{

SE_Short_Integer_Unsigned axes_count;1
SE_Index_Range *axes_bounds;2
} SE_Data_Table_Sub_Extent;


Field Notes

axes_count

the number of <Axis> components of the given <Data Table> instance; also the size of the following axes_bounds array

axes_bounds

the array of index pairs representing each dimension of the given <Data Table> instance.




Prev: SE_Cylindrical_Volume_Extent_Entry. Next: SE_Encoding.


Return to: Top of this Page, Type Index