![]() |
aimsdata
5.0.5
Neuroimaging data handling
|
#include <aims/mesh/tex2graph.h>
Public Member Functions | |
Tex2Graph () | |
virtual | ~Tex2Graph () |
void | fillLabel2index (const Texture< T > &) |
int | getIndex (const T &label) |
void | makeGraph (Graph &g, const AimsSurfaceTriangle &mesh, const Texture< T > &tex, float epsilon=0.01) |
Fills graph g from texture of labels tex on the mesh mesh . More... | |
void | makeGraph (Graph &g, const AimsSurfaceTriangle &mesh, const Texture< T > &tex, const std::map< T, std::string > &lab2name, float epsilon=0.01) |
template<> | |
int | getIndex (const std::set< short > &label) |
template<> | |
void | fillLabel2index (const Texture< std::set< short > > &tex) |
Public Attributes | |
std::map< T, int > | label2index |
Fills graph g from texture of labels tex on the mesh mesh . More... | |
Definition at line 50 of file tex2graph.h.
aims::Tex2Graph< T >::Tex2Graph | ( | ) |
|
virtual |
|
inline |
Definition at line 51 of file tex2graph_d.h.
|
inline |
Definition at line 71 of file tex2graph_d.h.
|
inline |
Definition at line 63 of file tex2graph_d.h.
|
inline |
Definition at line 56 of file tex2graph_d.h.
|
inline |
Fills graph g
from texture of labels tex
on the mesh mesh
.
Definition at line 244 of file tex2graph_d.h.
References Graph::addVertex(), aims::GraphElementCode::attribute, aims::GraphElementCode::dataType, aims::GraphElementCode::global_filename, aims::GraphElementCode::global_index_attribute, aims::GraphElementCode::id, Texture< T >::item(), aims::GraphElementCode::local_file_attribute, Texture< T >::nItem(), aims::GraphElementCode::objectType, and aims::GraphElementCode::syntax.
|
inline |
Definition at line 85 of file tex2graph_d.h.
References Graph::addVertex(), Texture< T >::item(), Texture< T >::nItem(), and aims::GraphManip::storeAims().
std::map<T,int> aims::Tex2Graph< T >::label2index |
Fills graph g
from texture of labels tex
on the mesh mesh
.
Definition at line 65 of file tex2graph.h.