Subversion Repositories gelsvn

Rev

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

Rev 448 Rev 595
Line -... Line 1...
-
 
1
/**
1
#ifndef __HMESH_SUBDIVIDE_H__
2
 * @file subdivision.h
-
 
3
 * @brief Functions for mesh subdivision. Catmull Clark to be precise.
-
 
4
 */
-
 
5
 
-
 
6
/* ----------------------------------------------------------------------- *
-
 
7
 * This file is part of GEL, http://www.imm.dtu.dk/GEL
2
#define __HMESH_SUBDIVIDE_H__
8
 * Copyright (C) the authors and DTU Informatics
-
 
9
 * For license and list of authors, see ../../doc/intro.pdf
-
 
10
 * ----------------------------------------------------------------------- */
3
 
11
 
4
#include "Manifold.h"
12
#ifndef __HMESH_SUBDIVIDE_H__
-
 
13
#define __HMESH_SUBDIVIDE_H__
5
 
14
 
6
namespace HMesh
15
namespace HMesh
7
{
16
{
-
 
17
    class Manifold;
8
		/** Perform a Catmull-Clark split, i.e. a split where each face is divided
18
    /** Perform a Catmull-Clark split, i.e. a split where each face is divided
9
				into new quadrilateral faces formed by connecting a corner with a
19
    into new quadrilateral faces formed by connecting a corner with a
10
				point on each incident edge and a point at the centre of the face. */
20
    point on each incident edge and a point at the centre of the face. */
11
		void cc_split(Manifold&, Manifold&);
21
    void cc_split(Manifold&, Manifold&);
-
 
22
    
-
 
23
    void cc_smooth(Manifold&);
12
}
24
}
13
 
25
 
14
#endif
26
#endif
15
 
27