CiftiLib
A C++ library for CIFTI-2 and CIFTI-1 files
|
Enumerated type for a structure in a brain. More...
#include <StructureEnum.h>
Public Member Functions | |
~StructureEnum () | |
Static Public Member Functions | |
static AString | toName (Enum enumValue) |
static Enum | fromName (const AString &name, bool *isValidOut) |
static AString | toGuiName (Enum enumValue) |
static Enum | fromGuiName (const AString &guiName, bool *isValidOut) |
static AString | toCiftiName (Enum enumValue) |
static Enum | fromCiftiName (const AString &ciftiName, bool *isValidOut) |
static void | getAllEnums (std::vector< Enum > &allEnums) |
static bool | isRight (const Enum enumValue) |
static bool | isLeft (const Enum enumValue) |
static bool | isCortexContralateral (const Enum enumValueA, const Enum enumValueB) |
static Enum | getContralateralStructure (const Enum enumValue) |
Enumerated type for a structure in a brain.
Enumerated types for the individual structures in a brain.
Enumerated values.
StructureEnum::~StructureEnum | ( | ) |
Destructor.
|
static |
Get an enumerated value corresponding to its GUI name.
ciftiName | Name of enumerated value. |
isValidOut | If not NULL, it is set indicating that a enum value exists for the input name. |
|
static |
Get an enumerated value corresponding to its GUI name.
guiName | Name of enumerated value. |
isValidOut | If not NULL, it is set indicating that a enum value exists for the input name. |
|
static |
Get an enumerated value corresponding to its name.
name | Name of enumerated value. |
isValidOut | If not NULL, it is set indicating that a enum value exists for the input name. |
|
static |
Get all of the enumerated type values. The values can be used as parameters to toXXX() methods to get associated metadata.
allEnums | A vector that is OUTPUT containing all of the enumerated values except ALL. |
|
static |
For the given structure return its contralateral structure. Thats is, if this is a left/right structure return its corresponding structure from the other side.
enumValue | Structure for which contralateral structure is desired. |
Are the two structure's cortices and contralateral (is one CortexLeft and one CortexRight)?
enumValueA | First structure enumerated type. |
enumValueB | Second structure enumerated type. |
|
static |
Is this 'left' structure?
enumValue | The enumerated type. |
|
static |
Is this 'right' structure?
enumValue | The enumerated type. |
|
static |
Get a GUI string representation of the enumerated type.
enumValue | Enumerated value. |
|
static |
Get a GUI string representation of the enumerated type.
enumValue | Enumerated value. |
|
static |
Get a string representation of the enumerated type.
enumValue | Enumerated value. |