CiftiLib
A C++ library for CIFTI-2 and CIFTI-1 files
Classes | Public Types | Public Member Functions | List of all members
cifti::CiftiBrainModelsMap Class Reference
Inheritance diagram for cifti::CiftiBrainModelsMap:
cifti::CiftiMappingType

Classes

struct  IndexInfo
 
struct  ModelInfo
 
struct  SurfaceMap
 
struct  VolumeMap
 

Public Types

enum  ModelType { SURFACE, VOXELS }
 
- Public Types inherited from cifti::CiftiMappingType
enum  MappingType {
  BRAIN_MODELS, PARCELS, SERIES, SCALARS,
  LABELS
}
 

Public Member Functions

bool hasVolumeData () const
 
bool hasVolumeData (const StructureEnum::Enum &structure) const
 
bool hasSurfaceData (const StructureEnum::Enum &structure) const
 
int64_t getIndexForNode (const int64_t &node, const StructureEnum::Enum &structure) const
 
int64_t getIndexForVoxel (const int64_t *ijk, StructureEnum::Enum *structureOut=NULL) const
 
int64_t getIndexForVoxel (const int64_t &i, const int64_t &j, const int64_t &k, StructureEnum::Enum *structureOut=NULL) const
 
IndexInfo getInfoForIndex (const int64_t index) const
 
std::vector< SurfaceMapgetSurfaceMap (const StructureEnum::Enum &structure) const
 
std::vector< VolumeMapgetFullVolumeMap () const
 
std::vector< VolumeMapgetVolumeStructureMap (const StructureEnum::Enum &structure) const
 
const VolumeSpacegetVolumeSpace () const
 
int64_t getSurfaceNumberOfNodes (const StructureEnum::Enum &structure) const
 
std::vector< StructureEnum::EnumgetSurfaceStructureList () const
 
std::vector< StructureEnum::EnumgetVolumeStructureList () const
 
const std::vector< int64_t > & getNodeList (const StructureEnum::Enum &structure) const
 
const std::vector< int64_t > & getVoxelList (const StructureEnum::Enum &structure) const
 
std::vector< ModelInfogetModelInfo () const
 
void addSurfaceModel (const int64_t &numberOfNodes, const StructureEnum::Enum &structure, const float *roi=NULL)
 
void addSurfaceModel (const int64_t &numberOfNodes, const StructureEnum::Enum &structure, const std::vector< int64_t > &nodeList)
 
void addVolumeModel (const StructureEnum::Enum &structure, const std::vector< int64_t > &ijkList)
 
void setVolumeSpace (const VolumeSpace &space)
 
void clear ()
 
CiftiMappingTypeclone () 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
 
- Public Member Functions inherited from cifti::CiftiMappingType
bool operator!= (const CiftiMappingType &rhs) const
 

Additional Inherited Members

- Static Public Member Functions inherited from cifti::CiftiMappingType
static AString mappingTypeToName (const MappingType &type)
 

The documentation for this class was generated from the following files: