CiftiLib
A C++ library for CIFTI-2 and CIFTI-1 files
cifti::CiftiParcelsMap Class Reference
Inheritance diagram for cifti::CiftiParcelsMap:
cifti::CiftiMappingType

Classes

struct  Parcel
 

Public Member Functions

bool hasVolumeData () const
 
bool hasSurface (const StructureEnum::Enum &structure) const
 
bool hasSurfaceData (const StructureEnum::Enum &structure) const
 
const VolumeSpacegetVolumeSpace () const
 
int64_t getSurfaceNumberOfNodes (const StructureEnum::Enum &structure) const
 
int64_t getIndexForNode (const int64_t &node, const StructureEnum::Enum &structure) const
 
int64_t getIndexForVoxel (const int64_t *ijk) const
 
int64_t getIndexForVoxel (const int64_t &i, const int64_t &j, const int64_t &k) const
 
std::vector< StructureEnum::EnumgetParcelSurfaceStructures () const
 
const std::vector< Parcel > & getParcels () const
 
void addSurface (const int64_t &numberOfNodes, const StructureEnum::Enum &structure)
 
void setVolumeSpace (const VolumeSpace &space)
 
void addParcel (const Parcel &parcel)
 
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

- Public Types inherited from cifti::CiftiMappingType
enum  MappingType {
  BRAIN_MODELS , PARCELS , SERIES , SCALARS ,
  LABELS
}
 
- Static Public Member Functions inherited from cifti::CiftiMappingType
static AString mappingTypeToName (const MappingType &type)
 

Member Function Documentation

◆ approximateMatch()

bool CiftiParcelsMap::approximateMatch ( const CiftiMappingType & rhs,
AString * explanation = NULL ) const
virtual

◆ clone()

CiftiMappingType * cifti::CiftiParcelsMap::clone ( ) const
inlinevirtual

◆ getLength()

int64_t cifti::CiftiParcelsMap::getLength ( ) const
inlinevirtual

◆ getType()

MappingType cifti::CiftiParcelsMap::getType ( ) const
inlinevirtual

◆ operator==()

bool CiftiParcelsMap::operator== ( const CiftiMappingType & rhs) const
virtual

◆ readXML1()

void CiftiParcelsMap::readXML1 ( XmlReader & xml)
virtual

◆ readXML2()

void CiftiParcelsMap::readXML2 ( XmlReader & xml)
virtual

◆ writeXML1()

void CiftiParcelsMap::writeXML1 ( XmlWriter & xml) const
virtual

◆ writeXML2()

void CiftiParcelsMap::writeXML2 ( XmlWriter & xml) const
virtual

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