Subversion Repositories gelsvn

Rev

Rev 514 | Rev 543 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 514 Rev 518
Line 16... Line 16...
16
{
16
{
17
    class Manifold;
17
    class Manifold;
18
 
18
 
19
    enum WeightScheme {FLOATER_W, HARMONIC_W, BARYCENTRIC_W};
19
    enum WeightScheme {FLOATER_W, HARMONIC_W, BARYCENTRIC_W};
20
 
20
 
21
 
21
 
22
    /** \brief This function flattens a mesh with a simple boundary, based on a weight scheme.It is mostly for showing mesh parametrization methods. 
22
    /** \brief This function flattens a mesh with a simple boundary, based on a weight scheme.It is mostly for showing mesh parametrization methods. 
23
    The current mesh MUST have a SINGLE boundary loop.
23
    The current mesh MUST have a SINGLE boundary loop.
24
    This loop is mapped to the unit circle in a regular fashion (equal angle intervals).
24
    This loop is mapped to the unit circle in a regular fashion (equal angle intervals).
25
    All non boundary vertices are placed at the origin. Then the system is relaxed iteratively using the weight scheme given as argument. */
25
    All non boundary vertices are placed at the origin. Then the system is relaxed iteratively using the weight scheme given as argument. */
26
    void flatten(Manifold& m, WeightScheme ws);
26
    void flatten(Manifold& m, WeightScheme ws);
27
}
27
}
28
 
28
 
29
#endif
29
#endif
30
 
30