|
static Motion | talairach (const Graph &g) |
| Extract Talairach transformation (graph -> Talairach) More...
|
|
static void | storeTalairach (Graph &g, const Motion &m, bool force_old_attributes=false) |
| Store Talairach transformation in graph. More...
|
|
static bool | hasOldTalairachTransform (const Graph &g) |
| Test if a Graph has the old Talairach attributes. More...
|
|
static bool | buckets2Volume (Graph &g) |
| converts internal representations of graph nodes from buckets to volume More...
|
|
static bool | volume2Buckets (Graph &g, CreateBucketFunc f=0) |
| converts internal representations of graph nodes from volume to buckets. More...
|
|
static GraphElementCode & | graphElementCode (Graph &, const std::string &syntax, const std::string &id) |
|
static GraphElementCode & | graphElementCodeByAtt (Graph &, const std::string &syntax, const std::string &attrib) |
|
template<typename T > |
static void | storeAims (Graph &graph, GraphObject *vertex, const std::string &attribute, carto::rc_ptr< T > obj) |
| This template function stores the given object in the given Vertex / Edge of the graph and takes care of IO information to maintain in the graph. More...
|
|
template<typename T > |
static Graph * | graphFromVolume (const AimsData< T > &vol, T background=0, std::map< T, std::string > *trans=0) |
| builds a ROI graph from a volume of labels More...
|
|
template<typename T > |
static void | graphFromVolume (const AimsData< T > &vol, Graph &g, T background=0, std::map< T, std::string > *trans=0, bool automaticBackgroundSearch=true) |
| builds a ROI graph from a volume of labels More...
|
|
static void | setAttributeColor (Graph &graph, const std::string &att, const AimsRGB &) |
|
static void | setAttributeColor (Graph &graph, const std::string &att, const AimsRGBA &) |
|
static void | setAttributeColor (Graph &graph, const std::string &att, const std::vector< int > &) |
|
static void | completeGraph (Graph &) |
| Completes folds graph information. More...
|
|
static Graph * | mergeGraph (const std::string &, Graph &, Graph &, bool mergeMesh=true, bool invNormal=false) |
|
static void | printGraphElementTable (const Graph &, std::ostream &ostr=std::cout) |
|
static std::string | defaultExtensionForObjectType (const std::string &otype, const std::string &dtype) |
|
Various manipulations on graphs.
Definition at line 123 of file graphmanip.h.
static void aims::GraphManip::storeTalairach |
( |
Graph & |
g, |
|
|
const Motion & |
m, |
|
|
bool |
force_old_attributes = false |
|
) |
| |
|
static |
Store Talairach transformation in graph.
The transformation is written in the modern attributes ("referentials" and "transformations"). It is also written to the legacy attributes ("Talairach_translation", "Talairach_rotation", and "Talairach_scale"), if these are already present, or if force_old_attributes is true.