15#ifndef AIMS_CORTICALREFERENTIAL_H
16#define AIMS_CORTICALREFERENTIAL_H
19#include <aims/mesh/texture.h>
37 std::map<unsigned, std::set< std::pair<unsigned,float> > >
weightLapl;
39 std::vector<std::set<uint> >
neigh;
41 std::vector<Point3df>
vert;
106 std::string & adr_parallele,
107 std::string & adr_meridien,
108 std::string & adr_calleux,
109 std::string & _adr_poles,
116 std::string & adrlat,
117 std::string & adrlon,
118 bool _doInsulaParam =
true ) :
135 std::cout <<
"constructeur" << std::endl;
136 std::cout <<
"mesh adress : " <<
adr << std::endl;
137 std::cout <<
"adr_par : " <<
adr_par << std::endl;
138 std::cout <<
"adr_mer : " <<
adr_mer << std::endl;
139 std::cout <<
"adr_call : " <<
adr_call << std::endl;
140 std::cout <<
"adr_poles : " <<
adr_poles << std::endl;
141 std::cout <<
"_dt : "<<
_dt << std::endl;
142 std::cout <<
"criterium : " <<
criterium << std::endl;
143 std::cout <<
"context : " <<
context << std::endl;
145 std::cout <<
"Beta : " <<
_Beta << std::endl;
148 Reader < AimsSurfaceTriangle > r(
adr);
150 std::cout <<
"reader mesh ok" << std::endl;
154 std::cout <<
"mesh_base ok" << std::endl;
157 std::cout <<
"vert ok!" << std::endl;
162 std::cout <<
"neigh ok" << std::endl;
165 std::cout <<
"weightlaplacian ok" << std::endl;
167 std::cout <<
"size :" <<
size << std::endl;
171 Reader < TimeTexture<float> > lp1 (
adr_call );
174 Reader < TimeTexture<float> > lp2 (
adr_poles );
178 std::cout <<
"Constructeur fini!!" << std::endl;
std::vector< std::set< uint > > neigh
TimeTexture< float > poles
TimeTexture< float > diffusionLongitudeRelax(TimeTexture< float > &tex, TimeTexture< float > &side)
TimeTexture< float > diffusionLatitude(TimeTexture< float > &)
TimeTexture< float > distance_poles
TimeTexture< float > constraint_long_cleaned
void longitudePropagation()
void constraintPreprocess()
TimeTexture< float > diffusionLongitude(TimeTexture< float > &tex, TimeTexture< float > &side, TimeTexture< float > &poleSave, int ind)
std::vector< Point3df > vert
CorticalReferential(std::string &adr_param, std::string &adr_parallele, std::string &adr_meridien, std::string &adr_calleux, std::string &_adr_poles, float criter, float dt, int c, int choice, float Beta, int tBeta, std::string &adrlat, std::string &adrlon, bool _doInsulaParam=true)
AimsSurface< 3, Void > mesh_base
TimeTexture< float > pole_call
std::map< unsigned, std::set< std::pair< unsigned, float > > > weightLapl
bool doInsulaParameterization
TimeTexture< float > constraint_long
TimeTexture< float > diff_meridian_origine
void latitudePropagation()
TimeTexture< float > constraint_lat_cleaned
TimeTexture< float > diffusionLatitudeRelax(TimeTexture< float > &tex)
TimeTexture< float > constraint_lat_read
std::pair< int, int > poles_points
std::vector< unsigned > forb_list
TimeTexture< float > constraint_long_read
TimeTexture< short > cercle_polaire
Texture< float > AimsMeshLaplacian_meridian(const Texture< float > &smooth, TimeTexture< float > &source, const std::map< unsigned, std::set< std::pair< unsigned, float > > > &lapl, TimeTexture< float > &side)
TimeTexture< float > constraint_lat
TimeTexture< float > pole_insula
virtual bool read(T &obj, int border=0, const std::string *format=0, int frame=-1)
static std::vector< std::set< uint > > surfaceNeighbours(const AimsSurface< D, T > &surf)
std::map< unsigned, std::set< std::pair< unsigned, float > > > AimsMeshWeightFiniteElementLaplacian(const AimsSurface< 3, Void > &mesh, const float Wmax)
AIMSDATA_API AimsTimeSurface< 3, Void > AimsSurfaceTriangle