CiftiLib
A C++ library for CIFTI-2 and CIFTI-1 files
|
31 #include "Common/AString.h"
37 class GroupAndNameHierarchyItem;
78 const int32_t rgba[]);
80 Label(
const int32_t key);
90 void copyHelper(
const Label& o);
92 void initializeMembersLabel();
103 void setKey(
const int32_t key);
107 void setName(
const AString& name);
115 void getColor(
float rgbaOut[])
const;
133 bool matches(
const Label& rhs,
const bool checkColor =
false)
const;
156 const static int32_t s_invalidLabelKey;
161 #endif // __LABEL_H__
static int32_t getInvalidLabelKey()
Definition: Label.h:138
int32_t operator<(const Label &gl)
Definition: Label.cxx:274
int32_t getKey() const
Definition: Label.cxx:285
bool equals(const Label &)
Definition: Label.cxx:261
float getAlpha() const
Definition: Label.cxx:485
void setColorInt(const int32_t rgba[])
Definition: Label.cxx:422
float getRed() const
Definition: Label.cxx:452
void setSelected(const bool selected)
Definition: Label.cxx:344
bool isSelected() const
Definition: Label.cxx:332
int32_t * getColorInt() const
Definition: Label.cxx:406
float getBlue() const
Definition: Label.cxx:474
void setKey(const int32_t key)
Definition: Label.cxx:298
AString getName() const
Definition: Label.cxx:309
float getGreen() const
Definition: Label.cxx:463
static void getDefaultColor(float rgbaOut[4])
Definition: Label.cxx:438
void setName(const AString &name)
Definition: Label.cxx:320
float * getColor() const
Definition: Label.cxx:358
void setColor(const float rgba[])
Definition: Label.cxx:391
namespace for all CiftiLib functionality
Definition: CiftiBrainModelsMap.h:41
Label(const int32_t key, const AString &name)
Definition: Label.cxx:45