Subversion Repositories gelsvn

Rev

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

Rev 572 Rev 596
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/Vec3d.h>
9
#include <CGLA/Vec3d.h>
10
#include <HMesh/Manifold.h>
10
#include <HMesh/Manifold.h>
11
#include <HMesh/AttributeVector.h>
11
#include <HMesh/AttributeVector.h>
12
 
12
 
13
#ifndef __POLARIZE_H__
13
#ifndef __POLARIZE_H__
14
#define __POLARIZE_H__
14
#define __POLARIZE_H__
15
 
15
 
16
void polarize_mesh(HMesh::Manifold& m, HMesh::VertexAttributeVector<double>& fun, double vmin, double vmax, const int divisions, HMesh::VertexAttributeVector<double>& parametrization);
16
void polarize_mesh(HMesh::Manifold& m, HMesh::VertexAttributeVector<double>& fun, double vmin, double vmax, const int divisions, HMesh::VertexAttributeVector<double>& parametrization);
17
 
17
 
18
void make_height_fun(const HMesh::Manifold& m, HMesh::VertexAttributeVector<double>& fun, 
18
void make_height_fun(const HMesh::Manifold& m, HMesh::VertexAttributeVector<double>& fun, 
19
                     double& vmin, double &vmax);
19
                     double& vmin, double &vmax);
20
 
20
 
21
#endif
21
#endif
22
 
22