CiftiLib
A C++ library for CIFTI-2 and CIFTI-1 files
cifti Namespace Reference

namespace for all CiftiLib functionality More...

Classes

class  BinaryFile
 
class  ByteSwapping
 
class  CiftiBrainModelsMap
 
class  CiftiException
 
class  CiftiFile
 class for reading and writing cifti files More...
 
class  CiftiLabelsMap
 
class  CiftiMappingType
 
class  CiftiParcelsMap
 
class  CiftiScalarsMap
 
class  CiftiSeriesMap
 
class  CiftiVersion
 
class  CiftiXML
 class for retrieving and setting mapping information of cifti files More...
 
class  Compact3DLookup
 
class  CompactLookup
 
class  ConstFloatMatrixRowRef
 
class  FloatMatrix
 
class  FloatMatrixRowRef
 
class  Label
 
class  LabelTable
 
class  MathFunctions
 
class  MatrixFunctions
 
class  MetaData
 
class  MultiDimArray
 
class  MultiDimIterator
 
struct  nifti1_extender
 This structure represents a 4-byte string that should follow the binary nifti_1_header data in a NIFTI-1 header file. If the char values are {1,0,0,0}, the file is expected to contain extensions, values of {0,0,0,0} imply the file does not contain extensions. Other sequences of values are not currently defined. More...
 
struct  nifti1_extension
 Data structure defining the fields of a header extension. More...
 
struct  nifti_1_header
 Data structure defining the fields in the nifti1 header. This binary header should be found at the beginning of a valid NIFTI-1 header file. More...
 
struct  nifti_2_header
 Data structure defining the fields in the nifti2 header. This binary header should be found at the beginning of a valid NIFTI-2 header file. More...
 
struct  NiftiExtension
 
struct  NiftiHeader
 
class  NiftiIO
 
class  StrFileImpl
 
class  StructureEnum
 Enumerated type for a structure in a brain. More...
 
class  Vector3D
 
class  VolumeSpace
 
struct  VoxelIJK
 
struct  XmlAttributesResult
 

Typedefs

typedef struct nifti_1_header nifti_1_header
 
typedef struct nifti1_extender nifti1_extender
 
typedef struct nifti1_extension nifti1_extension
 
typedef struct nifti_2_header nifti_2_header
 

Functions

std::vector< AString > AString_split (const AString &input, const char &delim)
 
std::vector< AString > AString_split_whitespace (const AString &input)
 
int64_t AString_toInt (const AString &input, bool &ok)
 
float AString_toFloat (const AString &input, bool &ok)
 
Vector3D operator* (const float &left, const Vector3D &right)
 
AString XmlReader_readElementText (XmlReader &xml)
 
bool XmlReader_readNextStartElement (XmlReader &xml)
 
AString XmlReader_elementName (XmlReader &xml)
 
XmlAttributesResult XmlReader_parseAttributes (XmlReader &xml, const std::vector< AString > &mandatoryNames, const std::vector< AString > &optionalNames=std::vector< AString >())
 
bool XmlReader_checkEndElement (XmlReader &xml, const AString &elementName)
 

Variables

const int32_t DT_NONE =0
 
const int32_t DT_UNKNOWN =0
 
const int32_t DT_BINARY =1
 
const int32_t DT_UNSIGNED_CHAR =2
 
const int32_t DT_SIGNED_SHORT =4
 
const int32_t DT_SIGNED_INT =8
 
const int32_t DT_FLOAT =16
 
const int32_t DT_COMPLEX =32
 
const int32_t DT_DOUBLE =64
 
const int32_t DT_RGB =128
 
const int32_t DT_ALL =255
 
const int32_t DT_UINT8 =2
 
const int32_t DT_INT16 =4
 
const int32_t DT_INT32 =8
 
const int32_t DT_FLOAT32 =16
 
const int32_t DT_COMPLEX64 =32
 
const int32_t DT_FLOAT64 =64
 
const int32_t DT_RGB24 =128
 
const int32_t DT_INT8 =256
 
const int32_t DT_UINT16 =512
 
const int32_t DT_UINT32 =768
 
const int32_t DT_INT64 =1024
 
const int32_t DT_UINT64 =1280
 
const int32_t DT_FLOAT128 =1536
 
const int32_t DT_COMPLEX128 =1792
 
const int32_t DT_COMPLEX256 =2048
 
const int32_t NIFTI_TYPE_UINT8 =2
 
const int32_t NIFTI_TYPE_INT16 =4
 
const int32_t NIFTI_TYPE_INT32 =8
 
const int32_t NIFTI_TYPE_FLOAT32 =16
 
const int32_t NIFTI_TYPE_COMPLEX64 =32
 
const int32_t NIFTI_TYPE_FLOAT64 =64
 
const int32_t NIFTI_TYPE_RGB24 =128
 
const int32_t NIFTI_TYPE_INT8 =256
 
const int32_t NIFTI_TYPE_UINT16 =512
 
const int32_t NIFTI_TYPE_UINT32 =768
 
const int32_t NIFTI_TYPE_INT64 =1024
 
const int32_t NIFTI_TYPE_UINT64 =1280
 
const int32_t NIFTI_TYPE_FLOAT128 =1536
 
const int32_t NIFTI_TYPE_COMPLEX128 =1792
 
const int32_t NIFTI_TYPE_COMPLEX256 =2048
 
const int32_t NIFTI_INTENT_NONE =0
 
const int32_t NIFTI_INTENT_CORREL =2
 
const int32_t NIFTI_INTENT_TTEST =3
 
const int32_t NIFTI_INTENT_FTEST =4
 
