MorphoGraphX
2.0-1-227
src
MGXSubdivide.hpp
Go to the documentation of this file.
1
//
2
// This file is part of MorphoGraphX - http://www.MorphoGraphX.org
3
// Copyright (C) 2012-2016 Richard S. Smith and collaborators.
4
//
5
// If you use MorphoGraphX in your work, please cite:
6
// http://dx.doi.org/10.7554/eLife.05864
7
//
8
// MorphoGraphX is free software, and is licensed under under the terms of the
9
// GNU General (GPL) Public License version 2.0, http://www.gnu.org/licenses.
10
//
11
12
#ifndef MGX_SUBDIVIDE_HPP
13
#define MGX_SUBDIVIDE_HPP
14
21
#include <
Subdivide.hpp
>
22
#include <
Mesh.hpp
>
23
24
namespace
mgx
25
{
26
// Class to subdivide MGX data
27
class
mgx_EXPORT
MGXSubdivide
:
virtual
public
Subdivide
28
{
29
public
:
30
MGXSubdivide
(
Mesh
*m) : mesh(m) {}
31
32
protected
:
33
virtual
bool
updateCellData(
cell
c,
cell
cl,
cell
cr);
34
virtual
bool
updateEdgeData(
vertex
l,
vertex
v,
vertex
r,
double
s);
35
36
private
:
37
Mesh
*mesh;
38
};
39
}
40
41
#endif
42
Mesh.hpp
mgx
Distributed matrix library.
Definition:
Assert.hpp:26
Subdivide.hpp
mgx::Mesh
Definition:
Mesh.hpp:54
mgx::MGXSubdivide
Definition:
MGXSubdivide.hpp:27
mgx::MGXSubdivide::MGXSubdivide
MGXSubdivide(Mesh *m)
Definition:
MGXSubdivide.hpp:30
mgx::Subdivide
Definition:
Subdivide.hpp:25
mgx::Vertex
Definition:
Vertex.hpp:58
Generated on Fri Jul 9 2021 18:34:54 for MorphoGraphX by
1.8.17