Subversion Repositories gelsvn

Rev

Rev 572 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
568 jab 1
//
2
//  polarize.h
3
//  GEL
4
//
5
//  Created by J. Andreas Bærentzen on 18/03/12.
6
//  Copyright 2012 __MyCompanyName__. All rights reserved.
7
//
8
 
9
#include <CGLA/Vec3d.h>
10
#include <HMesh/Manifold.h>
11
#include <HMesh/AttributeVector.h>
12
 
13
#ifndef __POLARIZE_H__
14
#define __POLARIZE_H__
15
 
16
void polarize_mesh(HMesh::Manifold& m, HMesh::VertexAttributeVector<float>& fun, float vmin, float vmax, const int divisions);
17
 
18
void make_height_fun(const HMesh::Manifold& m, HMesh::VertexAttributeVector<float>& fun, 
19
                     float& vmin, float &vmax);
20
 
21
#endif