cortical_surface  5.0.5
corticalTools.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2000-2004 CEA
3  *
4  * This software and supporting documentation were developed by
5  * CEA/DSV/SHFJ
6  * 4 place du General Leclerc
7  * 91401 Orsay cedex
8  * France
9  */
10 
11 
12 #ifndef AIMS_CORTICALREFERENTIAL_TOOLS_H
13 #define AIMS_CORTICALREFERENTIAL_TOOLS_H
14 
15 
16 #include <aims/mesh/texture.h>
17 #include <aims/mesh/curv.h>
21 #include <aims/io/reader.h>
22 #include <aims/io/writer.h>
24 
25 //#include <cortical_surface/surfacereferential/corticalTools.h>
26 
27 namespace aims
28 {
29  //Tools
30 
31  //initialization of single textures
32  std::pair<int,int> find_poles(TimeTexture<float> &, AimsSurfaceTriangle );
33 
34  float compute2D_distance(float lon1, float lon2, float lat1, float lat2);
35 
36  //Poles points determination (to be improved)
38  /*
39  template<class T>
40  Texture<float> MeshDistanceHere( const AimsSurface<3,Void> & mesh,
41  const Texture<T> & inittex,
42  bool allowUnreached );
43  */
44  void drawGyri(std::string & adLong, std::string & adLat, std::string & adOut, std::string & adr_cor, std::string & side);
45 
46  TimeTexture<float> dilate_texture(TimeTexture<float> & texture, float val, std::vector<std::set<uint> > neigh, AimsSurfaceTriangle mesh);
47 }
48 
49 #endif
AIMSDATA_API AimsTimeSurface< 3, Void > AimsSurfaceTriangle
TimeTexture< float > dilate_texture(TimeTexture< float > &texture, float val, std::vector< std::set< uint > > neigh, AimsSurfaceTriangle mesh)
void drawGyri(std::string &adLong, std::string &adLat, std::string &adOut, std::string &adr_cor, std::string &side)
std::pair< int, int > find_poles(TimeTexture< float > &, AimsSurfaceTriangle)
void init_texture_single(TimeTexture< float > &)
float compute2D_distance(float lon1, float lon2, float lat1, float lat2)