OGLplus (0.52.0) a C++ wrapper for OpenGL

worley.hpp
Go to the documentation of this file.
1 
12 #pragma once
13 #ifndef OGLPLUS_IMAGES_WORLEY_1107121519_HPP
14 #define OGLPLUS_IMAGES_WORLEY_1107121519_HPP
15 
16 #include <oglplus/images/image.hpp>
17 #include <functional>
18 
19 namespace oglplus {
20 namespace images {
21 
22 class WorleyCells
23  : public Image
24 {
25 public:
26  WorleyCells(
27  GLsizei cell_w,
28  GLsizei cell_h,
29  GLsizei cell_d,
30  const Image& input
31  );
32 
33  WorleyCells(
34  GLsizei cell_w,
35  GLsizei cell_h,
36  GLsizei cell_d,
37  const Image& input,
38  std::function<GLdouble(const std::vector<GLdouble>&)> calc_val,
39  unsigned order
40  );
41 };
42 
43 } // images
44 } // oglplus
45 
46 #if !OGLPLUS_LINK_LIBRARY || defined(OGLPLUS_IMPLEMENTING_LIBRARY)
47 #include <oglplus/images/worley.ipp>
48 #endif
49 
50 #endif // include guard
Image data wrapper.

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).