Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

tagset.h File Reference

Go to the source code of this file.


Data Structures

struct  THD_usertag
struct  THD_usertaglist

Defines

#define MAX_TAG_LABEL   40
#define MAX_TAG_NUM   666
#define INIT_TAGLIST(tl)
#define TAGLIST_COUNT(tl)   ((tl)->num)
#define TAGLIST_SUBTAG(tl, i)   ((tl)->tag[i])
#define TAGLIST_LABEL(tl)   ((tl)->label)
#define TAG_LABEL(tt)   ((tt).label)
#define TAG_X(tt)   ((tt).x)
#define TAG_Y(tt)   ((tt).y)
#define TAG_Z(tt)   ((tt).z)
#define TAG_T(tt)   ((tt).t)
#define TAG_VAL(tt)   ((tt).val)
#define TAG_SET(tt)   ((tt).set)
#define TAG_SETLABEL(tt, str)
#define TAGLIST_SETLABEL(tl, str)   TAG_SETLABEL(*(tl),(str))
#define ATRNAME_TAGSET_NUM   "TAGSET_NUM"
#define ATRNAME_TAGSET_LABELS   "TAGSET_LABELS"
#define ATRNAME_TAGSET_FLOATS   "TAGSET_FLOATS"

Define Documentation

#define ATRNAME_TAGSET_FLOATS   "TAGSET_FLOATS"
 

Definition at line 56 of file tagset.h.

Referenced by THD_3dim_from_block(), THD_datablock_apply_atr(), and THD_set_dataset_attributes().

#define ATRNAME_TAGSET_LABELS   "TAGSET_LABELS"
 

Definition at line 55 of file tagset.h.

Referenced by THD_3dim_from_block(), THD_datablock_apply_atr(), and THD_set_dataset_attributes().

#define ATRNAME_TAGSET_NUM   "TAGSET_NUM"
 

Definition at line 54 of file tagset.h.

Referenced by THD_3dim_from_block(), THD_datablock_apply_atr(), and THD_set_dataset_attributes().

#define INIT_TAGLIST tl   
 

Value:

do{ int iq ;                               \
      for( iq=0 ; iq < MAX_TAG_NUM ; iq++ ){ \
         (tl).tag[ii].set = 0 ;              \
         (tl).tag[ii].label[0] = '\0' ;      \
      } } while(0)

Definition at line 29 of file tagset.h.

#define MAX_TAG_LABEL   40
 

Definition at line 14 of file tagset.h.

Referenced by TAG_make_widgets(), TAG_read_CB(), TAG_relabel_CB(), and TAG_write_CB().

#define MAX_TAG_NUM   666
 

Definition at line 15 of file tagset.h.

Referenced by TAG_add_CB(), TAG_make_widgets(), TAG_read_CB(), TAG_reset_widgets(), THD_3dim_from_block(), and THD_datablock_apply_atr().

#define TAG_LABEL tt       ((tt).label)
 

Definition at line 40 of file tagset.h.

#define TAG_SET tt       ((tt).set)
 

Definition at line 46 of file tagset.h.

Referenced by main().

#define TAG_SETLABEL tt,
str   
 

Value:

( strncpy((tt).label,(str),MAX_TAG_LABEL-1) , \
     (tt).label[MAX_TAG_LABEL-1] = '\0' )

Definition at line 48 of file tagset.h.

Referenced by THD_3dim_from_block(), THD_datablock_apply_atr(), and THD_open_ctfmri().

#define TAG_T tt       ((tt).t)
 

Definition at line 44 of file tagset.h.

#define TAG_VAL tt       ((tt).val)
 

Definition at line 45 of file tagset.h.

Referenced by main().

#define TAG_X tt       ((tt).x)
 

Definition at line 41 of file tagset.h.

Referenced by main().

#define TAG_Y tt       ((tt).y)
 

Definition at line 42 of file tagset.h.

Referenced by main().

#define TAG_Z tt       ((tt).z)
 

Definition at line 43 of file tagset.h.

Referenced by main().

#define TAGLIST_COUNT tl       ((tl)->num)
 

Definition at line 36 of file tagset.h.

Referenced by main().

#define TAGLIST_LABEL tl       ((tl)->label)
 

Definition at line 38 of file tagset.h.

#define TAGLIST_SETLABEL tl,
str       TAG_SETLABEL(*(tl),(str))
 

Definition at line 52 of file tagset.h.

Referenced by THD_open_ctfmri().

#define TAGLIST_SUBTAG tl,
i       ((tl)->tag[i])
 

Definition at line 37 of file tagset.h.

Referenced by main().

 

Powered by Plone

This site conforms to the following standards: