source: src/Filling/Mesh/MeshAdaptor.hpp@ 1ae9aa

Last change on this file since 1ae9aa was f4cfb6, checked in by Frederik Heber <heber@…>, 14 years ago

Mesh adaptor to reuse sphere-shape for new filler action.

  • Property mode set to 100644
File size: 495 bytes
Line 
1/*
2 * MeshAdaptor.hpp
3 *
4 * Created on: Mar 29, 2012
5 * Author: heber
6 */
7
8#ifndef MESHADAPTOR_HPP_
9#define MESHADAPTOR_HPP_
10
11
12// include config.h
13#ifdef HAVE_CONFIG_H
14#include <config.h>
15#endif
16
17#include <boost/function.hpp>
18
19#include "Filling/NodeTypes.hpp"
20
21class MeshAdaptor : public Mesh
22{
23public:
24 typedef boost::function<const NodeSet ()> function_t;
25
26 MeshAdaptor(function_t &_func)
27 {
28 nodes = _func();
29 }
30 virtual ~MeshAdaptor()
31 {}
32};
33
34
35#endif /* MESHADAPTOR_HPP_ */
Note: See TracBrowser for help on using the repository browser.