CiftiLib
A C++ library for CIFTI-2 and CIFTI-1 files
|
Public Types | |
enum | Unit { HERTZ, METER, RADIAN, SECOND } |
![]() | |
enum | MappingType { BRAIN_MODELS, PARCELS, SERIES, SCALARS, LABELS } |
Public Member Functions | |
float | getStart () const |
float | getStep () const |
Unit | getUnit () const |
CiftiSeriesMap (const int64_t &length, const float &start=0.0f, const float &step=1.0f, const Unit &unit=SECOND) | |
void | setStart (const float &start) |
void | setStep (const float &step) |
void | setUnit (const Unit &unit) |
void | setLength (const int64_t &length) |
CiftiMappingType * | clone () const |
MappingType | getType () const |
int64_t | getLength () const |
bool | operator== (const CiftiMappingType &rhs) const |
bool | approximateMatch (const CiftiMappingType &rhs, AString *explanation=NULL) const |
void | readXML1 (XmlReader &xml) |
void | readXML2 (XmlReader &xml) |
void | writeXML1 (XmlWriter &xml) const |
void | writeXML2 (XmlWriter &xml) const |
![]() | |
bool | operator!= (const CiftiMappingType &rhs) const |
Static Public Member Functions | |
static Unit | stringToUnit (const AString &string, bool &ok) |
static AString | unitToString (const Unit &theUnit) |
static std::vector< Unit > | getAllUnits () |
![]() | |
static AString | mappingTypeToName (const MappingType &type) |