FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
LeafletCreator.hpp
1#ifndef __FIBERIO_LEAFTLET_CREATOR_HPP
2#define __FIBERIO_LEAFTLET_CREATOR_HPP
3
4#include <fiber/field/MemArray.hpp>
5#include <fiber/field/FunctionalCreator.hpp>
6
7#include <eagle/ColorSpace.hpp>
8#include <future>
9
10#include "FiberLeafletDllApi.h"
11
12namespace Fiber
13{
14
19{
20public:
21 using color = Eagle::rgb_t;
23
24 const int x, y, z;
25
26// string base_url = "http://b.tile.openstreetmap.org/",
27// tile_ext = ".png";
28
29 LeaftletCreator(int x, int y, int z);
31
32 const type_info&getType() override
33 {
34 return typeid(color);
35 }
36
37static RefPtr<MemBase> getTile(int x, int y, int z);
38
39static RefPtr<MemBase> readPNG(FILE *fp , const std::string&filename);
40
41 RefPtr<MemBase> compute() const override;
42
43};
44
45
46
47} // namespace Fiber
48
49#endif // __FIBERIO_LEAFTLET_HPP
basic_string< char > string
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
Definition FunctionalCreator.hpp:20
http://b.tile.openstreetmap.org/0/0/0.png
Definition LeafletCreator.hpp:19
const type_info & getType(const std::string &s)
DomainVector< Vector< color8_t, 3 >, RGB > rgb_t
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2