Subversion Repositories gelsvn

Rev

Rev 631 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 631 Rev 642
1
//
1
//
2
//  polarize.h
2
//  polarize.h
3
//  GEL
3
//  GEL
4
//
4
//
5
//  Created by J. Andreas Bærentzen on 18/03/12.
5
//  Created by J. Andreas Bærentzen on 18/03/12.
6
//  Copyright 2012 __MyCompanyName__. All rights reserved.
6
//  Copyright 2012 __MyCompanyName__. All rights reserved.
7
//
7
//
8
 
8
 
9
#include <CGLA/Vec2d.h>
9
#include <CGLA/Vec2d.h>
10
#include <CGLA/Vec3d.h>
10
#include <CGLA/Vec3d.h>
11
#include <HMesh/Manifold.h>
11
#include <HMesh/Manifold.h>
12
#include <HMesh/AttributeVector.h>
12
#include <HMesh/AttributeVector.h>
13
 
13
 
14
#ifndef __POLARIZE_H__
14
#ifndef __POLARIZE_H__
15
#define __POLARIZE_H__
15
#define __POLARIZE_H__
16
 
16
 
17
void polarize_mesh(HMesh::Manifold& m, HMesh::VertexAttributeVector<double>& fun, double vmin, double vmax, const int divisions, HMesh::VertexAttributeVector<CGLA::Vec2d>& parametrization);
17
void polarize_mesh(HMesh::Manifold& m, HMesh::VertexAttributeVector<double>& fun, double vmin, double vmax, const int divisions, HMesh::VertexAttributeVector<CGLA::Vec2d>& parametrization);
18
 
18
 
19
void make_height_fun(const HMesh::Manifold& m, HMesh::VertexAttributeVector<double>& fun, 
19
void make_height_fun(const HMesh::Manifold& m, HMesh::VertexAttributeVector<double>& fun, 
20
                     double& vmin, double &vmax);
20
                     double& vmin, double &vmax);
21
 
21
 
-
 
22
void make_adf_fun(HMesh::Manifold& m, double t, HMesh::VertexAttributeVector<double>& fun,
-
 
23
                  double& vmin, double& vmax);
-
 
24
 
22
#endif
25
#endif
23
 
26