const int32_t NIFTI_INTENT_ZSCORE =5
 
const int32_t NIFTI_INTENT_CHISQ =6
 
const int32_t NIFTI_INTENT_BETA =7
 
const int32_t NIFTI_INTENT_BINOM =8
 
const int32_t NIFTI_INTENT_GAMMA =9
 
const int32_t NIFTI_INTENT_POISSON =10
 
const int32_t NIFTI_INTENT_NORMAL =11
 
const int32_t NIFTI_INTENT_FTEST_NONC =12
 
const int32_t NIFTI_INTENT_CHISQ_NONC =13
 
const int32_t NIFTI_INTENT_LOGISTIC =14
 
const int32_t NIFTI_INTENT_LAPLACE =15
 
const int32_t NIFTI_INTENT_UNIFORM =16
 
const int32_t NIFTI_INTENT_TTEST_NONC =17
 
const int32_t NIFTI_INTENT_WEIBULL =18
 
const int32_t NIFTI_INTENT_CHI =19
 
const int32_t NIFTI_INTENT_INVGAUSS =20
 
const int32_t NIFTI_INTENT_EXTVAL =21
 
const int32_t NIFTI_INTENT_PVAL =22
 
const int32_t NIFTI_INTENT_LOGPVAL =23
 
const int32_t NIFTI_INTENT_LOG10PVAL =24
 
const int32_t NIFTI_FIRST_STATCODE =2
 
const int32_t NIFTI_LAST_STATCODE =24
 
const int32_t NIFTI_INTENT_ESTIMATE =1001
 
const int32_t NIFTI_INTENT_LABEL =1002
 
const int32_t NIFTI_INTENT_NEURONAME =1003
 
const int32_t NIFTI_INTENT_GENMATRIX =1004
 
const int32_t NIFTI_INTENT_SYMMATRIX =1005
 
const int32_t NIFTI_INTENT_DISPVECT =1006
 
const int32_t NIFTI_INTENT_VECTOR =1007
 
const int32_t NIFTI_INTENT_POINTSET =1008
 
const int32_t NIFTI_INTENT_TRIANGLE =1009
 
const int32_t NIFTI_INTENT_QUATERNION =1010
 
const int32_t NIFTI_INTENT_DIMLESS =1011
 
const int32_t NIFTI_XFORM_UNKNOWN =0
 
const int32_t NIFTI_XFORM_SCANNER_ANAT =1
 
const int32_t NIFTI_XFORM_ALIGNED_ANAT =2
 
const int32_t NIFTI_XFORM_TALAIRACH =3
 
const int32_t NIFTI_XFORM_MNI_152 =4
 
const int32_t NIFTI_UNITS_UNKNOWN =0
 
const int32_t NIFTI_UNITS_METER =1
 
const int32_t NIFTI_UNITS_MM =2
 
const int32_t NIFTI_UNITS_MICRON =3
 
const int32_t NIFTI_UNITS_SEC =8
 
const int32_t NIFTI_UNITS_MSEC =16
 
const int32_t NIFTI_UNITS_USEC =24
 
const int32_t NIFTI_UNITS_HZ =32
 
const int32_t NIFTI_UNITS_PPM =40
 
const int32_t NIFTI_UNITS_RADS =48
 
const int32_t NIFTI_SLICE_UNKNOWN =0
 
const int32_t NIFTI_SLICE_SEQ_INC =1
 
const int32_t NIFTI_SLICE_SEQ_DEC =2
 
const int32_t NIFTI_SLICE_ALT_INC =3
 
const int32_t NIFTI_SLICE_ALT_DEC =4
 
const int32_t NIFTI_SLICE_ALT_INC2 =5
 
const int32_t NIFTI_SLICE_ALT_DEC2 =6
 
const int32_t NIFTI_INTENT_CONNECTIVITY_UNKNOWN =3000
 
const int32_t NIFTI_INTENT_CONNECTIVITY_DENSE =3001
 
const int32_t NIFTI_INTENT_CONNECTIVITY_DENSE_TIME =3002
 
const int32_t NIFTI_INTENT_CONNECTIVITY_DENSE_SERIES =3002
 
const int32_t NIFTI_INTENT_CONNECTIVITY_PARCELLATED =3003
 
const int32_t NIFTI_INTENT_CONNECTIVITY_PARCELLATED_TIME =3004
 
const int32_t NIFTI_INTENT_CONNECTIVITY_PARCELLATED_SERIES =3004
 
const int32_t NIFTI_INTENT_CONNECTIVITY_CONNECTIVITY_TRAJECTORY =3005
 
const int32_t NIFTI_INTENT_CONNECTIVITY_DENSE_TRAJECTORY =3005
 
const int32_t NIFTI_INTENT_CONNECTIVITY_DENSE_SCALARS =3006
 
const int32_t NIFTI_INTENT_CONNECTIVITY_DENSE_LABELS =3007
 
const int32_t NIFTI_INTENT_CONNECTIVITY_PARCELLATED_SCALAR =3008
 
const int32_t NIFTI_INTENT_CONNECTIVITY_PARCELLATED_DENSE =3009
 
const int32_t NIFTI_INTENT_CONNECTIVITY_DENSE_PARCELLATED =3010
 
const int32_t NIFTI_INTENT_CONNECTIVITY_PARCELLATED_PARCELLATED_SERIES =3011
 
const int32_t NIFTI_INTENT_CONNECTIVITY_PARCELLATED_PARCELLATED_SCALAR =3012
 
const int32_t NIFTI_ECODE_CIFTI =32
 

Detailed Description

namespace for all CiftiLib functionality