cortical_surface  5.0.5
SubjectData Class Reference

#include <cortical_surface/structuralanalysis/subjectdata.h>

Collaboration diagram for SubjectData:

Public Member Functions

 SubjectData (std::string id="UNKNOWN_SUBJECT_ID")
 
 SubjectData (SubjectData &subject)
 
 SubjectData (std::string id, std::string meshPath, std::string texPath, std::string latPath="", std::string lonPath="")
 
void storeData (AimsSurface< 3, Void > *mesh, Texture< float > *tex, bool computeWeights=true, bool computeNeighbours=true, bool verbose=true)
 
void storeData (AimsSurface< 3, Void > *mesh, Texture< float > *tex, std::map< unsigned, std::set< std::pair< unsigned, float > > > &weights, bool verbose=true)
 
void storeCoordinates (Texture< float > *lat, Texture< float > *lon=NULL, bool verbose=true)
 

Public Attributes

int coordinates
 
std::string subject_id
 
SubjectPaths paths
 
AimsSurface< 3, Void > * mesh
 
Texture< float > * tex
 
Texture< float > * lat
 
Texture< float > * lon
 
std::map< unsigned, std::set< std::pair< unsigned, float > > > weightLapl
 
std::vector< std::set< uint > > neighbours
 
Graphgraph
 

Detailed Description

Definition at line 38 of file subjectdata.h.

Constructor & Destructor Documentation

◆ SubjectData() [1/3]

SubjectData::SubjectData ( std::string  id = "UNKNOWN_SUBJECT_ID")
inline

Definition at line 55 of file subjectdata.h.

◆ SubjectData() [2/3]

SubjectData::SubjectData ( SubjectData subject)
inline

Definition at line 56 of file subjectdata.h.

References coordinates, lat, lon, mesh, paths, subject_id, tex, and weightLapl.

◆ SubjectData() [3/3]

SubjectData::SubjectData ( std::string  id,
std::string  meshPath,
std::string  texPath,
std::string  latPath = "",
std::string  lonPath = "" 
)
inline

Member Function Documentation

◆ storeCoordinates()

void SubjectData::storeCoordinates ( Texture< float > *  lat,
Texture< float > *  lon = NULL,
bool  verbose = true 
)
inline

Definition at line 113 of file subjectdata.h.

References LAT_1D, LATLON_2D, Texture< T >::nItem(), and verbose.

◆ storeData() [1/2]

void SubjectData::storeData ( AimsSurface< 3, Void > *  mesh,
Texture< float > *  tex,
bool  computeWeights = true,
bool  computeNeighbours = true,
bool  verbose = true 
)
inline

◆ storeData() [2/2]

void SubjectData::storeData ( AimsSurface< 3, Void > *  mesh,
Texture< float > *  tex,
std::map< unsigned, std::set< std::pair< unsigned, float > > > &  weights,
bool  verbose = true 
)
inline

Definition at line 108 of file subjectdata.h.

References verbose.

Member Data Documentation

◆ coordinates

int SubjectData::coordinates

Definition at line 41 of file subjectdata.h.

Referenced by SubjectData().

◆ graph

Graph* SubjectData::graph

Definition at line 53 of file subjectdata.h.

◆ lat

Texture<float>* SubjectData::lat

Definition at line 48 of file subjectdata.h.

Referenced by SubjectData().

◆ lon

Texture<float>* SubjectData::lon

Definition at line 49 of file subjectdata.h.

Referenced by SubjectData().

◆ mesh

AimsSurface<3,Void>* SubjectData::mesh

Definition at line 45 of file subjectdata.h.

Referenced by SubjectData().

◆ neighbours

std::vector<std::set<uint> > SubjectData::neighbours

Definition at line 51 of file subjectdata.h.

◆ paths

SubjectPaths SubjectData::paths

Definition at line 43 of file subjectdata.h.

Referenced by SubjectData().

◆ subject_id

std::string SubjectData::subject_id

Definition at line 42 of file subjectdata.h.

Referenced by SubjectData().

◆ tex

Texture<float>* SubjectData::tex

Definition at line 47 of file subjectdata.h.

Referenced by SubjectData().

◆ weightLapl

std::map<unsigned, std::set< std::pair<unsigned,float> > > SubjectData::weightLapl

Definition at line 50 of file subjectdata.h.

Referenced by SubjectData().


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