Source Code

 

 

class          SLICEO_DB SliceO_File {

 

public:

          // --------------- Constructors -------------------------------

          SliceO_File( char *name, void **ima_list ) ;

          ~SliceO_File( void ) ;

 

public:

          char           *m_name_GLI ;          // complete path to GLI file

          char          **m_name_TAG_save ;          // complete path to all the saved TAG files

          char          **m_name_TAG_read ;          // complete path to all the read  TAG files

 

          time_t          m_date ;          // date the file was read in sliceO

 

 

//          --------------------------------------

 

          // --- ret < 0 if this m_name_GLI < name, > 0 if > name, 0 if same ---

          int          Match( char *name ) ;

 

          // --- Note: "bunch" here refer to a portion of the file if the

          // file is multi-frame.  If the file contain only one image,

          // or one 3D dataset with same x&y res, then there is only one

          // "bunch" in the file.

 

          // --- info for all the slices in this file ---

          int          m_bunch_nb ;          // tot number of bunches

          unsigned char          *m_bunch_flag ;          // flag for each bunch (OPEN, CLOSE...)

          float          *m_bunch_offset ;          // offset to slice "d" pos

          float          *m_bunch_dim ;          // dimention of pixel

          void          **m_bunch_head ;          // header for each bunch

} ;